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

softdevice initialize with internal RC Ocillator

Dear Nordic Team,

Thanks for support.

I am using nRF5_SDK_11.0.0. How can i initialize the softdevice with internal RC oscillator in my source code. I am using the below function for softdevice initialize.

SOFTDEVICE_HANDLER_INIT(&clock_lf_cfg, NULL);

Parents
  • From the S13x_nrf5x_2.0.0_migration-document:

    // Recommended configuration for using the RC oscillator with s132 (see nrf_sdm.h for details)

    nrf_clock_lf_cfg_t rc_cfg = {
       .source = NRF_CLOCK_LF_SRC_RC,
       .rc_ctiv = 16, // Check temperature every 4 seconds
       .rc_temp_ctiv = 2, // Calibrate at least every 8 seconds even if the temperature hasn't changed
    };
    sd_softdevice_enable(&rc_cfg, &app_fault_handler);
    
Reply
  • From the S13x_nrf5x_2.0.0_migration-document:

    // Recommended configuration for using the RC oscillator with s132 (see nrf_sdm.h for details)

    nrf_clock_lf_cfg_t rc_cfg = {
       .source = NRF_CLOCK_LF_SRC_RC,
       .rc_ctiv = 16, // Check temperature every 4 seconds
       .rc_temp_ctiv = 2, // Calibrate at least every 8 seconds even if the temperature hasn't changed
    };
    sd_softdevice_enable(&rc_cfg, &app_fault_handler);
    
Children
Related