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

S120 RC clock problem

Can the S120 work without RTC XTAL? Iam using SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION, false); but it still hangs in the softdevice_handler_init function. The internal RC is working fine with the S110 for my hardware?

Thanks Alex

Parents
  • Hello,

    I'm using a custom board (nRF51822 QFACA chip), with the optional 32KHz crystal.

    When, I use the SDK 5.1.0 and the S120, my code works perfectly. But when I try to start my new updated code for the SDK 8.1.0 (S120 v2.0.0), the code stops at this instruction line of "softdevice_handler.c":

    err_code = sd_softdevice_enable(clock_source, softdevice_assertion_handler);
    

    This line of code is called when I call softdevice_handler_init() of my ble_stack_init:

    SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_8000MS_CALIBRATION, NULL);
    

    Do you have any idea of what wrong with my code?

    Thanks

Reply
  • Hello,

    I'm using a custom board (nRF51822 QFACA chip), with the optional 32KHz crystal.

    When, I use the SDK 5.1.0 and the S120, my code works perfectly. But when I try to start my new updated code for the SDK 8.1.0 (S120 v2.0.0), the code stops at this instruction line of "softdevice_handler.c":

    err_code = sd_softdevice_enable(clock_source, softdevice_assertion_handler);
    

    This line of code is called when I call softdevice_handler_init() of my ble_stack_init:

    SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_8000MS_CALIBRATION, NULL);
    

    Do you have any idea of what wrong with my code?

    Thanks

Children
No Data
Related