<?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>Trigger LPComp manually</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80504/trigger-lpcomp-manually</link><description>Hi, I took a look at the low power comparator example from the Nordic SDK and test it with my nRF52-DK and I found out that the comparator isn&amp;#180;t triggering when I set the input voltage to 1.4 V (for example) and start a debug session. Instead, the interrupt</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Oct 2021 16:16:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80504/trigger-lpcomp-manually" /><item><title>RE: Trigger LPComp manually</title><link>https://devzone.nordicsemi.com/thread/333783?ContentTypeID=1</link><pubDate>Tue, 12 Oct 2021 16:16:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5545877-9d9d-43d5-b828-28edf8ca32b3</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Kampino,&lt;/p&gt;
&lt;p&gt;The LPCOMP will generate events only when the input voltage VIN+ crosses the reference voltage VIN-. In sdk_config.h the default reference voltage is set to VDD/2, which for nRF52832 DK is around 1.4V. You will not get any event before the input voltage cross the reference voltage.&lt;/p&gt;
&lt;p&gt;If you want to check if the input voltage is above or below the reference voltage when the application starts you will need to trigger an sample manually using &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf5340%2Flpcomp.html&amp;amp;resultof=%22%54%41%53%4b%53%5f%53%41%4d%50%4c%45%22%20&amp;amp;anchor=register.TASKS_SAMPLE"&gt;TASKS_SAMPLE&lt;/a&gt; and read the result from &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Flpcomp.html&amp;amp;cp=4_2_0_38_2_3&amp;amp;anchor=register.RESULT"&gt;RESULT&lt;/a&gt; after EVENTS_READY event.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>