<?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 power on/off</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40590/saadc-power-on-off</link><description>My environment: DK 10040, nRF52832, SD 6.1.1, SDK 15.2, SES 3.52 
 When does the SAADC use power? And when does it stop using power? 
 I searched the 52832 specification and DevZone but could not find a clear explanation. My best guess is that power consumption</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Nov 2018 19:34:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40590/saadc-power-on-off" /><item><title>RE: SAADC power on/off</title><link>https://devzone.nordicsemi.com/thread/158270?ContentTypeID=1</link><pubDate>Tue, 20 Nov 2018 19:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f40842c-8f7d-4933-8a78-cc9191d748c0</guid><dc:creator>mchartier</dc:creator><description>&lt;p&gt;After replacing the TIMER with RTC and replacing all CPU interrupts with PPI the average power is down from 1100ua to 750ua. This is sampling a single pin at 200hz while BLE is connected and notifications sending every 20ms.&amp;nbsp; Very good IMO.&amp;nbsp; However, when I go to sample two pins I ran into&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39856/saadc-scan-burst-oversmaple"&gt;this issue&lt;/a&gt;&amp;nbsp;which brings the power consumption back up to 1.4ma.&amp;nbsp; I hope someone can find a workaround to the other issue, or suggest a better way to design the application to get 32x oversample with two pins.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC power on/off</title><link>https://devzone.nordicsemi.com/thread/158126?ContentTypeID=1</link><pubDate>Tue, 20 Nov 2018 09:39:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04ae8e81-2ca7-4e9f-be95-fcc6c4463363</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="mchartier"]This result was surprising because the documentation says the SoftDevice uses the RTC0 and TIMER0.&amp;nbsp; Therefore I assumed the SoftDevice would always need the HFCLK but clearly this is incorrect.[/quote]
&lt;p&gt;The SoftDevice will, for power consumption reasons, only start the external HFCLK when its needed. The external HFCLK will then only be on prior to any radio communication, so in most applications, it will mostly be sourced by the HFINT (64M RC oscillator).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC power on/off</title><link>https://devzone.nordicsemi.com/thread/158051?ContentTypeID=1</link><pubDate>Mon, 19 Nov 2018 16:54:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3387edcb-88de-47fb-9de1-915bff9277be</guid><dc:creator>mchartier</dc:creator><description>&lt;p&gt;Today I have the PPK so I measured power consumption of the SAADC when the TIMER was NOT in use. I confirmed the power consumption begins when the START task is&amp;nbsp; triggered and it will continue indefinitely until the SAMPLE task or STOP task is triggered.&amp;nbsp; Note that power consumption does not change when the SAADC is configured, or channels configured, or by enabling the SAADC (i.e. calling nrf_saadc_enable).&amp;nbsp; This confirms what I suspected so I think I am going in the right direction by&amp;nbsp;using the PPI to trigger the SAMPLE task instead of the interrupt handler.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Next I measured power when the device was connected to a BLE central.&amp;nbsp; When the TIMER was disabled and system was sleeping I measured 0.6ua.&amp;nbsp; When the TIMER was enabled&amp;nbsp; I measured about 410ua.&amp;nbsp; Based on this result it seems I could save significant power (400ua) by using RTC instead of TIMER as long as my sample interval was 16k or less.&amp;nbsp; This result was surprising because the documentation says the SoftDevice uses the RTC0 and TIMER0.&amp;nbsp; Therefore I assumed the SoftDevice would always need the HFCLK but clearly this is incorrect.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC power on/off</title><link>https://devzone.nordicsemi.com/thread/157961?ContentTypeID=1</link><pubDate>Mon, 19 Nov 2018 13:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63b64c61-d607-4ddd-a6b5-0e3c6b27ada0</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]When does the SAADC use power? &amp;nbsp;And when does it stop using power? &amp;nbsp;[/quote]
&lt;p&gt;The SAADC shall use power only when active. The problem here, is that there&amp;#39;s other things active in your system requiring the HFCLK (the TIMER peripheral), thus you get approx. 0.5 mA sleep current.&lt;/p&gt;
[quote user=""]Currently I use a timer with frequency 31250Hz. &amp;nbsp;Would I save a lot of power if I use RTC instead?&amp;nbsp; &amp;nbsp;Thanks![/quote]
&lt;p&gt;&amp;nbsp;This will cause the sleep current to be high, as the TIMER peripheral will keep the HFCLK running. The problem here is that the RTC can provide an event every 16.384 kHz (half of its input source), so if you require a sampling rate of &amp;gt;32k/2, then you&amp;#39;ll have to use a high speed TIMER peripheral.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>