<?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>High power consumption during sleep (caused by ADC probably)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118316/high-power-consumption-during-sleep-caused-by-adc-probably</link><description>Hi, We are using following HW and peripherals: - nRF52840 - I2C - ADC - RTC1 - RTC2 - PWM - GPIO - SWI. We are using following 3rd party libraries: - nRF5 SDK v17.1.0 - FreeRTOS tickless idle provided by SDK with FPU errata fix 
 All our drivers (for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Feb 2025 10:01:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118316/high-power-consumption-during-sleep-caused-by-adc-probably" /><item><title>RE: High power consumption during sleep (caused by ADC probably)</title><link>https://devzone.nordicsemi.com/thread/523660?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 10:01:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82cc5a09-ab5a-477b-be2f-77084d48ba79</guid><dc:creator>Golaz</dc:creator><description>&lt;p&gt;This seems to be the solution.&lt;br /&gt;We have tested it for a week and the glitch did not appear.&lt;br /&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption during sleep (caused by ADC probably)</title><link>https://devzone.nordicsemi.com/thread/521290?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 12:03:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8916cfee-43ca-4f94-a790-d9de38fa47c4</guid><dc:creator>Golaz</dc:creator><description>&lt;p&gt;Thank you&amp;nbsp;very much. Will do. I wil let you know in a couple of days.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption during sleep (caused by ADC probably)</title><link>https://devzone.nordicsemi.com/thread/521289?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 11:57:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8568312-0f62-41b8-9855-fe0df2c01056</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;After some discussion internally, we think this may be your problem:&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/errata_nRF52840_Rev3/page/ERR/nRF52840/Rev3/latest/anomaly_840_246.html"&gt;https://docs.nordicsemi.com/bundle/errata_nRF52840_Rev3/page/ERR/nRF52840/Rev3/latest/anomaly_840_246.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you try the workaround and see if that fixes the issue?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption during sleep (caused by ADC probably)</title><link>https://devzone.nordicsemi.com/thread/521260?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 09:56:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abe76e96-d92d-413c-b2dd-d265b67dd1f0</guid><dc:creator>Golaz</dc:creator><description>&lt;p&gt;We ran some additional tests and have noticed that this issues seems to appear only when radio and ADC events are aligned. Even with the proposed fix in OP.&lt;br /&gt;In the image I posted in a separate reply, radio events are those large 15mA spikes and ADC events are small 5mA spikes. Both events are normally set to occur periodically with 1 sec period.&lt;br /&gt;&lt;br /&gt;For a test we set ADC conversion to periodically occur at 1.17 sec and radio communication at 1 sec. When this was set we did not see any power consumption glitches in the span of 4 days. &lt;br /&gt;This indicates to us that the glitch happens when radio and ADC are triggered at very close (maybe exactly) time intervals relative to each other. Because of our lack ot debug capabilities we could not determine what the exact condition is, which event has to occur first and what&amp;nbsp;their relative timing is.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/members/kme"&gt;Kenneth&lt;/a&gt;&amp;nbsp; Do you have any ideas why this would happen and how we can further debug this issues?&lt;br /&gt;Also note that we have very similar code (same ADC and RTC) running on a different product and we never noticed this issue there. The difference there is that that code does not use FreeRTOS but is baremetal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption during sleep (caused by ADC probably)</title><link>https://devzone.nordicsemi.com/thread/519924?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2025 07:56:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:322396c7-d212-4a21-8b12-ba21a40bbf60</guid><dc:creator>Golaz</dc:creator><description>&lt;p&gt;The issue seems to still not 100% resolved (see image).&lt;br /&gt;Time between two CPU wake events is 1sec.&lt;br /&gt;In this particular case radio event (20mA spike) seems to have aligned perfectly with ADC conversion. Like I already mentioned in OP, there seems to be some issue with IRQ timing.&lt;br /&gt;This may not be the exact case since here the static current draw is ~560uA.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1737705180818v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;With proposed fix 1 glitch occured in 16h span. So this is manageable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption during sleep (caused by ADC probably)</title><link>https://devzone.nordicsemi.com/thread/519862?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2025 18:27:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60b296dc-ebd4-4abc-bd73-494a0383409a</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am glad to hear that you have found a workaround, not entirely sure what was the root cause here, but for anyone else finding this post the errata mentioned is found here:&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/errata_nRF52840_Rev3/page/ERR/nRF52840/Rev3/latest/anomaly_840_241.html#anomaly_840_241"&gt;https://docs.nordicsemi.com/bundle/errata_nRF52840_Rev3/page/ERR/nRF52840/Rev3/latest/anomaly_840_241.html#anomaly_840_241&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And a link to the description of the SAADC here:&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52840/page/saadc.html#ariaid-title7"&gt;https://docs.nordicsemi.com/bundle/ps_nrf52840/page/saadc.html#ariaid-title7&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>