<?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>Changes any Peripheral pins configuration at runtime (after build and flash firmware)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103646/changes-any-peripheral-pins-configuration-at-runtime-after-build-and-flash-firmware</link><description>Hi , I have gone through https://docs.zephyrproject.org/latest/hardware/pinctrl/index.html#pin-control doc and zephyr\samples\boards\nrf\dynamic_pinctrl sample code . 
 zephyr provides support of dynamic pinctrl at build time with define alternatives</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Sep 2023 07:19:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103646/changes-any-peripheral-pins-configuration-at-runtime-after-build-and-flash-firmware" /><item><title>RE: Changes any Peripheral pins configuration at runtime (after build and flash firmware)</title><link>https://devzone.nordicsemi.com/thread/446183?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2023 07:19:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f61e222-907f-41c3-8fb7-7e54113818ed</guid><dc:creator>Siddharth Kachhia</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your response. I will look into nrfx driver.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changes any Peripheral pins configuration at runtime (after build and flash firmware)</title><link>https://devzone.nordicsemi.com/thread/445884?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2023 14:35:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c496246-c9c1-411c-9804-edca1ccd4226</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Siddarth,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/support-private/support/289929#permalink=765272"&gt;This previous response by a coworker of mine&lt;/a&gt; summarizes it nicely.&lt;/p&gt;
&lt;p&gt;This is in fact possible, and the dynamic pinctrl sample you have there shows how its done. The problem is that you can&amp;#39;t uninitialize a device while running, so you&amp;#39;ll have to reboot for the changes to take effect (which also the sample shows how could be done). If this doesn&amp;#39;t work for you, you would have to use nrfx drivers.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/support-private/support/289929#permalink=765272"&gt;&lt;/a&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changes any Peripheral pins configuration at runtime (after build and flash firmware)</title><link>https://devzone.nordicsemi.com/thread/445679?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2023 14:43:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55d6da6e-fdaf-4a63-8c99-7e698ad76378</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Siddarth,&lt;/p&gt;
&lt;p&gt;I believe the answer is no, but I will double check and get back to you on that tomorrow.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>