<?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>Anomalous high current transients every 8 sec in BLE sleep mode -nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86558/anomalous-high-current-transients-every-8-sec-in-ble-sleep-mode--nrf52832</link><description>We have a simple coin battery powered BLE device with a Laird BL652 module which has an nRF52832 chipset. 
 
 We have three buttons and set it up as low power as possible and only waking momentarily and sending a beacon on a button press. 
 
 In sleep</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Apr 2022 13:16:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86558/anomalous-high-current-transients-every-8-sec-in-ble-sleep-mode--nrf52832" /><item><title>RE: Anomalous high current transients every 8 sec in BLE sleep mode -nRF52832</title><link>https://devzone.nordicsemi.com/thread/362101?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2022 13:16:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a945449c-46f0-4805-811c-94f43196d971</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Okay, I was just confused as the defines were stated to be 0, but yes, it seems to be the RC oscillator. And by setting the calibrations to 0, you should be able to only calibrate manually. But this is not recommended for most applications.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anomalous high current transients every 8 sec in BLE sleep mode -nRF52832</title><link>https://devzone.nordicsemi.com/thread/361978?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2022 07:50:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c661788-8d69-44e2-a82d-965bc41aa177</guid><dc:creator>dbur</dc:creator><description>&lt;p&gt;JKe is our SW developer.&amp;nbsp; We do not have an external oscillator, though it seems like maybe in our next rev we should add one.&amp;nbsp; There is also not one on board of the Laird BL652 module we are using.&amp;nbsp; From 5.2.1 of the Laird data sheet:&lt;/p&gt;
&lt;p&gt;&amp;quot;To keep the on-chip 32.768 kHz RC oscillator within &amp;plusmn;250 ppm (which is needed to run the BLE stack) accuracy,&lt;br /&gt;RC oscillator needs to be calibrated (which takes 16-17 mS) regularly. The default calibration interval is eight&lt;br /&gt;seconds which is enough to keep within &amp;plusmn;250 ppm. The calibration interval ranges from 0.25 seconds to 31.75&lt;br /&gt;seconds (in multiples of 0.25 seconds) and configurable via smartBASIC command at+cfg210.&amp;quot;&lt;/p&gt;
&lt;p&gt;This sounds exactly like what we are seeing.&lt;/p&gt;
&lt;p&gt;Since we sleep and do nothing except after a button press to send a beacon it seems we could set the interval long and just do an extra RC osc cal whenever a button press occurs, if there is a way to manually invoke it.&lt;/p&gt;
&lt;p&gt;Thanks for that link to the power optimization article.&amp;nbsp; I think that will help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anomalous high current transients every 8 sec in BLE sleep mode -nRF52832</title><link>https://devzone.nordicsemi.com/thread/361954?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2022 05:52:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:670a32ae-4d35-47d2-b256-0ae6591fb4f7</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Are you a colleague of &lt;a href="https://devzone.nordicsemi.com/members/dbur"&gt;dbur&lt;/a&gt;? If this is not the case and&amp;nbsp;&lt;strong&gt;NRF_SDH_CLOCK_LF_SRC&lt;/strong&gt; is set to 1 in your sdk_config.h, then I don&amp;#39;t think this is the RC oscillator. Do you have an external 32.768 kHz crystal mounted on your BLE device or not? If you do, this shouldn&amp;#39;t be the RC oscillator waking up and drawing the excess current. You can check out&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf52-designs"&gt; this guide&lt;/a&gt; where my colleague explains how to optimize power consumption on nRF52 designs.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anomalous high current transients every 8 sec in BLE sleep mode -nRF52832</title><link>https://devzone.nordicsemi.com/thread/361913?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 16:50:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57f83406-1f78-4984-ade1-5989d8152a21</guid><dc:creator>JKe</dc:creator><description>&lt;p&gt;Both of the NRF_SDH_CLOCK defines you mentioned are set to 0 in the sdk_config.h file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anomalous high current transients every 8 sec in BLE sleep mode -nRF52832</title><link>https://devzone.nordicsemi.com/thread/361911?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 16:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39aa3c09-06ed-48f2-8f0a-5197c95a63e5</guid><dc:creator>JKe</dc:creator><description>&lt;p&gt;We are using version&amp;nbsp;nRF5 SDK16.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anomalous high current transients every 8 sec in BLE sleep mode -nRF52832</title><link>https://devzone.nordicsemi.com/thread/361746?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 08:06:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40ed38ac-d77c-434b-b086-019fcd1d9c81</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;In order to make sure the oscillator doesn&amp;#39;t drift too much to break with the BLE specification, it is strongly recommended that the calibrations occur at least every 8 seconds. You&amp;#39;re free to play around with the&amp;nbsp;&lt;span&gt;&lt;span&gt;&lt;strong&gt;NRF_SDH_CLOCK_LF_RC_CTIV&lt;/strong&gt; and&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;NRF_SDH_CLOCK_LF_RC_TEMP_CTIV&lt;/strong&gt; defines in the sdk_config.h of your project (I assume you&amp;#39;re using the nRF5 SDK) which is where you set how often SoftDevice calibration should be done when the RC oscillator is in use. Setting both to 0 should disable the calibration entirely, but then you won&amp;#39;t be able to do much in terms of BLE.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Frtc.html&amp;amp;anchor=concept_rvn_vkj_sr"&gt;RTC is the Real Time Counter module&lt;/a&gt;, and not the same as the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fclock.html&amp;amp;anchor=concept_acb_q5y_2q"&gt;RC oscillator&lt;/a&gt;&amp;nbsp;which is one of the LF clock sources you can use for the nRF52832. I also see you&amp;#39;re referring to some very old documentation, and I recommend you refer to the latest version of the &lt;a href="https://infocenter.nordicsemi.com/pdf/nRF52832_PS_v1.8.pdf"&gt;nRF52832 product specification (v1.8)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I see that you tried uploading a picture or link as well, but this seems to be broken as we&amp;#39;re not able to open it on our end.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anomalous high current transients every 8 sec in BLE sleep mode -nRF52832</title><link>https://devzone.nordicsemi.com/thread/361625?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 21:30:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a19db987-6d61-4a7f-b1eb-52b960cb9dbb</guid><dc:creator>dbur</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-components-multipleuploadfilemanager/3c141512_2D00_9821_2D00_45ab_2D00_b275_2D00_c69d6bde888e-97606-complete/Remote-Stby-8sec-current-transients_2D00_1.jpg" /&gt;Is there a way to disable that completely?&amp;nbsp; Or maybe only allow the cal to occur at other longer intervals or to occur only when specifically invoked?&amp;nbsp; I see in nRF52832_OPS_v0.6.3.pdf 23.11 the RTC is only supposed to use 0.1uA, which would be acceptable, but would like to reduce or eliminate the amount of power used by the cal cycle. (assuming that is what the issue is)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anomalous high current transients every 8 sec in BLE sleep mode -nRF52832</title><link>https://devzone.nordicsemi.com/thread/361534?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 13:17:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92934fa7-7ddf-4740-9e6c-435756879478</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;This sounds very much like the internal&amp;nbsp; 32.768 kHz RC oscillator waking the HF clock up for calibration every 8 seconds. The RC oscillator will be used if the optional external 32.768 kHz crystal is not in the design of your device. I know the Laird modules don&amp;#39;t come with these at least, but it should be possible to add one if you are developing a PCB design yourself.&lt;/p&gt;
&lt;p&gt;What SDK and SDK version are you using for your project?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>