<?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>Save data in NVM during POFWARN event</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35099/save-data-in-nvm-during-pofwarn-event</link><description>Hi, 
 
 
 I&amp;#39;m developing software for the nrf52832. However, I can&amp;#39;t use the SDK of Nordic for several reasons. 
 In the code, I would like to save a small amount of data in non-volatile memory (FLASH) when there is a power failure warning event. 
 So</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Jun 2018 06:27:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35099/save-data-in-nvm-during-pofwarn-event" /><item><title>RE: Save data in NVM during POFWARN event</title><link>https://devzone.nordicsemi.com/thread/135050?ContentTypeID=1</link><pubDate>Thu, 07 Jun 2018 06:27:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9bf59de-4892-41fe-8640-b0e9f1239a29</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;1. I agree...&lt;/p&gt;
&lt;p&gt;2. No, not the Low power comparator. If you use VDD as reference the reference would change with the voltage, so not sure if would ever trigger in time. Instead use the regular comparator. this can use an internal reference of 1.8 or 2.4 volts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Save data in NVM during POFWARN event</title><link>https://devzone.nordicsemi.com/thread/134968?ContentTypeID=1</link><pubDate>Wed, 06 Jun 2018 13:37:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ad34cab-92f1-45b7-838b-c6edd0ee2d73</guid><dc:creator>Florent</dc:creator><description>&lt;p&gt;Hi run_ar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your quick reply.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&amp;nbsp;It&amp;#39;s a pity that I can&amp;#39;t use the NVMC during POF.&lt;/li&gt;
&lt;li&gt;If I get it correclty, you mean to root a VDD track to one of the analog input pin &amp;amp; use the low power comparator of the nrf52832 to trigger&amp;nbsp;another kind of&amp;nbsp;event in which I would be able to store some data in NVM ?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance for your answer,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Florent&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Save data in NVM during POFWARN event</title><link>https://devzone.nordicsemi.com/thread/134907?ContentTypeID=1</link><pubDate>Wed, 06 Jun 2018 11:32:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1871fbc-cbcc-4e22-95b4-925f64f79ea7</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;1. Unfortunately, the POF will actually tell you that writes to NVMC is succesfull even if nothing has happened in case there is a power failure event . So I would not recommend that you use this, at least you cannot trust nvmc events in case you get a power failure event.&lt;/p&gt;
&lt;p&gt;2. Consider using the regular &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/comp.html?cp=2_1_0_37#topic"&gt;comparator &lt;/a&gt;with 1.8v reference instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>