<?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>POFCON and s132</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12412/pofcon-and-s132</link><description>We successfully used the pofcon on a 51822 based design using S110 ver 7 to indicate a low batter condition to the user. However, we are moving to 52832 (currently QFAA-BA0) running s132 from 11.0.0.2 and the power failure function does not seem to work</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Sep 2017 14:43:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12412/pofcon-and-s132" /><item><title>RE: POFCON and s132</title><link>https://devzone.nordicsemi.com/thread/46961?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 14:43:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7fefa13-8898-4e7b-89ce-74a31a0a8d1c</guid><dc:creator>annapalu</dc:creator><description>&lt;p&gt;Thank you ambystomaLabs, your answer was very useful.&lt;/p&gt;
&lt;p&gt;-Anna&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: POFCON and s132</title><link>https://devzone.nordicsemi.com/thread/46964?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 13:02:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:935ed5ef-4998-4d12-a31e-0bde1ae91e82</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;In theory 2.0.1 only has bug fixes.  API implementations are supposed to be the same. So, you should be able to use 2.0.1 without changes.  Also, one fix that might be of interest had to do with power consumption.  So, you should consider just moving to 2.0.1.&lt;/p&gt;
&lt;p&gt;Plus the fix of writing to the register directly for 2.0 was difficult since you can&amp;#39;t then alter POF after you enable the SD.  This was a problem for us since I wanted a two tiered approach to low battery detection.  Ultimately I ended up using the ADC on an hourly basis to monitor the battery level.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: POFCON and s132</title><link>https://devzone.nordicsemi.com/thread/46963?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 12:25:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb21abce-e83c-4ca3-8f7e-4c93c419c3f5</guid><dc:creator>annapalu</dc:creator><description>&lt;p&gt;Hy Amby thank you for your answer. I have tried and it set correctly the register.&lt;/p&gt;
&lt;p&gt;So my questions is: Change the softdevice 2.0.1 have a impact on other function or is better set the register manually? What is your opinion?&lt;/p&gt;
&lt;p&gt;Thanks,
Anna&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: POFCON and s132</title><link>https://devzone.nordicsemi.com/thread/46962?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 11:58:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdaef2be-109f-48de-9899-608ce1f34790</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;This was fixed in S132 2.0.1.  Though I haven&amp;#39;t tried out the fixed version since we moved away from using the POF.  However, if you haven&amp;#39;t migrated to the latest SD and are still using 2.0 APIs, then 2.0.1 should solve your problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: POFCON and s132</title><link>https://devzone.nordicsemi.com/thread/46960?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 08:45:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b49bde2-1939-48ec-aea1-1733283d451a</guid><dc:creator>annapalu</dc:creator><description>&lt;p&gt;Hi,
i have the same problem. If i use sd_power_pof_threshold_set(NRF_POWER_THRESHOLD_V27)  the register NRF_POWER-&amp;gt;POFCON is set equal to 7, and so it don&amp;#39;t wotk correctly. If i try to set register directly have a reset from softdevice.&lt;/p&gt;
&lt;p&gt;How do you have solve the problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: POFCON and s132</title><link>https://devzone.nordicsemi.com/thread/46965?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2016 19:15:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:864853dd-4146-4df8-9bcf-6affea7d2ac3</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;Many thanks for the quick response.  I will make it a point to look at fixing the enumerations before writing to the register directly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: POFCON and s132</title><link>https://devzone.nordicsemi.com/thread/46959?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2016 15:27:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2913eea-7fc4-4da7-892d-e37ed8b52294</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;This is probably just ported from the nRF51. I will report this internally. Generally you should not use the NRF_POWER register directly as it is restricted by the SoftDevice, see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds.v0.5/dita/softdevices/s130/sd_resource_reqs/hw_block_interrupt_vector.html?cp=1_3_0_0_10_2"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: POFCON and s132</title><link>https://devzone.nordicsemi.com/thread/46958?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2016 14:28:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c04d8a0-3c1b-4f35-98e8-f996e72968c2</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;We figured this out in the debugger.  There is something wrong with the enumerations in the 11.0.0.2 sdk. Using sd_power_pof_threshold_set(NRF_POWER_THRESHOLD_V23) will result in a value of 3 in the threshold register which is undefined.
What works is to just set POFCON directly.
Use:
NRF_POWER-&amp;gt;POFCON = 0X15;
This will turn on pof and set threshold to 2.3 volts in one line.  You can figure out from the reference manual how to set other thresholds.
Someone should double check the enumerations in the nRF52 reference manual and the sample code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>