<?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>NRF5340DK unable to control few GPIOs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123765/nrf5340dk-unable-to-control-few-gpios</link><description>Hi we are developing a prototype with NRF5340DK, for which we needed to control few set of GPIOs. we wrote our code in the assumption that it&amp;#39;s pretty straight forward and found that the GPIOs are not toggling. So we made a firmware just to toggle the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Aug 2025 11:22:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123765/nrf5340dk-unable-to-control-few-gpios" /><item><title>RE: NRF5340DK unable to control few GPIOs</title><link>https://devzone.nordicsemi.com/thread/547184?ContentTypeID=1</link><pubDate>Fri, 29 Aug 2025 11:22:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48b9d774-9e48-4f71-924f-805218f789ea</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Yes.&amp;nbsp;&lt;span&gt;Overlays you add to your application take precedence and can overwrite the board’s default pin settings, provided they are applied later in the overlay resolution order.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You can read the following devacademy link&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-2-reading-buttons-and-controlling-leds/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-2-reading-buttons-and-controlling-leds/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;to learn how devicetree works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340DK unable to control few GPIOs</title><link>https://devzone.nordicsemi.com/thread/545962?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 17:26:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a21b4d8-553e-4486-b804-7b8e08428990</guid><dc:creator>Surya Thanush</dc:creator><description>&lt;p&gt;Hi Turbo,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;thanks for the suggestion.&lt;br /&gt;&lt;br /&gt;i&amp;#39;m new to NRF SDK, so asking this,&lt;/p&gt;
&lt;p&gt;will creating a new/extra overlay for the project overwrite the default pin configurations present in NRF5340DK default Overlay ?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340DK unable to control few GPIOs</title><link>https://devzone.nordicsemi.com/thread/545958?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 17:14:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ba47e35-4e01-4b77-956f-6a1a88ba8de2</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;You make a device tree overlay file for your project. There you can change how peripherials and pins are assigned.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340DK unable to control few GPIOs</title><link>https://devzone.nordicsemi.com/thread/545956?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 16:50:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c09ac59-97f6-42a8-a652-28fe94b8fd01</guid><dc:creator>Surya Thanush</dc:creator><description>&lt;p&gt;Hi Kazi Afroza sultana,&lt;br /&gt;&lt;br /&gt;thanks for clarifying,&lt;br /&gt;&lt;br /&gt;so as per the NRF5340DK schematics, the following pins are use as below,&lt;br /&gt;&lt;span&gt;P0.28 : on board LED&lt;/span&gt;&lt;br /&gt;&lt;span&gt;P0.22 :&amp;nbsp;UART_2_RxD&lt;/span&gt;&lt;br /&gt;&lt;span&gt;P0.18 : Ext. Memory CS&lt;/span&gt;&lt;br /&gt;&lt;span&gt;P0.14 : Ext. Memory&amp;nbsp;SIO_1/SO&lt;/span&gt;&lt;br /&gt;&lt;span&gt;P0.13 : Ext. Memory&amp;nbsp;SIO_0/SI&lt;/span&gt;&lt;br /&gt;&lt;span&gt;P0.15 : Ext. Memory&amp;nbsp;SIO_2/WP&lt;/span&gt;&lt;br /&gt;&lt;span&gt;P0.16 : Ext. Memory&amp;nbsp;SIO_3/HOLD&lt;/span&gt;&lt;br /&gt;&lt;span&gt;P0.17 : Ext. Memory&amp;nbsp;SCLK&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;so, makes sense that P0.28 is only working/Toggling as expected because other pins defined are used for other purposes.&lt;br /&gt;&lt;br /&gt;So we would like to know the below,&lt;br /&gt;&lt;strong&gt;How to disable them from the default options and make them available for GPIO actions ?&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;br /&gt;Surya Thanush&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340DK unable to control few GPIOs</title><link>https://devzone.nordicsemi.com/thread/545854?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 05:34:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6139899-eb8a-48b0-a616-e15b5b41dc6f</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello Surya,&lt;/p&gt;
&lt;p&gt;The reasons of seeing &amp;#39;&amp;#39;&lt;strong&gt;only P0.28 is toggling as expected&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;P0.22 is always high and all other Pins are just low all the time&amp;#39;&amp;#39; &lt;/strong&gt;is related to the pins you assigned. P0.15, P0.16, P0.17 are used as external flash.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>