<?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>zephyr nrf5340dk Unable to set external PINs, e.g. GPIO P0.00 as GPIO OUT pin</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92953/zephyr-nrf5340dk-unable-to-set-external-pins-e-g-gpio-p0-00-as-gpio-out-pin</link><description>When PIN=0 P0.00 is used it doesn&amp;#39;t work (No error message or failing, i also tried several other ports), no toggling output. The code works with PIN=28 (P0.28=LED1), led is blinking. If i try it with the PIN=0 P0.00 it doesn&amp;#39;t (No error message, i also</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Oct 2022 10:56:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92953/zephyr-nrf5340dk-unable-to-set-external-pins-e-g-gpio-p0-00-as-gpio-out-pin" /><item><title>RE: zephyr nrf5340dk Unable to set external PINs, e.g. GPIO P0.00 as GPIO OUT pin</title><link>https://devzone.nordicsemi.com/thread/391165?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 10:56:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1036c2c0-144f-4725-a548-aeb693ce2d53</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;No problem.&amp;nbsp; P0.10 is actually not available by default either as it is connected to the &lt;span&gt;&lt;a title="NFC antenna interface" href="https://infocenter.nordicsemi.com/topic/ug_nrf5340_dk/UG/dk/hw_nfc_if.html?cp=3_0_4_3_10"&gt;NFC antenna &lt;/a&gt;&lt;/span&gt;&lt;span&gt;by default (please also refer to the NFC &lt;a title="Pin configuration" href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/nfc.html?cp=3_0_0_6_19_2#pin_config"&gt;Pin configuration&lt;/a&gt; section of the PS for limitations that applies to these pins). The quickest way to get an overview of the pin assignments for the DK is to have a look at the silkscreen. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr nrf5340dk Unable to set external PINs, e.g. GPIO P0.00 as GPIO OUT pin</title><link>https://devzone.nordicsemi.com/thread/391153?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 10:29:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f528aaee-c0e0-43bf-ab7f-0d490d34d8ca</guid><dc:creator>walkingcode</dc:creator><description>&lt;p&gt;It works. Many, many thanks for your fast and helpful response.&lt;/p&gt;
&lt;p&gt;I wasn&amp;#39;t forced to use P0.00, i could use any, so now i use P0.10. Are there any general recommendations which custom GPIO should be used ? I also tried to configure the pin with the gpio_pin_configure_dt function, but i didn&amp;#39;t get it. How can e.g. the P0.10 be configured via device tree ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr nrf5340dk Unable to set external PINs, e.g. GPIO P0.00 as GPIO OUT pin</title><link>https://devzone.nordicsemi.com/thread/391133?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 09:17:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69b06e45-152e-45cd-a192-b2e86800fe10</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If you look at the silkscreen on the backside, you can see that P0.00 and P0.01 are connected to the 32 KHz by default. Have you cut and shorted the solder bridges described here:&amp;nbsp;&lt;span&gt;&lt;a title="32.768 kHz crystal" href="https://infocenter.nordicsemi.com/topic/ug_nrf5340_dk/UG/dk/hw_32khz_crystal.html?cp=3_0_4_3_7"&gt;32.768 kHz crystal&lt;/a&gt;&lt;/span&gt;. You will also need to select the internal RC oscillator as the 32KHz clock source if you are going to use these pins as GPIOs.&lt;/p&gt;
&lt;p&gt;Kconfig symbol to select the internal RC oscillator: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC&lt;/a&gt;&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></channel></rss>