<?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>SAADC causing excessive power consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76310/saadc-causing-excessive-power-consumption</link><description>We have been tracking down the source of excessive power consumption that we have been seeing with the nRF52840. Our application is spending the vast majority of it&amp;#39;s time in system on sleep mode. The electrical specification states that the nRF52840</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Jun 2021 11:48:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76310/saadc-causing-excessive-power-consumption" /><item><title>RE: SAADC causing excessive power consumption</title><link>https://devzone.nordicsemi.com/thread/315105?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 11:48:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52cb4eda-7ead-4ee8-9b59-1c5ea3f7c99e</guid><dc:creator>Ted Jones</dc:creator><description>&lt;p&gt;Thanks Kenneth, good information and I appreciate the quick response!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC causing excessive power consumption</title><link>https://devzone.nordicsemi.com/thread/315101?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 11:35:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3478c9a-58a4-4ddf-8765-3c27684b8fa3</guid><dc:creator>Kenneth</dc:creator><description>[quote user=""]My concern is the softdevice.&amp;nbsp; I have heard anecdotal stories that the softdevice can delay other processing by far longer than the 4 ms we have to begin sampling.[/quote]
&lt;p&gt;I think some of these threads may be old ones, for the nRF52840 (and S140 softdevice) you can find some timing parameters here:&amp;nbsp;&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/ble_processor_avail_interrupt_latency/ble_peripheral_connection_performance.html"&gt;https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/ble_processor_avail_interrupt_latency/ble_peripheral_connection_performance.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The only thing that can cause a longer delay would be if you execute a flash erase or write command, especially a flash page erase command can take up to 100ms. Though this is not something that happens sporadic, this is typically something the application will have control over (e.g. during bonding).&lt;/p&gt;
[quote user=""]Is there a way to leave the ADC disabled and to guarantee that it is re-enabled within this 4 ms window?[/quote]
&lt;p&gt;I recommend to uninit() and init() between use to save current.&lt;/p&gt;
&lt;p&gt;Kenneth&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>