<?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>52832 weird Reset pin behaviour</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97351/52832-weird-reset-pin-behaviour</link><description>I have a project which started life as ble_app_uart as a template which I&amp;#39;ve developed on the nRF52DK and is working fine. Now I am transferring it to my custom PCB. 
 When I first built upthe PCB nothing wold run, which looks like was because of the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Mar 2023 16:46:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97351/52832-weird-reset-pin-behaviour" /><item><title>RE: 52832 weird Reset pin behaviour</title><link>https://devzone.nordicsemi.com/thread/413939?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 16:46:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb6f4909-40dd-40b6-bb1a-3d896b0f88e9</guid><dc:creator>Nick_RA</dc:creator><description>&lt;p&gt;Thanks that was the problem... erasing the entire flash sorted it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 weird Reset pin behaviour</title><link>https://devzone.nordicsemi.com/thread/413874?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 14:07:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba82c81b-054d-4d5c-a0ba-ea94702ba759</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user=""]2. I&amp;#39;ve now removed CONFIG_GPIO_AS_PINRESET from the project preprocessor directives, now the project starts. BUT - I notice that the button still resets??? Is this correct, if so how do I disable reset on the pin?[/quote]
&lt;p&gt;Are you sure that you removed&amp;nbsp;&lt;span&gt;CONFIG_GPIO_AS_PINRESET&amp;nbsp;and erased the whole chip before reprogramming it? it is important that you erase the whole flash including the UICR registers (nrfjprog -e&amp;nbsp; &amp;nbsp;or&amp;nbsp; &amp;nbsp;nrfjprog --recover).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For me it seems like you are reprogramming using --sectorerase which keeps the UICR value as is.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 weird Reset pin behaviour</title><link>https://devzone.nordicsemi.com/thread/413505?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2023 12:04:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fbc27f1-843e-4450-af36-a41f082fd0f5</guid><dc:creator>Nick_RA</dc:creator><description>&lt;p&gt;Hi Thanks for the reply. I don&amp;#39;t actually want to use any external reset pin. From the article I linked to above:&lt;/p&gt;
&lt;p&gt;&amp;quot;If you dont want to use reset, just leave this pin floating - &lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;as long as you don&amp;#39;t explicitly enable reset pin, it won&amp;#39;t work&lt;/span&gt;&lt;/strong&gt;. If you want to use it, don&amp;#39;t leave it floating - use external pull-up.&amp;quot;&lt;/p&gt;
&lt;p&gt;Below are the preprocessor deinitions, so NRF52832_XXAA (pin 21) is currently defined. I would like to leave the pin floating, but I&amp;#39;m concerned that it is still an active reset. I don&amp;#39;t want the pin active, or piulled up, as this is a power-sensitive application.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;APP_TIMER_V2
APP_TIMER_V2_RTC1_ENABLED
FLOAT_ABI_HARD
INITIALIZE_USER_SECTIONS
NO_VTOR_CONFIG
NRF52
NRF52832_XXAA
NRF52_PAN_74
NRF_SD_BLE_API_VERSION=7
S112
SOFTDEVICE_PRESENT
MBEDTLS_CONFIG_FILE=&amp;quot;nrf_crypto_mbedtls_config.h&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 weird Reset pin behaviour</title><link>https://devzone.nordicsemi.com/thread/413496?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2023 11:45:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:daf9d2a9-9071-4e24-9ca8-538b8bb86911</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user=""]2. I&amp;#39;ve now removed CONFIG_GPIO_AS_PINRESET from the project preprocessor directives, now the project starts. BUT - I notice that the button still resets??? Is this correct, if so how do I disable reset on the pin?[/quote]
&lt;p&gt;Which pin number are you using as reset on your custom board? We have this in our system_nrf52.c is as below&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#if    defined (DEVELOP_IN_NRF52805) \
    || defined (DEVELOP_IN_NRF52810) \
    || defined (DEVELOP_IN_NRF52811) \
    || defined (DEVELOP_IN_NRF52832)
    #define RESET_PIN 21
#elif  defined (DEVELOP_IN_NRF52820) \
    || defined (DEVELOP_IN_NRF52833) \
    || defined (DEVELOP_IN_NRF52840)
    #define RESET_PIN 18
#elif  defined (NRF52805_XXAA) \
    || defined (NRF52810_XXAA) \
    || defined (NRF52811_XXAA) \
    || defined (NRF52832_XXAA) \
    || defined (NRF52832_XXAB)
    #define RESET_PIN 21
#elif  defined (NRF52820_XXAA) \
    || defined (NRF52833_XXAA) \
    || defined (NRF52840_XXAA)
    #define RESET_PIN 18
#else
    #error &amp;quot;A supported device macro must be defined.&amp;quot;
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Have you configured the right pin number to be connected to reset in your system_nrf52.c file to match your custom layout?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>