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

SOFTDEVICE_HANDLER_INIT in nRF52832

Hello. Everyone. I'm Aaron and beginner in nRF52832. I have some serious problems with using the nRF52832. I'm trying "ble_peripheral\experimental_ble_app_blinky" in Keil Version5.and there is no External 32.729KHz crystal on my Board. Project is "ble_peripheral\experimental_ble_app_blinky\pca10036\s132" in examples

After upload flash firmware to nRF52832, chip stopped. I tried Debug, and then I think Reason is SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, false); what's the solution? image description This is line(function) that stopped in debug. image description setting fro softDevice

What's ROM and RAM setting for BLE? link text

Please help!.

Thank you fro reading.

Parents
  • Thank you, Nemik I'm using pca10040_s132 I have changed CLOCK_CONFIG_LF_SRC 0 in sdk_config.h, but NRF_SDH_CLOCK_LF_SRC, NRF_SDH_CLOCK_LF_RC_TEMP_CTIV and NRF_SDH_CLOCK_LF_RC_CTIV can't find in project files.

    So, i changed NRF_CLOCK_LFCLKSRC in pca10040.h

    #define NRF_CLOCK_LFCLKSRC {.source = NRF_CLOCK_LF_SRC_RC,
    .rc_ctiv = 16,
    .rc_temp_ctiv = 2,
    .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM} image description

    But don't work. chip stopped.

    main() in project

    image description

    I send to you my project file(example).

    If you have time, please check this. if so, I'm very thank you. Good luck.

Reply
  • Thank you, Nemik I'm using pca10040_s132 I have changed CLOCK_CONFIG_LF_SRC 0 in sdk_config.h, but NRF_SDH_CLOCK_LF_SRC, NRF_SDH_CLOCK_LF_RC_TEMP_CTIV and NRF_SDH_CLOCK_LF_RC_CTIV can't find in project files.

    So, i changed NRF_CLOCK_LFCLKSRC in pca10040.h

    #define NRF_CLOCK_LFCLKSRC {.source = NRF_CLOCK_LF_SRC_RC,
    .rc_ctiv = 16,
    .rc_temp_ctiv = 2,
    .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM} image description

    But don't work. chip stopped.

    main() in project

    image description

    I send to you my project file(example).

    If you have time, please check this. if so, I'm very thank you. Good luck.

Children
Related