<?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>Power Down Options</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15266/power-down-options</link><description>Hi, 
 With the following program running, how can I achieve the lowest power consumption between timer events: 
 
 nRF Timer is running with the HF crystal requested 
 at each timer interrupt, TWI is used for reading data 
 after a couple of timer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Jul 2016 06:52:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15266/power-down-options" /><item><title>RE: Power Down Options</title><link>https://devzone.nordicsemi.com/thread/58322?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2016 06:52:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60ee5029-cbd3-4512-b4c1-3d020eaf63a7</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You always want to sleep as much as possible to reduce current consumption, start off by calling sd_app_evt_wait() whenever your application is done processing, eg in main.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;while(1)
{
    sd_app_evt_wait();
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;There&amp;#39;s no problem with sleeping with the code you describe above, it will wake up &amp;quot;automatically&amp;quot; whenever there is an interrupt.&lt;/p&gt;
&lt;p&gt;Before going to sleep you should turn off unused peripherals.&lt;/p&gt;
&lt;p&gt;You should also consider if you need to use the TIMER module, are the TWI events so frequent or require so high precision that it is not possible to use RTC from the Low Frequency clock?&lt;/p&gt;
&lt;p&gt;The main difference between TIMER and RTC (Real-time counter) is that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;TIMER uses the high-frequency clock source (HFCLK, 16 MHz), which means better resolution (62.5 ns) and higher power consumption.&lt;/li&gt;
&lt;li&gt;RTC uses the low-frequency clock source (LFCLK, 32 KHz), which means less resolution (~30 us) and lower power consumption.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Common practice is to route the power separately to each device, preferably using a star configuration from a common capacitor bank (each device has its own VDD branch from the reservoir), this alleviates voltage drop from high loads. In other words each device becomes independent of the other devices.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>