<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Reconfigure GPIO in runtime</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121335/reconfigure-gpio-in-runtime</link><description>Hi, 
 We have some GPIO pins where we want to change their configuration during runtime. We want to switch them between input pull down and output. Is this possible? 
 When we try it we get no errors, except that we can get no load on the output pins</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 May 2025 12:58:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121335/reconfigure-gpio-in-runtime" /><item><title>RE: Reconfigure GPIO in runtime</title><link>https://devzone.nordicsemi.com/thread/534667?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 12:58:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36804382-4593-4cb9-b3df-5ad0c9af15ba</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi Olof&lt;/p&gt;
&lt;p&gt;You are using NCS/zephyr right?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Currently there is no elegant solution for doing this, there is a PR in progress in upstream Zephyr but I don&amp;#39;t expect that we will see it before august at earliest.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I do however suspect you can take a look at what a co-worker did in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/107317/configuring-uart1-using-pinctrl-for-two-uarts/463996"&gt;case &lt;/a&gt;where he did some changes to pins in runtime.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>