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
  • Solders were made properly, I am sure the capacitors are indeed 12pF. I have worked on several seperated boards.

    What if the problem is about the software? What if I am missing something critical?

    What should I do from scratch to make my board work. For example, if I want to work with beacon example in SDK, what is the correct way to do it ?

    -I am using the configuration in PCA10040e folder. I have already removed DEVELOP_IN_NRF52832 and NRFX_COREDEP_DELAY_US_LOOP_CYCLES definitions. What is the next ? Should I change anything in sdk_config.h file? 

Reply
  • Solders were made properly, I am sure the capacitors are indeed 12pF. I have worked on several seperated boards.

    What if the problem is about the software? What if I am missing something critical?

    What should I do from scratch to make my board work. For example, if I want to work with beacon example in SDK, what is the correct way to do it ?

    -I am using the configuration in PCA10040e folder. I have already removed DEVELOP_IN_NRF52832 and NRFX_COREDEP_DELAY_US_LOOP_CYCLES definitions. What is the next ? Should I change anything in sdk_config.h file? 

Children
No Data
Related