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

  • Hi

    Please see this thread for information on which low-frequency sources you can use for our SoftDevices.

    If you want to use the RC oscillator, we recommend to use 4000ms or 8000ms calibration, 250ms is not necessary.

  • Hi Petter

    Thanks for your answer

    I have tried all defines and just the NRF_CLOCK_LFCLKSRC_SYNTH_250_PPM is working. The SVC to the S120 is only returning with the "NRF_CLOCK_LFCLKSRC_RC_250_PPM_8000MS_CALIBRATION" and the error_code is 0x1000 == "NRF_ERROR_SDM_LFCLK_SOURCE_UNKNOWN" Iam using S120 with the fwid: 0x4a s120_nrf51822_0.8.0-3.alpha_softdevice.hex and nRF51822QFAAC0.

    I have another problem the function err_code = sd_ble_gap_scan_start(&m_scan_param); is returning with an error_code = 0x3001 BLE_ERROR_INVALID_CONN_HANDLE

    Thanks Alex

  • I just tested the nRF51822 QFAAC0 with SoftDevice S120 0.8.0-3.alpha and the newest SDK. I used the ble_app_hrs_c example found in nrf6310->S120->experimental. I'm using the development kit. It worked fine, with different low frequency clock sources.

    Are you using the newest SDK?

    What example are you using?

    Are you using the evaluation kit, the development kit, or something else?

  • Hi

    I'm using a few different custom boards and the evaluation kit. I have no 32khz crystal on my pcbs but I have the same problem on the evaluation kit.

    \nrf51_sdk_v5_2_0_39364\nrf51822\Board\nrf6310\s120\experimental\ble_app_hrs_c same problem with all samples

    Is there a possibility to get a callback from the radio to receive raw packets with BLE and the S110 running then I can use a proprietary protocol parallel for a remote control and I will not use the S120?

    Thanks Alex

  • 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

Related