<?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>Why can&amp;#39;t my application control the p1.00 and p1.01 pins of 5340?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126706/why-can-t-my-application-control-the-p1-00-and-p1-01-pins-of-5340</link><description>I am developing a project using nRF5340 to drive some peripherals. During debugging, I found that no matter how I executed the pull-up/pull-down commands, the p1.00 and p1.01 pins remained uncontrollable and always stayed in a high-level state. Why is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Feb 2026 07:23:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126706/why-can-t-my-application-control-the-p1-00-and-p1-01-pins-of-5340" /><item><title>RE: Why can't my application control the p1.00 and p1.01 pins of 5340?</title><link>https://devzone.nordicsemi.com/thread/561909?ContentTypeID=1</link><pubDate>Tue, 24 Feb 2026 07:23:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63dfea9c-1a3d-44b5-8a8e-cbe93c8730ff</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;After adding these two statements to my conf file, the problem was resolved. Thank you for your help!&lt;br /&gt;CONFIG_TFM_LOG_LEVEL_SILENCE=y&lt;br /&gt;CONFIG_TFM_SECURE_UART=n&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't my application control the p1.00 and p1.01 pins of 5340?</title><link>https://devzone.nordicsemi.com/thread/561899?ContentTypeID=1</link><pubDate>Tue, 24 Feb 2026 03:19:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c792d751-9a65-44b2-821b-0b0f59c3006f</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your reply. I have modified the code you provided earlier according to your instructions. The application can run on my development board, and I can see that LED1 is flashing, but LED2 does not respond at all, as shown in the attached video file.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/e43f32ed4f36313c68ed2d192b73ce96.mp4"&gt;devzone.nordicsemi.com/.../e43f32ed4f36313c68ed2d192b73ce96.mp4&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't my application control the p1.00 and p1.01 pins of 5340?</title><link>https://devzone.nordicsemi.com/thread/561135?ContentTypeID=1</link><pubDate>Fri, 13 Feb 2026 14:56:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e3c60f9-528c-4766-86c7-f0ee9fcbd0c7</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Try taking the app that I sent in the previous reply, and add this to prj.conf:&lt;/p&gt;
&lt;p&gt;CONFIG_TFM_LOG_LEVEL_SILENCE=y&lt;br /&gt;CONFIG_TFM_SECURE_UART=n&lt;/p&gt;
&lt;p&gt;Then copy boards\nrf5340dk_nrf5340_cpuapp.overlay, and paste it as boards\nrf5340dk_nrf5340_cpuapp_ns.overlay&lt;/p&gt;
&lt;p&gt;And build for nRF5340dk/nrf5340/cpuapp/ns, and see if that works.&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: Why can't my application control the p1.00 and p1.01 pins of 5340?</title><link>https://devzone.nordicsemi.com/thread/559843?ContentTypeID=1</link><pubDate>Thu, 29 Jan 2026 01:45:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c254ca74-5aec-4ff6-a63e-e6ae07ecd6ea</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;Sorry, I made a mistake earlier and wrote it as ncs2.3.0, but it&amp;#39;s actually ncs2.7.0. I added `/delete-node/ &amp;amp;gpio_fwd;` in my overlay file, but it didn&amp;#39;t work, even though it&amp;#39;s no longer found in the compiled zephyr.dts file. I confirm that my project has no other sub-images, which can be verified from the build folder.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/QQ_5F00_1769651290661.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8524.zephyr.dts"&gt;devzone.nordicsemi.com/.../8524.zephyr.dts&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't my application control the p1.00 and p1.01 pins of 5340?</title><link>https://devzone.nordicsemi.com/thread/559792?ContentTypeID=1</link><pubDate>Wed, 28 Jan 2026 14:07:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93eb5a5b-d0d4-488d-a5bc-f9f44ce5bb35</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I am struggling to understand your application, but I was able to build it using v2.7.0 (see that you edited it, but it said v2.3.0 before).&lt;/p&gt;
&lt;p&gt;The pins are set as inputs, even if I completely remove the lines that you highlighted, so they are set from somewhere else.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I modified the peripheral_uart sample to toggle these GPIOs:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/peripheral_5F00_uart_5F00_53.zip"&gt;devzone.nordicsemi.com/.../peripheral_5F00_uart_5F00_53.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;They are toggled from main.c:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	for (;;) {
		dk_set_led(RUN_STATUS_LED0, (++blink_status) % 2);
		dk_set_led(RUN_STATUS_LED1, (blink_status) % 2);
		dk_set_led(RUN_STATUS_LED2, (blink_status) % 2);
		k_sleep(K_MSEC(RUN_LED_BLINK_INTERVAL));
	}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And I changed the Led 1 and 2 to P1.00 and P1.01 in boards\nrf5340dk_nrf5340_cpuapp.overlay.&lt;/p&gt;
&lt;p&gt;I also added the line:&lt;/p&gt;
&lt;p&gt;/delete-node/ &amp;amp;gpio_fwd;&lt;/p&gt;
&lt;p&gt;in that file.&lt;/p&gt;
&lt;p&gt;Please note that if you have any sub-images (because I don&amp;#39;t think you are using sysbuild?) such as mcuboot or an immutable bootloader, that also runs on the app core, you need to disable the gpio_fwd in their respective board files as well.&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: Why can't my application control the p1.00 and p1.01 pins of 5340?</title><link>https://devzone.nordicsemi.com/thread/559659?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2026 10:06:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8742e1f-a869-4d38-82cc-3856aace2c9b</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;OK,&amp;nbsp;I have uploaded the entire application, and you can track the status of pins p1.00 and p1.01 step by step according to my screenshot.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By the way, I am using the version ncs2.7.0.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5340_5F00_NCS2.7.0_5F00_TEST.rar"&gt;devzone.nordicsemi.com/.../5340_5F00_NCS2.7.0_5F00_TEST.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/QQ_5F00_1769508176381.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't my application control the p1.00 and p1.01 pins of 5340?</title><link>https://devzone.nordicsemi.com/thread/559652?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2026 09:48:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a230fd9-5cb4-42fb-9b71-078f94a59340</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Can you please upload the full application (or at least an application that can reproduce the issue), so that I can try to reproduce it locally?&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: Why can't my application control the p1.00 and p1.01 pins of 5340?</title><link>https://devzone.nordicsemi.com/thread/559638?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2026 08:53:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dd6dec8-0174-43d5-9a43-96894ff776bd</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;Yes, i test it on the DK board,&amp;nbsp;However, I have already set up to output log information from the SWD interface via Rtt.&amp;nbsp;Moreover, on our client&amp;#39;s board, these two pins are also uncontrollable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't my application control the p1.00 and p1.01 pins of 5340?</title><link>https://devzone.nordicsemi.com/thread/559635?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2026 08:41:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5ce612f-8421-4f74-8d82-48463d7c7dd0</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Are you testing this on an nRF5340 DK? If so, the pins are connected to the debugger. Flash the application, power cycle the DK, and make sure not to start a debug session (By opening an UART or RTT terminal, which will activate the debugger, which will control the UART pins).&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't my application control the p1.00 and p1.01 pins of 5340?</title><link>https://devzone.nordicsemi.com/thread/559626?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2026 07:43:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16857b20-abb2-4833-918d-a2047fe17073</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;No，I can confirm that gpio_audio points to gpio1, WTN_DATA is defined as pin 1, and WTN_BUSY is defined as 0, which means these two pins are p1.00 and p1.01 respectively.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't my application control the p1.00 and p1.01 pins of 5340?</title><link>https://devzone.nordicsemi.com/thread/559622?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2026 07:14:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24333dcc-161c-4167-953a-21184cce599b</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;PIN_CNF says: DIR Input. No pullup or pulldown enabled. That also means the output drivers are disabled.&lt;/p&gt;
&lt;p&gt;The code looks funny, check what device &lt;code&gt;gpio_audio &lt;/code&gt;actually points to. Might be the wrong GPIO or a totally wrong device altogether.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't my application control the p1.00 and p1.01 pins of 5340?</title><link>https://devzone.nordicsemi.com/thread/559613?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2026 01:29:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c930466d-f556-4c8e-9707-64c0d024cc1a</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Thanks for your help.&amp;nbsp;I added the statement you mentioned, but it didn&amp;#39;t work. p1.00 and p1.01 still cannot be pulled up or down. Here is the relevant screenshot.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/QQ_5F00_1769477032370.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/c3bcd714_2D00_d47c_2D00_4762_2D00_ac80_2D00_a18c39f99093.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't my application control the p1.00 and p1.01 pins of 5340?</title><link>https://devzone.nordicsemi.com/thread/559555?ContentTypeID=1</link><pubDate>Mon, 26 Jan 2026 11:28:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e55d64e1-f12f-4a8e-88b2-1a96ca1ee6f3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Try adding this to your nrf5340dk_nrf5340_cpuapp_ns.overlay:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/delete-node/ &amp;amp;gpio_fwd;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have your application to test, but after you do, if it doesn&amp;#39;t work as intended, can you please try to run a debug session, and view the GPIO1 registers, particularly the PIN_CNF[0] and [1]. The first bit should be 0 (unlike it is in this screenshot) if the pins are controlled by the application core:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1769426850319v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The MCUSEL field should say &amp;quot;AppMCU&amp;quot; if the pin_fwd is successfully disabled.&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></channel></rss>