<?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 won&amp;#39;t fire interrupt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4679/lpcomp-won-t-fire-interrupt</link><description>Hi, 
 I wrote a very simple program which compare the analog reference input 0 (P0.00) with AIN0 (P0.26) and generate an interrupt on cross using Low Power comparator on nRF51822. 
 I watched the signals on the both P0.00 and P0.26, the P0.00 is stable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Dec 2014 04:30:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4679/lpcomp-won-t-fire-interrupt" /><item><title>RE: LPCOMP won't fire interrupt</title><link>https://devzone.nordicsemi.com/thread/16590?ContentTypeID=1</link><pubDate>Wed, 17 Dec 2014 04:30:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbf2c3e3-e1eb-42bb-85a2-766e0ca1aa97</guid><dc:creator>MH</dc:creator><description>&lt;p&gt;I just connect the AIN0 pin to the AIN2 pin and change the analog input in the program to AIN2 and problem is now solved, i&amp;#39;m not sure that this is a bug in the chip or SDK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPCOMP won't fire interrupt</title><link>https://devzone.nordicsemi.com/thread/16589?ContentTypeID=1</link><pubDate>Tue, 02 Dec 2014 16:02:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a0a4919-94ad-47a9-b6cc-390ea6e8ca2d</guid><dc:creator>MH</dc:creator><description>&lt;p&gt;unfortunately i already checked these posts and can&amp;#39;t find out what is going on&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPCOMP won't fire interrupt</title><link>https://devzone.nordicsemi.com/thread/16588?ContentTypeID=1</link><pubDate>Tue, 02 Dec 2014 13:36:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a7b008a-bb22-4ac4-8faf-ac5a30c87a38</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;There is a working LPCOMP example available &lt;a href="https://devzone.nordicsemi.com/question/12751/lpcomp-wakeup-example/"&gt;here&lt;/a&gt;. Perhaps you can compare that example with your own code to find out what is wrong.  For troubleshooting, perhaps &lt;a href="https://devzone.nordicsemi.com/question/22244/can-i-really-not-use-lpcomp-and-adc-at-the-same-time/?answer=22325#post-id-22325"&gt;this thread&lt;/a&gt; could be helpful.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 3.12.2014&lt;/strong&gt;
The LPCOMP was not present on the first revision of the nRF51 hardware, so you should check the chip markings on the nRF51 chip on your kit, which indicate what nRF51 revision it is. &lt;a href="https://devzone.nordicsemi.com/question/18925/nrf51822-revision/"&gt;This thread&lt;/a&gt; shows how to map chip markings to nRF51 chip revision.&lt;/p&gt;
&lt;p&gt;There is also an example available on &lt;a href="https://devzone.nordicsemi.com/question/22244/can-i-really-not-use-lpcomp-and-adc-at-the-same-time/?comment=22336#comment-22336"&gt;this thread&lt;/a&gt; for both ADC and LPCOMP.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>