<?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>Cut power to nRF52 to switch off system.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46855/cut-power-to-nrf52-to-switch-off-system</link><description>I would like to know the best place to cut the power in switch off sequence. 
 
 We have a IO to totally cut power to the IC (own board), I added PIN control to switch off the board inside (SDK 15.3 with SD): 
 static void shutdown_process(void){} 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 May 2019 10:11:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46855/cut-power-to-nrf52-to-switch-off-system" /><item><title>RE: Cut power to nRF52 to switch off system.</title><link>https://devzone.nordicsemi.com/thread/185903?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 10:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3b7fbd0-c50f-42d5-9555-60b9b5ab31e9</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Carlos&lt;/p&gt;
&lt;p&gt;You should not cut the power while the SoftDevice, or any other peripherals for that matter, while they are writing to flash. However as long as you wait for the application to finish the flash write. There are no problems with cutting the power like you are describing in your initial ticket.&lt;/p&gt;
&lt;p&gt;As for the solar sensor beacon example, it can be found on our &lt;a href="https://github.com/NordicPlayground/solar_sensor_beacon"&gt;NordicPlayground GitHub repository&lt;/a&gt;. Please refer to that, as our Infocenter is being reworked at the moment and some links are still not working properly.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cut power to nRF52 to switch off system.</title><link>https://devzone.nordicsemi.com/thread/185499?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 12:46:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdbf9543-95f0-471e-946a-a26ac0b9542a</guid><dc:creator>Carlos</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your help.&lt;/p&gt;
&lt;p&gt;From application side I can be sure everything is safe, my doubt is regarding softdevice, can SD be writting flash within&amp;nbsp;&lt;span&gt;shutdown_process? I guess this is what&amp;nbsp;sd_power_system_off()&amp;nbsp;takes care of (stoping any critical operation).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If this is the case, is there any way to be 100% safe be stoping SD of writing flash?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If all depends on the application then I will close the issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BTW, I found some similar questions&amp;nbsp; on solar beacon, however most links are not reachable like this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%252Fcom.nordic.infocenter.nrf52%252Fdita%252Fnrf52%252Fapp_example%252Fsolar_beacon%252Ffirmware.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%252Fcom.nordic.infocenter.nrf52%252Fdita%252Fnrf52%252Fapp_example%252Fsolar_beacon%252Ffirmware.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you think this solar beacon example can help me please tell me how to reach it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thks again!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cut power to nRF52 to switch off system.</title><link>https://devzone.nordicsemi.com/thread/184894?ContentTypeID=1</link><pubDate>Thu, 02 May 2019 12:30:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9008ad0-4557-4517-b23f-a4b76cd6c224</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Carlos&lt;/p&gt;
&lt;p&gt;As long as you don&amp;#39;t do this while writing to flash, there should not be a problem cutting the power like this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>