<?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>can I enable and disable nrf52832 reset pin when code is running</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23425/can-i-enable-and-disable-nrf52832-reset-pin-when-code-is-running</link><description>I find NRF_UICR-&amp;gt;PSELRESET[0],[1] can&amp;#39;t be written to 0xffff when their values is 0x0015, but the values can be written to 0x0015 when pre values is 0xffff. 
 so, I can&amp;#39;t enable and disable nrf52832 reset pin when code is running, right ? 
 here is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jul 2017 08:43:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23425/can-i-enable-and-disable-nrf52832-reset-pin-when-code-is-running" /><item><title>RE: can I enable and disable nrf52832 reset pin when code is running</title><link>https://devzone.nordicsemi.com/thread/92058?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2017 08:43:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:821d8985-25e0-4999-a19c-c04745e4e8bd</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;You need to perform a System Reset after writing to the UICR registers in order for the changes to take affect, i.e.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    NRF_NVMC-&amp;gt;CONFIG = NVMC_CONFIG_WEN_Wen &amp;lt;&amp;lt; NVMC_CONFIG_WEN_Pos;
    while (NRF_NVMC-&amp;gt;READY == NVMC_READY_READY_Busy){}
    NRF_UICR-&amp;gt;PSELRESET[0] = 21;
    while (NRF_NVMC-&amp;gt;READY == NVMC_READY_READY_Busy){}
    NRF_UICR-&amp;gt;PSELRESET[1] = 21;
    while (NRF_NVMC-&amp;gt;READY == NVMC_READY_READY_Busy){}
    NRF_NVMC-&amp;gt;CONFIG = NVMC_CONFIG_WEN_Ren &amp;lt;&amp;lt; NVMC_CONFIG_WEN_Pos;
    while (NRF_NVMC-&amp;gt;READY == NVMC_READY_READY_Busy){}
    NVIC_SystemReset();
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>