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
  • If you're not using an external low frequency crystal then make sure you edit the "config/sdk_config.h" file and find and change "#define CLOCK_CONFIG_LF_SRC 0", "#define NRF_SDH_CLOCK_LF_SRC 0", "#define NRF_SDH_CLOCK_LF_RC_CTIV 16", and "#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2"

    Then try to build and run. These changes were needed to get my board without an external crystal working and it did after the modifications.

Reply
  • If you're not using an external low frequency crystal then make sure you edit the "config/sdk_config.h" file and find and change "#define CLOCK_CONFIG_LF_SRC 0", "#define NRF_SDH_CLOCK_LF_SRC 0", "#define NRF_SDH_CLOCK_LF_RC_CTIV 16", and "#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2"

    Then try to build and run. These changes were needed to get my board without an external crystal working and it did after the modifications.

Children
No Data
Related