<?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>Nrf9160 SAADC limit monitoring callback called when enabled.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107936/nrf9160-saadc-limit-monitoring-callback-called-when-enabled</link><description>Hi, I&amp;#39;m working on a project where is use the ADC on the nrf9160 as a edge monitoring. I have configured it to give a interrupt when the limit is reached. 
 Due to the level monitoring behavior of the SAADC when I get the first interrupt, I disable the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Mar 2024 13:45:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107936/nrf9160-saadc-limit-monitoring-callback-called-when-enabled" /><item><title>RE: Nrf9160 SAADC limit monitoring callback called when enabled.</title><link>https://devzone.nordicsemi.com/thread/475938?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 13:45:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26a34819-c3be-4f60-a3dc-544a4493c588</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;I didn&amp;#39;t get to complete the testing unfortunately.&lt;/p&gt;
&lt;p&gt;We are now in a period of Easter holiday and I am also away until late next week.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 SAADC limit monitoring callback called when enabled.</title><link>https://devzone.nordicsemi.com/thread/475543?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2024 07:54:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60519f8c-574c-44e5-b73e-ed918a8f7823</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello Replay,&lt;/p&gt;
&lt;p&gt;I am sorry for the delays, I will do some tests on it today.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 SAADC limit monitoring callback called when enabled.</title><link>https://devzone.nordicsemi.com/thread/472648?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 09:45:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56d10863-d97f-45bb-b8eb-a84894fc0845</guid><dc:creator>Replay</dc:creator><description>&lt;p&gt;Hi Michal,&lt;br /&gt;&lt;br /&gt;Sorry for my late response. &lt;br /&gt;&lt;br /&gt;I can see I forgot to mention that you have to place a jumper wire between GPIO13, and GPIO 6.&lt;br /&gt;&lt;br /&gt;Connecting the ADC input with the button.&lt;br /&gt;&lt;br /&gt;Now you should see something like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Time between interrupts: 93
Time between interrupts: 92
Time between interrupts: 1103
Time between interrupts: 93
Time between interrupts: 845
Time between interrupts: 92
Time between interrupts: 866
Time between interrupts: 93&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;No matter the duration of the button press there will always be a printout afterwards.&lt;/p&gt;
&lt;p&gt;Again sorry for missing information and response time.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Replay&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 SAADC limit monitoring callback called when enabled.</title><link>https://devzone.nordicsemi.com/thread/471632?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 17:31:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e14364e6-61c6-42f6-9819-b1f9ad8e3c99</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Could you explain to me your sample a bit more? Which GPIO is used for the button, which GPIO is the ADC input with edge monitoring?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 SAADC limit monitoring callback called when enabled.</title><link>https://devzone.nordicsemi.com/thread/470480?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2024 13:42:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:631f33da-d5d7-4368-b07b-e6a338eb1888</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;I haven&amp;#39;t been able to reproduce it properly yet, I will try to do some more test next week.&lt;/p&gt;
&lt;p&gt;I wonder if there is some kind of flag that gets set up after you enable the functionality first that has to be cleared when re-enabling it?&lt;/p&gt;
&lt;p&gt;Since if I understand correctly it catches the low level when the edge monitoring should be off.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 SAADC limit monitoring callback called when enabled.</title><link>https://devzone.nordicsemi.com/thread/469845?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2024 14:54:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04d7b928-650f-4e64-a20f-49c9332b1852</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Thank you Replay, I will try to reproduce the issue then.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 SAADC limit monitoring callback called when enabled.</title><link>https://devzone.nordicsemi.com/thread/469683?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2024 06:54:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:707716f1-8291-46d5-853b-4c964fe3b529</guid><dc:creator>Replay</dc:creator><description>&lt;p&gt;Hi Michal,&lt;br /&gt;&lt;br /&gt;Sorry for the late response. Hope you able to help :) &lt;br /&gt;&lt;br /&gt;I have tried to create a demo project that show the problem. I did not know what options you have for testing.&lt;br /&gt;&lt;br /&gt;This example project is for nrf9160 DK. If the button is pressed the time since last button pressed is print out on the terminal. The button is not the ideal test setup due to the period of the button press. Ideally a waveform generator should be used. Where the idle level is high and a low level pulse of 50ms period occurs.&lt;br /&gt;&lt;br /&gt;My issue is that the right after I re-enable the limit monitoring, even tough the level is back up above the limit, the callback is still being called.&lt;br /&gt;&lt;br /&gt;Please let me know if I can help with anything.&lt;br /&gt;&lt;br /&gt;BR. Replay.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/example_5F00_of_5F00_saadc_5F00_problem.zip"&gt;devzone.nordicsemi.com/.../example_5F00_of_5F00_saadc_5F00_problem.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 SAADC limit monitoring callback called when enabled.</title><link>https://devzone.nordicsemi.com/thread/467445?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 21:13:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:581a68af-76fa-4d3f-9f97-2d68ca3809e7</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Are you able to provide us with a minimal project that shows the issue by chance?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>