This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

sd_softdevice_enable never return

Hello,

sd_softdevice_enable never returns.

I have no 32.768 KHz crystal but is set lfclk with NRF_CLOCK_LFCLKSRC_SYNTH_250_PPM. I'm running my application on a custom board with a nRF52, S132 SD 2.0.0 alpha 7, jling debug over nRF52 DK.

Debugger show me that i'm trapped in a loop (probably in SD) at 0x9078, 0x907C, 0x907E (BL, CMP, BEQ)

Can someone from Nordic tells me what it's waiting for ?

Parents
  • It is generally not recommended to use NRF_CLOCK_LFCLKSRC_SYNTH_250_PPM, but it should work. It requires the (edit) 32 MHz crystal, so I'm thinking there could be a problem with this. Could you try and use NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION and see it works? If it does, can you check that you are actually able to use the radio for BLE communcation? (the radio also requires the (edit) 32 MHz crystal)

Reply
  • It is generally not recommended to use NRF_CLOCK_LFCLKSRC_SYNTH_250_PPM, but it should work. It requires the (edit) 32 MHz crystal, so I'm thinking there could be a problem with this. Could you try and use NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION and see it works? If it does, can you check that you are actually able to use the radio for BLE communcation? (the radio also requires the (edit) 32 MHz crystal)

Children
No Data
Related