<?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>using LPCOMP to measure vdd</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65302/using-lpcomp-to-measure-vdd</link><description>Hi, is it possible to measure NRF52832 vdd voltage using LPcomp. I know I can do it with ADC but it draws a lot of current. I&amp;#39;m thinking if I can compare VDD to lpcomp reference voltage, it will let me know once it goes below certain value. I don&amp;#39;t get</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Aug 2020 14:58:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65302/using-lpcomp-to-measure-vdd" /><item><title>RE: using LPCOMP to measure vdd</title><link>https://devzone.nordicsemi.com/thread/266790?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 14:58:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22948b92-a2b1-4ab4-b6c2-355f00632236</guid><dc:creator>inya_lake</dc:creator><description>&lt;p&gt;Thank you. I can follow your example and get VDD voltage with minimal current consumption.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using LPCOMP to measure vdd</title><link>https://devzone.nordicsemi.com/thread/266787?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 14:45:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a0a459f-f973-4a08-919b-b54efd7d2bbe</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The LPCOMP peripheral does not have any &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/lpcomp.html#register.REFSEL"&gt;internal static reference voltage&lt;/a&gt;. You need to either provide an external reference, or you can choose an internal reference as a fraction of the VDD voltage. This makes it hard to use for measurement of VDD.&lt;/p&gt;
&lt;p&gt;Note that the Average current of the SAADC does not need to be that high, see &lt;a href="https://github.com/NordicPlayground/nRF52-ADC-examples/tree/master/saadc_low_power"&gt;this example&lt;/a&gt;. But of course, this depends on the power requirement of your application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using LPCOMP to measure vdd</title><link>https://devzone.nordicsemi.com/thread/266775?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 13:56:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc2b9be9-a4d1-446f-9a2b-535848c69ebe</guid><dc:creator>inya_lake</dc:creator><description>&lt;p&gt;No, I&amp;#39;m looking to detect when vdd cross certain value (low battery) using Lpcomp instead of ADC. More of a low battery indicator without using ADC&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using LPCOMP to measure vdd</title><link>https://devzone.nordicsemi.com/thread/266766?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 13:35:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2f7fb75-42a9-4dc1-bd9e-13d4181a6b19</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;If you only want a power fail indicator, there is a power fail comperator in the POWER block: POFCON register.&lt;/p&gt;
&lt;p&gt;When using SD, use SD functions to set the POF threshold value (POWER is a restricted peripherial).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>