<?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>~30uA and ~24uA current peaks in SYSTEM ON with  BLE connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93148/30ua-and-24ua-current-peaks-in-system-on-with-ble-connection</link><description>Hello everyone. I am developing a peripheral device capable of connecting to a central device. The device consumes 1.6uA on connection, but there are different current peaks where the highest peaks are 30uA and 20uA every 8 seconds approximately. Is it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Nov 2022 11:43:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93148/30ua-and-24ua-current-peaks-in-system-on-with-ble-connection" /><item><title>RE: ~30uA and ~24uA current peaks in SYSTEM ON with  BLE connection</title><link>https://devzone.nordicsemi.com/thread/397841?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2022 11:43:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de624ba6-fe20-49c7-9cdb-c3921839966c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When measuring the DK in source mode you need to ensure that the voltage from the PPK is exactly the same as the VDD on the DK (which should be 2.7 V after the protection diodes). If the voltage differs, there will be a current via the SWD lines and nRESET to the debugger, which will affect the measurements. To avoid this, you should measure the voltage of the PPK output and VDD on the DK, and configure the output voltage of the PPK to the exact same voltage.&lt;/p&gt;
&lt;p&gt;(Also, make sure you update the Power Profiler software to the latest release to fix the issue we have discussed before in this thread).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ~30uA and ~24uA current peaks in SYSTEM ON with  BLE connection</title><link>https://devzone.nordicsemi.com/thread/397731?ContentTypeID=1</link><pubDate>Fri, 25 Nov 2022 21:12:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f918044b-4398-41aa-a9c6-60aa55264c3a</guid><dc:creator>eudaldo</dc:creator><description>&lt;p&gt;I have a NRF52840 PCA10056, and I download the ble_app_blink of the SDK version 17.1.0 and I got the following result in the two modes:&lt;br /&gt;&lt;br /&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;SOURCE MODE:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;em&gt;connections&lt;/em&gt;&lt;strong&gt;:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/8154.source.jpg" /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;em&gt;results&lt;/em&gt;&lt;strong&gt;:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pca10056_5F00_source_5F00_meter.png" /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;AMPERE MODE:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;em&gt;connections&lt;/em&gt;&lt;strong&gt;:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/amp.jpg" /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;em&gt;results&lt;/em&gt;&lt;strong&gt;:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pca10056_5F00_amp_5F00_meter.png" /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I test the PPK2 using a simple 1K Ohm resistance and CR2032 ( 2.8 V) battery. and the results of the test in both modes, are the expected, nothing out of the ordinary.&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;strong&gt;source mode:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/r-source.jpg" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/resistence_5F00_source_5F00_meter.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ampere mode&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/r-amp-mode.jpg" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/resistence_5F00_amp_5F00_meter.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;What does it happen? What is it wrong?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ~30uA and ~24uA current peaks in SYSTEM ON with  BLE connection</title><link>https://devzone.nordicsemi.com/thread/397685?ContentTypeID=1</link><pubDate>Fri, 25 Nov 2022 14:46:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:851b3164-0103-49f2-84bc-de9cb4f8f2af</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Update: We are working on a new release of the Power profiler software that will include firmware for the PPK 2 that fixes this issue. I cannot say exactly when it will be out, though.&lt;/p&gt;
&lt;p&gt;Edit: This is fixed in Power Profiler 3.5.3 that was just released.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ~30uA and ~24uA current peaks in SYSTEM ON with  BLE connection</title><link>https://devzone.nordicsemi.com/thread/396658?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 12:56:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e78145a6-7736-4bca-b468-a812895618c2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have discussed this case with a colleague of mine, and it seems you are seeing a limitation with the PPK 2. In some cases there can flow a negative current, and that will cause problems with the measurements, which will interpret it as a high (normal/positive) current. For now, this can be worked around in one of two ways:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use a diode in series to prevent any negative current. Note that you will need to compensate for the voltage drop over the diode in this case. This is probably the simplest workaround.&lt;/li&gt;
&lt;li&gt;Use a lot of capacitors on VDD to even out and prevent any negative current. This would reduce the resolution though, as everything gets smoothed out, but you should get decent average numbers.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ~30uA and ~24uA current peaks in SYSTEM ON with  BLE connection</title><link>https://devzone.nordicsemi.com/thread/396300?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2022 18:10:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42ce885c-45de-4f0e-ad7c-b8d6fd2a70b4</guid><dc:creator>eudaldo</dc:creator><description>[quote userid="7377" url="~/f/nordic-q-a/93148/30ua-and-24ua-current-peaks-in-system-on-with-ble-connection/396198"]I do not know what the device is doing, but if it is only Bluetooth, then the peaks are too high. Other than that, the time axis is so cramped that it is not possible to see any recognizable waveform so even if I knew what the device was doing it would not be possible to say much about it from this plot.[/quote]
&lt;p&gt;Yes, I am using only Buetooth LE. This is my main function:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;int main(void)
{

    ret_code_t err_code; 
   
    power_management_init();

    ble_stack_init();  
   
    enable_DCDC_regulator(); 

    gap_params_init();   

    gatt_init();    
      
    advertising_init();  
  
    conn_params_init();
    
    advertising_start();

    // Enter main loop.
    for (;;)
    {
        sd_app_evt_wait();
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I attached&amp;nbsp; the PPK2 file of the &lt;span class="Y2IQFc" lang="en"&gt;measures:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ppk_2D00_20221117T171441_2D00_data_2D00_logger.zip"&gt;devzone.nordicsemi.com/.../ppk_2D00_20221117T171441_2D00_data_2D00_logger.zip&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt; I attach a better screen shot of the plot. &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/64241.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/86257.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/93148/30ua-and-24ua-current-peaks-in-system-on-with-ble-connection/396198"]If you only use Bluetooth, then the average current consumption here is too high (you can compare with the &lt;a href="https://devzone.nordicsemi.com/power/w/opp/2/online-power-profiler-for-bluetooth-le"&gt;online power&amp;nbsp;profiler&lt;/a&gt;&amp;nbsp;to get ballpark numbers). That could be related to a measurement issue, as as mentioned the peaks in your plot are&amp;nbsp;suspiciously high. So I would be interested in details about your HW, how you have connected it to the PPK2, and how you have configured it / how you are measuring.[/quote]
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;Yes, I am using the PPK2 in source mode:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/NRF_5F00_CONNECT_5F00_POWER.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;the connections are the following: &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/5543.NORDIC.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/source-mode.PNG" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6518.tempsnip.png" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ~30uA and ~24uA current peaks in SYSTEM ON with  BLE connection</title><link>https://devzone.nordicsemi.com/thread/396198?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2022 12:32:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efb730d4-262a-44ef-846b-83a1f388da54</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="eudaldo"]the above, is a normal performant?[/quote]
&lt;p&gt;I do not know what the device is doing, but if it is only Bluetooth, then the peaks are too high. Other than that, the time axis is so cramped that it is not possible to see any recognizable waveform so even if I knew what the device was doing it would not be possible to say much about it from this plot.&lt;/p&gt;
&lt;p&gt;If you only use Bluetooth, then the average current consumption here is too high (you can compare with the &lt;a href="https://devzone.nordicsemi.com/power/w/opp/2/online-power-profiler-for-bluetooth-le"&gt;online power&amp;nbsp;profiler&lt;/a&gt;&amp;nbsp;to get ballpark numbers). That could be related to a measurement issue, as as mentioned the peaks in your plot are&amp;nbsp;suspiciously high. So I would be interested in details about your HW, how you have connected it to the PPK2, and how you have configured it / how you are measuring.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ~30uA and ~24uA current peaks in SYSTEM ON with  BLE connection</title><link>https://devzone.nordicsemi.com/thread/396078?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2022 19:02:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c201bb48-04ed-482b-b251-92c4546192fb</guid><dc:creator>eudaldo</dc:creator><description>&lt;p&gt;sorry for the delat answer , but I able to get a PPK2!!!&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/93148/30ua-and-24ua-current-peaks-in-system-on-with-ble-connection/392288"]I see. You will not be able to see the peak currents with a multi meter, as they are way to short. An idle current consumption of about 2.6 uA (in system on with the LFCLK and RTC0 running) is a sensible value, though.&amp;nbsp;[/quote]
&lt;p&gt;I got the below information from the PPK2:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/ppk_2D00_20221116T184845.png" /&gt;&lt;/p&gt;
&lt;p&gt;the above, is a normal performant?&lt;/p&gt;
&lt;p&gt;I pass my configuration of the NRF52:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Definitions:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define APP_BLE_OBSERVER_PRIO           3                                       /**&amp;lt; Application&amp;#39;s BLE observer priority. You shouldn&amp;#39;t need to modify this value. */
#define APP_BLE_CONN_CFG_TAG            1                                       /**&amp;lt; A tag identifying the SoftDevice BLE configuration. */

#define APP_ADV_INTERVAL                1600                                      /**&amp;lt; The advertising interval (in units of 0.625 ms; this value corresponds to 40 ms). */
#define APP_ADV_DURATION                BLE_GAP_ADV_TIMEOUT_GENERAL_UNLIMITED   /**&amp;lt; The advertising time-out (in units of seconds). When set to 0, we will never time out. */


#define MIN_CONN_INTERVAL               MSEC_TO_UNITS(1100, UNIT_1_25_MS)        /**&amp;lt; Minimum acceptable connection interval (0.5 seconds). */
#define MAX_CONN_INTERVAL               MSEC_TO_UNITS(1200, UNIT_1_25_MS)        /**&amp;lt; Maximum acceptable connection interval (1 second). */
#define SLAVE_LATENCY                   0                                       /**&amp;lt; Slave latency. */
#define CONN_SUP_TIMEOUT                MSEC_TO_UNITS(10000, UNIT_10_MS)         /**&amp;lt; Connection supervisory time-out (4 seconds). */

#define FIRST_CONN_PARAMS_UPDATE_DELAY  APP_TIMER_TICKS(5000)                  /**&amp;lt; Time from initiating event (connect or start of notification) to first time sd_ble_gap_conn_param_update is called (15 seconds). */
#define NEXT_CONN_PARAMS_UPDATE_DELAY   APP_TIMER_TICKS(30000)                   /**&amp;lt; Time between each call to sd_ble_gap_conn_param_update after the first call (5 seconds). */
#define MAX_CONN_PARAMS_UPDATE_COUNT    3                                       /**&amp;lt; Number of attempts before giving up the connection parameter negotiation. */

#define DEAD_BEEF                       0xDEADBEEF                              /**&amp;lt; Value used as error code on stack dump, can be used to identify stack location on stack unwind. */&lt;/pre&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Advertising functions:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void advertising_init(void)
{
    ret_code_t err_code;   

    ble_advertising_init_t init;  // &amp;lt;-- structure Init create on base in ble_advertising_init_t

    memset(&amp;amp;init,0,sizeof(init)); //&amp;lt;---delete FROM  ble_advertising_init_t the default paramenter to define own paramenters

    init.advdata.name_type            =BLE_ADVDATA_FULL_NAME;   // define the name as full name in advertising data
    init.advdata.include_appearance   =true;          //Determines if Appearance shall be included, in this case, yes
    init.advdata.flags                =BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE; //Advertising data Flags field, LE General Discoverable Mode, BR/EDR not supported.
    init.config.ble_adv_fast_enabled  =true;   // Enable or disable fast advertising mode.
    init.config.ble_adv_fast_interval =APP_ADV_INTERVAL;   //Advertising interval for directed advertising (300)
    init.config.ble_adv_fast_timeout  =APP_ADV_DURATION;  //Time-out (in units of 10ms) for fast advertising, (0), always advesiting
    
    init.config.ble_adv_on_disconnect_disabled = true;  // retunr automatic to the advertising

    init.advdata.uuids_complete.uuid_cnt = sizeof(adv_uuids) / sizeof(adv_uuids[0]);
    init.advdata.uuids_complete.p_uuids  = adv_uuids;           

    init.evt_handler = on_adv_evt;    // asignamos la funcion handler a la estrucura INIT   


    //INIT THE ADVERTAISING        (local instance, structure with the settings)
    err_code = ble_advertising_init(&amp;amp;m_advertising, &amp;amp;init);
    APP_ERROR_CHECK(err_code);
    

    //Function for changing the connection settings tag that will be used for upcoming connections
    ble_advertising_conn_cfg_tag_set(&amp;amp;m_advertising, APP_BLE_CONN_CFG_TAG);

}


static void advertising_start(void)
{

    ret_code_t           err_code;
    err_code = ble_advertising_start(&amp;amp;m_advertising, BLE_ADV_MODE_FAST);
    APP_ERROR_CHECK(err_code);

}&lt;/pre&gt;&lt;/strong&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Connection parameters:&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void conn_params_init(void)
{
    ret_code_t             err_code;
    ble_conn_params_init_t cp_init;

    memset(&amp;amp;cp_init, 0, sizeof(cp_init));

    cp_init.p_conn_params                  = NULL;
    cp_init.first_conn_params_update_delay = FIRST_CONN_PARAMS_UPDATE_DELAY;
    cp_init.next_conn_params_update_delay  = NEXT_CONN_PARAMS_UPDATE_DELAY;
    cp_init.max_conn_params_update_count   = MAX_CONN_PARAMS_UPDATE_COUNT;
    cp_init.start_on_notify_cccd_handle    = BLE_GATT_HANDLE_INVALID;
    cp_init.disconnect_on_fail             = false;
    cp_init.evt_handler                    = on_conn_params_evt;
    cp_init.error_handler                  = conn_params_error_handler;

    err_code = ble_conn_params_init(&amp;amp;cp_init);
    APP_ERROR_CHECK(err_code);
}&lt;/pre&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;GAP parameters&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;pre class="ui-code" data-mode="text"&gt;//gap parameters
    memset(&amp;amp;gap_conn_params, 0, sizeof(gap_conn_params));

    gap_conn_params.min_conn_interval = MIN_CONN_INTERVAL;
    gap_conn_params.max_conn_interval = MAX_CONN_INTERVAL;
    gap_conn_params.slave_latency     = SLAVE_LATENCY;
    gap_conn_params.conn_sup_timeout  = CONN_SUP_TIMEOUT;

    err_code = sd_ble_gap_ppcp_set(&amp;amp;gap_conn_params);
    APP_ERROR_CHECK(err_code);
&lt;/pre&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;SoftDevice clock source.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;pre class="ui-code" data-mode="text"&gt;/==========================================================
// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_SRC  - SoftDevice clock source.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_SRC_RC 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_SRC_XTAL 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_SRC_SYNTH 

#ifndef NRF_SDH_CLOCK_LF_SRC
#define NRF_SDH_CLOCK_LF_SRC 1
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval. 
#ifndef NRF_SDH_CLOCK_LF_RC_CTIV
#define NRF_SDH_CLOCK_LF_RC_CTIV 0
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature. 
// &amp;lt;i&amp;gt; How often (in number of calibration intervals) the RC oscillator shall be calibrated
// &amp;lt;i&amp;gt;  if the temperature has not changed.

#ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 0
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_ACCURACY  - External clock accuracy used in the LL to compute timing.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_ACCURACY_250_PPM 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_ACCURACY_500_PPM 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_ACCURACY_150_PPM 
// &amp;lt;3=&amp;gt; NRF_CLOCK_LF_ACCURACY_100_PPM 
// &amp;lt;4=&amp;gt; NRF_CLOCK_LF_ACCURACY_75_PPM 
// &amp;lt;5=&amp;gt; NRF_CLOCK_LF_ACCURACY_50_PPM 
// &amp;lt;6=&amp;gt; NRF_CLOCK_LF_ACCURACY_30_PPM 
// &amp;lt;7=&amp;gt; NRF_CLOCK_LF_ACCURACY_20_PPM 
// &amp;lt;8=&amp;gt; NRF_CLOCK_LF_ACCURACY_10_PPM 
// &amp;lt;9=&amp;gt; NRF_CLOCK_LF_ACCURACY_5_PPM 
// &amp;lt;10=&amp;gt; NRF_CLOCK_LF_ACCURACY_2_PPM 
// &amp;lt;11=&amp;gt; NRF_CLOCK_LF_ACCURACY_1_PPM 

#ifndef NRF_SDH_CLOCK_LF_ACCURACY
#define NRF_SDH_CLOCK_LF_ACCURACY 0
#endif&lt;/pre&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Is something wrong?&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ~30uA and ~24uA current peaks in SYSTEM ON with  BLE connection</title><link>https://devzone.nordicsemi.com/thread/392288?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2022 06:59:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83f469e7-df0f-40d5-8cde-ef2296c1cd5c</guid><dc:creator>Einar Thorsrud</dc:creator><description>[quote user="eudaldo"]I am using a simple voltimeter, I don&amp;#39;t have oscilloscope or the PPK :( . I made the test in two different multimeters, in the one of them the lowest medition is 1.6 uA, in the other the lowest medition is 2.6 uA.[/quote]
&lt;p&gt;I see. You will not be able to see the peak currents with a multi meter, as they are way to short. An idle current consumption of about 2.6 uA (in system on with the LFCLK and RTC0 running) is a sensible value, though.&amp;nbsp;&lt;/p&gt;
[quote user="eudaldo"]&amp;nbsp;I made the follow configuration of the LFCLKSRC register:[/quote]
&lt;p&gt;You write that you are using BLE right? If so, the SoftDevice will configure the LFCLK so this has no effect (when you&amp;nbsp;initialize the SoftDevice, it will reconfigure it according to the configuration. Using the SDK examples, that is the&amp;nbsp;&amp;nbsp;NRF_SDH_CLOCK_* defines in sdk_config.h).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ~30uA and ~24uA current peaks in SYSTEM ON with  BLE connection</title><link>https://devzone.nordicsemi.com/thread/392224?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 15:39:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87536b49-cf8d-46bb-a046-289e55b3f301</guid><dc:creator>eudaldo</dc:creator><description>&lt;p&gt;&lt;br /&gt;&lt;span class="Y2IQFc" lang="en"&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/93148/30ua-and-24ua-current-peaks-in-system-on-with-ble-connection/392142"]How are you measuring this? I ask because he peak currents you describe seem too &lt;em&gt;low&lt;/em&gt;, and also a idle consumption of&amp;nbsp;1.6uA is a bit too low.[/quote]
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;I am using a simple voltimeter, I don&amp;#39;t have oscilloscope or the PPK :( . I made the test in two different multimeters, in the one of them the lowest medition is 1.6 uA, in the other the lowest medition is 2.6 uA. I dont have an accurate graph of the current consumtion. &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/93148/30ua-and-24ua-current-peaks-in-system-on-with-ble-connection/392142"]the Bluetooth examples calibrate the LFRC oscillator clock every 8 seconds, so if that is used, it is expected that you see a peak then (though in reality it would be higher but very short).[/quote]
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;&amp;nbsp;I made the follow configuration of the LFCLKSRC register: &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;#define CLOCK_LFCLKSRC_SRC_Xtal (1UL) /*!&amp;lt; 32.768 kHz crystal oscillator */&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;#define CLOCK_LFCLKSRC_SRC_Pos (0UL) /*!&amp;lt; Position of SRC field. */&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;&amp;nbsp;&amp;nbsp; NRF_CLOCK-&amp;gt;LFCLKSRC =CLOCK_LFCLKSRC_SRC_Xtal&amp;lt;&amp;lt;CLOCK_LFCLKSRC_SRC_Pos;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NRF_CLOCK-&amp;gt;TASKS_LFCLKSTART = 1;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED == 0);&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Y2IQFc" lang="en"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ~30uA and ~24uA current peaks in SYSTEM ON with  BLE connection</title><link>https://devzone.nordicsemi.com/thread/392142?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 11:54:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f89ae88f-802b-46ba-9744-154059545d5f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How are you measuring this? I ask because he peak currents you describe seem too &lt;em&gt;low&lt;/em&gt;, and also a idle consumption of&amp;nbsp;1.6uA is a bit too low.&lt;/p&gt;
&lt;p&gt;That said, the Bluetooth examples calibrate the LFRC oscillator clock every 8 seconds, so if that is used, it is expected that you see a peak then (though in reality it would be higher but very short).&lt;/p&gt;
[quote user=""]Is it normal? is it due to the refresh mode of the DCDC regulator? [/quote]
&lt;p&gt;No, this does not sound like the refresh mode. That will happen more frequently (depending on how you measure you may not be able to properly see the refresh mode peaks).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>