<?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>LPCOMP interrupts are not getting triggered.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25993/lpcomp-interrupts-are-not-getting-triggered</link><description>Hi, 
 I&amp;#39;m trying to use the LPCOMP of the nrf52 telit board.Configured lpcomp with the following settings : 
 Input : AIN2
Ref : AIN1 ( external ref. of 1.6V)
Detection : Crossing 
 I&amp;#39;ve initialised the lpcomp and enabled the lpcomp with nrf_drv_lpcomp_enable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Oct 2017 13:51:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25993/lpcomp-interrupts-are-not-getting-triggered" /><item><title>RE: LPCOMP interrupts are not getting triggered.</title><link>https://devzone.nordicsemi.com/thread/102422?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 13:51:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04c554f3-c908-465a-9772-52471c508a74</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;So since it works with a signal generator it seems to be related to your PIR sensor? Have you check that your input actually crosses your reference voltage?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPCOMP interrupts are not getting triggered.</title><link>https://devzone.nordicsemi.com/thread/102424?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 12:07:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37201060-235f-48ac-bc51-a762ee3ba680</guid><dc:creator>Sourabh</dc:creator><description>&lt;ol&gt;
&lt;li&gt;Yes i had set a breakpoint inside the LPCOMP_CROSS event .&lt;/li&gt;
&lt;li&gt;I&amp;#39;m running a 50uS timer and sampling the lpcomp result value. The result is always zero.
3.The example works fine.
4.A PIR sensor has been connected to the LPCOMP_INPUT_2&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;we seem to be getting the desired results when we connect the input to a signal generator also.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPCOMP interrupts are not getting triggered.</title><link>https://devzone.nordicsemi.com/thread/102421?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 07:20:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2daaa10-d2e0-44ab-8be4-954811cee42d</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Strange.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Have you set a breakpoint inside &lt;code&gt;case NRF_LPCOMP_EVENT_CROSS:&lt;/code&gt; when debugging?&lt;/li&gt;
&lt;li&gt;Do you have a lot of other things going on in your application?&lt;/li&gt;
&lt;li&gt;Have you tried the example in the SDK without modifying it?&lt;/li&gt;
&lt;li&gt;What do you have connected to NRF_LPCOMP_INPUT_2?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPCOMP interrupts are not getting triggered.</title><link>https://devzone.nordicsemi.com/thread/102420?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2017 14:51:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6047a5d-7545-422f-bb8a-a1e3547794fb</guid><dc:creator>Sourabh</dc:creator><description>&lt;p&gt;I&amp;#39;ve added the init function, I&amp;#39;ve used the one provided in the example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPCOMP interrupts are not getting triggered.</title><link>https://devzone.nordicsemi.com/thread/102423?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2017 14:26:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa07a741-2c84-40f0-9c43-3cb7c6a3760b</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you edit your question and add the code showing how you initialize the LPCOMP?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>