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

nrf_sdh_enable_request Doesn't Return on a Custom PCBA

I have a custom board that won't return from the call to nrf_sdh_enable_request(). It's very similar to this post https://devzone.nordicsemi.com/f/nordic-q-a/42477/doesn-t-return-from-sd_softdevice_enable except that I have an external crystal mounted on the custom PCBA.  When I set NRF_SDH_LRF_SRC 0, NRF_SDH_CLOCK_LF_RC_CTIV 16 and NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2 the call nrf_sdh_enable_request()returns fine.

This suggest to me that there is a problem with the XTAL2 but when I try the RTC peripheral example code it seems to work fine.  Looking at the sdk_config.h file for the example it seems that it's running from the LF XTAL.  Is there a method to confirm the crystal is oscillating?  I uses my Saleae Logic Analyzer on the crystal load caps but I didn't see any oscillations.

SD 7.0.1, SDK 16

Thanks,
Darren

Related