This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Current consumption >1 mA changing LFCLKSRC

Hello,

in my application i use a bootloader for S310 and S310 V2.1.0.

The Bootloader is configured to use NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION and the application use NRF_CLOCK_LFCLKSRC_XTAL_20_PPM. I could now observe the following behavior:

  1. I programm a application with DFU --> Application starts --> Current consumption < 100 uA
  2. Start Bootloader from application --> wait 2 min (do nocthing) --> Application starts --> Current consumption < 100 uA
  3. Power on cycle --> Application starts --> Current consumption > 1 mA

If i change the LFCLKSRC from the booloader to NRF_CLOCK_LFCLKSRC_XTAL_20_PPM and do a power on cycle the current consumption is < 100 uA, as expected.

Can't i use different LFCLKSRC?

Parents
  • In documentation i found the following description:

    @note Some care must be taken if a low frequency clock source is already running when calling this function: If the LF clock has a different source then the one currently running, it will be stopped. Then, the new clock source will be started.

    @param clock_source Low frequency clock source and accuracy. (Note: In the case of XTAL source, the PPM accuracy of the chosen clock source must be greater than or equal to the actual characteristics of your XTAL clock).

    But why the current consumption only increase if i do a power on cycle? Can i stop the LFCLK manually before call SOFTDEVICE_HANDLER_INIT(...)?

Reply
  • In documentation i found the following description:

    @note Some care must be taken if a low frequency clock source is already running when calling this function: If the LF clock has a different source then the one currently running, it will be stopped. Then, the new clock source will be started.

    @param clock_source Low frequency clock source and accuracy. (Note: In the case of XTAL source, the PPM accuracy of the chosen clock source must be greater than or equal to the actual characteristics of your XTAL clock).

    But why the current consumption only increase if i do a power on cycle? Can i stop the LFCLK manually before call SOFTDEVICE_HANDLER_INIT(...)?

Children
No Data
Related