<?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>Configuring PIN 0.00 and P0.01 as GPIO on NRF5340 with nrf connect sdk v3.0.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122247/configuring-pin-0-00-and-p0-01-as-gpio-on-nrf5340-with-nrf-connect-sdk-v3-0-2</link><description>Hello, 
 We upgraded our project to nrf connect sdk v3.0.2 from v2.9.0 and can no longer use pin 0.00 and pin 0.01 as gpio. The problem seems to be in the nrf53 soc.c file. In v2.9.0 I could just disable LFXO using CONFIG_SOC_ENABLE_LFXO =n and then use</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Jul 2025 10:08:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122247/configuring-pin-0-00-and-p0-01-as-gpio-on-nrf5340-with-nrf-connect-sdk-v3-0-2" /><item><title>RE: Configuring PIN 0.00 and P0.01 as GPIO on NRF5340 with nrf connect sdk v3.0.2</title><link>https://devzone.nordicsemi.com/thread/543591?ContentTypeID=1</link><pubDate>Fri, 25 Jul 2025 10:08:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:554041e3-44aa-48f6-a2a4-a3819e680c57</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Update:&amp;nbsp;turns out there&amp;#39;s already an open PR in upstream Zephyr that attempts to address the issue:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/92664"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/92664&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring PIN 0.00 and P0.01 as GPIO on NRF5340 with nrf connect sdk v3.0.2</title><link>https://devzone.nordicsemi.com/thread/543387?ContentTypeID=1</link><pubDate>Wed, 23 Jul 2025 15:38:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f462890-88f3-4561-b4ff-828071c65571</guid><dc:creator>byte</dc:creator><description>&lt;p&gt;Vidar,&lt;/p&gt;
&lt;p&gt;Currently we are patching the SDK until we&amp;nbsp;find a solution. Thanks for the update.&lt;/p&gt;
&lt;p&gt;Rob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring PIN 0.00 and P0.01 as GPIO on NRF5340 with nrf connect sdk v3.0.2</title><link>https://devzone.nordicsemi.com/thread/543384?ContentTypeID=1</link><pubDate>Wed, 23 Jul 2025 15:03:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fbba2a0-6af7-4f0d-bd6e-23df75a60d51</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello Rob,&lt;/p&gt;
&lt;p&gt;Both&amp;nbsp;Edvin&amp;nbsp;and Håkon are currently out of the office, so I haven’t had a chance to discuss the case with them yet.&amp;nbsp;But I was able to replicate the same problem as you. And like you, I don’t see any way to prevent LFXO_CAP from being defined by making changes to Kconfig or the devicetree. I see Håkon already created a bug report in our internal bug tracker about this issue. I will add to this report that just deleting the&amp;nbsp;lfxo node may not be sufficient.&lt;/p&gt;
&lt;p&gt;Are you able to work around this issue for now by patching the SDK file(s) or by calling nrf_gpio_pin_control_select() again from the app?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring PIN 0.00 and P0.01 as GPIO on NRF5340 with nrf connect sdk v3.0.2</title><link>https://devzone.nordicsemi.com/thread/542143?ContentTypeID=1</link><pubDate>Thu, 10 Jul 2025 16:15:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:697e6c5f-f13b-4711-9af6-da39c91e30ef</guid><dc:creator>byte</dc:creator><description>&lt;p&gt;Edvin,&lt;/p&gt;
&lt;p&gt;Our app targets a modified board but here is a hello world app that you can see has the same issue. Look at the third page of the BuildSettings.pdf that I included. You will see that when you break in main the first two gpios are set to Peripheral mode instead of AppMCU even with the changes suggested above. If you can show me how to modify this hello world app make them usable then I should be able to&amp;nbsp;make the same mod to&amp;nbsp;our app.&lt;/p&gt;
&lt;p&gt;Thanks, Rob&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6888.hello.zip"&gt;devzone.nordicsemi.com/.../6888.hello.zip&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring PIN 0.00 and P0.01 as GPIO on NRF5340 with nrf connect sdk v3.0.2</title><link>https://devzone.nordicsemi.com/thread/540937?ContentTypeID=1</link><pubDate>Mon, 30 Jun 2025 21:31:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25041c3b-1a3e-4852-bc68-227d069c7ff7</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Rob,&lt;/p&gt;
&lt;p&gt;Can you please upload the current application you are using (zip the application folder and drag and drop it here). Then I can see what you have done, and see if I can replicate your issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring PIN 0.00 and P0.01 as GPIO on NRF5340 with nrf connect sdk v3.0.2</title><link>https://devzone.nordicsemi.com/thread/540511?ContentTypeID=1</link><pubDate>Wed, 25 Jun 2025 15:50:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ff2f876-65a9-4e53-bab4-40ebf26a46d6</guid><dc:creator>byte</dc:creator><description>&lt;p&gt;&lt;span&gt;H&amp;aring;kon&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the reply,&lt;/p&gt;
&lt;p&gt;Sorry, I don&amp;#39;t understand your suggestion. I am missing something. Even if I delete the lfxo node from the dts, the #else part (&lt;span&gt;/* LFXO config from legacy Kconfig */&lt;/span&gt;) in the code referenced in soc.c&amp;nbsp;has no compile path that doesn&amp;#39;t end up setting&amp;nbsp;&lt;span&gt;LFXO_CAP.&lt;/span&gt;&lt;span&gt;&amp;nbsp;So, no matter what I do with CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC I end up with the code that sets the pins to peripheral. Thanks so much for the help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rob&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring PIN 0.00 and P0.01 as GPIO on NRF5340 with nrf connect sdk v3.0.2</title><link>https://devzone.nordicsemi.com/thread/539360?ContentTypeID=1</link><pubDate>Mon, 16 Jun 2025 10:48:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ea089a4-20d5-4aa7-a366-5498535d8f4d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]We upgraded our project to nrf connect sdk v3.0.2 from v2.9.0 and can no longer use pin 0.00 and pin 0.01 as gpio. [/quote]
&lt;p&gt;Recently, the configuration of the external LFXO load caps has been moved to DTS.&lt;/p&gt;
&lt;p&gt;This requires you then to remove the lfxo node:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/delete-node/ &amp;amp;lfxo;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And this is required to configure it to the internal 32k RC oscillator:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Could you try this and see if this now works on your side?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is an unfortunate mix of kconfig and device tree here, which I do acknowledge and will bring up internally.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>