<?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>NRF52810 Unable to get GPIO output on P0.15.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65952/nrf52810-unable-to-get-gpio-output-on-p0-15</link><description>Part - NRF52810-QFAA-R7 Hi, I&amp;#39;ve tried two chips, reflowed and checked under microscope. I have a connection to the track the pin connects to. Errata is applied via SystemInit(); Straight after this the pin is set high. It has a 470k pull down resistor</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Sep 2020 15:09:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65952/nrf52810-unable-to-get-gpio-output-on-p0-15" /><item><title>RE: NRF52810 Unable to get GPIO output on P0.15.</title><link>https://devzone.nordicsemi.com/thread/270658?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 15:09:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d2146f1-19bd-420b-b7f6-26b875a64609</guid><dc:creator>snoopy20</dc:creator><description>&lt;p&gt;I&amp;#39;ve threw everything at it. I&amp;#39;m 100% sure the pin has reflow soldered correctly and I have a trace on the line which suggests it&amp;#39;s driven low. I&amp;#39;m not using any of the SDK functionality so the only pin management code I have is -&lt;br /&gt;&lt;br /&gt;#define CFG_PIN_SHUTDOWN_AWAKE 15&lt;br /&gt;#define pinDisconnectInputBuffer GPIO_PIN_CNF_INPUT_Disconnect &amp;lt;&amp;lt; GPIO_PIN_CNF_INPUT_Pos&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;NRF_GPIO-&amp;gt;PIN_CNF[CFG_PIN_SHUTDOWN_AWAKE] = pinDisconnectInputBuffer | (GPIO_PIN_CNF_DIR_Output &amp;lt;&amp;lt; GPIO_PIN_CNF_DIR_Pos);&lt;br /&gt;NRF_GPIO-&amp;gt;OUTSET = 1 &amp;lt;&amp;lt; CFG_PIN_SHUTDOWN_AWAKE;&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve also tried swapping the chip.&lt;br /&gt;&lt;br /&gt;The only thing I can think off is it&amp;#39;s used by default or by debugging by default in some way.&lt;br /&gt;&lt;br /&gt;Preprocessor defs are&lt;br /&gt;&lt;br /&gt;NRF_LOG_ENABLED=1&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;DEBUG&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;DEBUG_NRF&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;INITIALIZE_USER_SECTIONS&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;FLOAT_ABI_SOFT&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;NO_VTOR_CONFIG&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;NRF52810_XXAA&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;NRF_SD_BLE_API_VERSION=7&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;S112&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;SOFTDEVICE_PRESENT&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;APP_TIMER_V2&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;APP_TIMER_V2_RTC1_ENABLED&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;FLASH_APPSETTINGS_START=0x00027000&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;FLASH_APPSETTINGS_END=0x00028000&lt;/p&gt;
&lt;p style="margin:0px;text-indent:0px;"&gt;FLASH_BOOTLOADERSETTINGS_START=0x0002F000&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 Unable to get GPIO output on P0.15.</title><link>https://devzone.nordicsemi.com/thread/269953?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 22:28:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bfb7750-1015-4777-ada5-6cca1698018e</guid><dc:creator>snoopy20</dc:creator><description>&lt;p&gt;I&amp;#39;m not using the SDK and I use the same approach as yourself, plus it works for other pins. It&amp;#39;s a strange one, but I&amp;#39;ve reflowed a second chip with the same outcome. It&amp;#39;s as if there&amp;#39;s a peripheral using it by default, something that I haven&amp;#39;t specifically set. I will remove the chip tomorrow and inspect the board pin, it&amp;#39;s all I can think off.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 Unable to get GPIO output on P0.15.</title><link>https://devzone.nordicsemi.com/thread/269879?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 12:53:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93529bac-8305-4c08-a7f5-8fbaf73c6343</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Andrew,&lt;/p&gt;
&lt;p&gt;What are the parameters:&lt;/p&gt;
&lt;p&gt;CFG_PIN_SHUTDOWN_AWAKE, pinDisconnectInputBuffer?&lt;/p&gt;
&lt;p&gt;Does your implementation work on other pins? Or is it only pin 15 it doesn&amp;#39;t work on?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What errata do you refer to?&lt;/p&gt;
&lt;p&gt;Are you sure the pin isn&amp;#39;t used by anything else? It is by default the pin for button 3. Do you call&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have a project that I use to test small things like these. This worked for me:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;custom_pin_test()
{
    NRF_GPIO-&amp;gt;PIN_CNF[15] = (GPIO_PIN_CNF_DIR_Output &amp;lt;&amp;lt; GPIO_PIN_CNF_DIR_Pos);
    NRF_GPIO-&amp;gt;PIN_CNF[17] = (GPIO_PIN_CNF_DIR_Output &amp;lt;&amp;lt; GPIO_PIN_CNF_DIR_Pos);
    NRF_GPIO-&amp;gt;OUTSET = (1 &amp;lt;&amp;lt; 15) | (1 &amp;lt;&amp;lt; 17);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you want to test this in an application, you can test this main.c file in the ble_app_uart example from SDK17.0.0:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e21c989a933f43bc969f71d0c907a0e9/main.c"&gt;devzone.nordicsemi.com/.../main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;NB: If you want to run examples from the SDK on an actual nRF52811, please remember to remove the preprocessor definition:&amp;nbsp;DEVELOP_IN_NRF52832&lt;/p&gt;
&lt;p&gt;The example file will toggle the pins 17 and 15 every 1s. It is done in the callback:&amp;nbsp;my_timeout_handler() near the top of the main.c file.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also note that I commented out&amp;nbsp;buttons_leds_init() in main(), because these will use the pins for the LEDs and buttons by default. If this is not commented out, none of the pins will work as intended.&lt;/p&gt;
&lt;p&gt;&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></channel></rss>