<?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>nRF51822 hight current consumption!</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19177/nrf51822-hight-current-consumption</link><description>Hello,
I faced the problem of high power consumption when using a large number of the inner periphery.
Currently used: 
 SPI1 -&amp;gt; Accelerometer, ext. serial memory 
 TWI0 -&amp;gt; OLED 
 RTC1 -&amp;gt; FreeRTOS 
 During debugging the current can reach several</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 22 Jan 2017 21:34:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19177/nrf51822-hight-current-consumption" /><item><title>RE: nRF51822 hight current consumption!</title><link>https://devzone.nordicsemi.com/thread/74263?ContentTypeID=1</link><pubDate>Sun, 22 Jan 2017 21:34:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8d78e51-6c5c-4811-b8c5-0f65b82b799c</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;It sounds like you have a number of issues.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d recommend you compile and install the beacon application, and look at its current consumption. You could also change the advertising period to 5 seconds so you could easily see the sleep current versus the current when awake and transmitting.&lt;/p&gt;
&lt;p&gt;If the current taken is not low when the nRF51 is sleeping, then you have an issue with the other peripherals on your board, and you need to resolve this first, by fixing your hardware and also possibly by sending commands to those devices to turn them off
Though in my experiences most low power devices like accelerometers start in power off or low power mode. However the same may not apply to all your hardware.&lt;/p&gt;
&lt;p&gt;Then once you have satisfactory low power startup, you need to enable your devices one by one, and look at the current, and also send commands to put them back into low power mode, and confirm you know how to control them.&lt;/p&gt;
&lt;p&gt;Note. I had an issue with a OLED which ignores the low power command, and the only way I could get it to shut down was to toggle its reset pin. You may have the same issue.&lt;/p&gt;
&lt;p&gt;GPIOTE interupts may also be part of the problem. On the nRF51 if you select high speed mode by passing &amp;quot;true&amp;quot; during the GPIOTE setup, the current used will be a lot higher.&lt;/p&gt;
&lt;p&gt;Try passing &amp;quot;false&amp;quot; to the GPIOTE interrupt init and see if this helps.
Note. this will slow down the response of the GPIOTE so it may no longer work with your peripherals, but this is a limitation of the nRF51 and you may need to use the nRF52 if you can&amp;#39;t use slow speed GPIOTE interrupts.&lt;/p&gt;
&lt;p&gt;I see you have already noticed that the current consumption is higher when the UART is turn on.
I would disable the NRF LOG if you are using it, as I find that using the logging (via the UART) takes lots of current.&lt;/p&gt;
&lt;p&gt;You may also need to shut down the SPI and I2C busses completely, but personally, I have not found an issue with this.
I know the nRF52 has better power management and automatically powers down interfaces after you have used them.
But personally I&amp;#39;m not seeing any serious current issues when using the SPI driver.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>