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

nrf_sdh_enable_request causes restart with custom board

I have a custom board uses nRF52810. When I flash my board with examples include SoftDevice (sdk 16.0.0) nRF52810 restarts.
I am debugging with oscillascop and seeing that the code stucks on ble_stack_init(), actually nrf_sdh_enable_request(). It returns NRF_SUCCESS but still causes restart The example I am playing is ble_app_uart (peripheral one). I am flashing in pca10040e folder (s112) which is compatible with nRF52810. What is wrong with my board?

  • When I switch NRF_SDH_CLOCK_LF_SRC to RC in sdk_config.h, it passes ble_stack_init() but stucks somewhere else.
  • The problem occurs with other examples includes SoftDevice as well.

 

Parents
  • If the HF clock doesn't start and is stuck like this, that means there's something wrong with the crystal. It's either not the correct part, mounted incorrectly, or the capacitivity is loaded incorrectly. Can you upload, or link to, the datasheet of the HF crystal that you're using and check that it is mounted correctly on your board?

    Best regards,

    Simon

Reply
  • If the HF clock doesn't start and is stuck like this, that means there's something wrong with the crystal. It's either not the correct part, mounted incorrectly, or the capacitivity is loaded incorrectly. Can you upload, or link to, the datasheet of the HF crystal that you're using and check that it is mounted correctly on your board?

    Best regards,

    Simon

Children
No Data
Related