<?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>nRF52820 COMP module</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68263/nrf52820-comp-module</link><description>Hello, 
 I would like to use a single COMP I/O pin to compare the pin voltage to multiple references during run-time. 
 
 To do this, I was planning on initializing the COMP driver by using nrfx_comp_init and setting the appropriate reference voltage</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Feb 2021 15:51:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68263/nrf52820-comp-module" /><item><title>RE: nRF52820 COMP module</title><link>https://devzone.nordicsemi.com/thread/296078?ContentTypeID=1</link><pubDate>Wed, 24 Feb 2021 15:51:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d10748b3-eae2-4007-a4e8-35bf96cc9267</guid><dc:creator>sangjkim</dc:creator><description>&lt;p&gt;I was able to use the method above to get a rough estimate of what the battery voltage is.&amp;nbsp; It is slow because I need to un-init -&amp;gt; set new threshold -&amp;gt; re-init and repeat the process as needed.&amp;nbsp; But it works for my specific needs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52820 COMP module</title><link>https://devzone.nordicsemi.com/thread/295543?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 11:05:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebb81502-fd63-423c-9457-407321943117</guid><dc:creator>Hardik.Harpal</dc:creator><description>&lt;p&gt;Did you able to do it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52820 COMP module</title><link>https://devzone.nordicsemi.com/thread/279961?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 16:02:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f90fb2e5-4c77-4d3a-814e-e8bc43ed353c</guid><dc:creator>sangjkim</dc:creator><description>&lt;p&gt;Understood.&amp;nbsp; Thank you for the feedback.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52820 COMP module</title><link>https://devzone.nordicsemi.com/thread/279746?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2020 13:43:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7015695-f55e-4289-a164-9adf89d38ea8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The approach makes sense. I&amp;nbsp;cannot say how good it is or if it is good enough for you, but it is probably the &lt;em&gt;only&lt;/em&gt; possible approach for measuring pin voltage using the nRF52820 without additional HW. If this is not good enough, then you need to use either a different nRF52 device which includes the SAADC peripheral, or use some other external ADC or similar.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>