HI,
I am now trying to use nrf51_iot_sdk_0.8.0_f1f6187. And I have run example application in nrf51 iot sdk on nrf51-dk board. It works fine.
Now I want to develop on a customized nrf51 board. This board changes the 16MHZ external crystal oscillator of nrf51-dk to 32MHZ. So I change the settings of clock source in example application:
NRF_CLOCK->XTALFREQ = 0xFFFFFF00; /* 32MHz */
and
SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION, NULL);
But the application doesn't work. It always halts after executing
SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION, NULL);
The softdevice version I use is s1xx-iot-prototype2_softdevice.hex. Is there anything wrong of my settings? But these settings can work while using nrf51_sdk_9.0.0_2e23562(not iot sdk). Is the current softdevice version does not support my clock source settings?