I'm using the nRF52832 chip without an external crystal. I configured it to use the internal RC with:
nrf_clock_lf_cfg_t clock_lf_cfg; clock_lf_cfg.source = NRF_CLOCK_LF_SRC_RC; clock_lf_cfg.rc_ctiv = 16; clock_lf_cfg.rc_temp_ctiv = 2; clock_lf_cfg.xtal_accuracy = 0; // Initialize SoftDevice. SOFTDEVICE_HANDLER_APPSH_INIT(&clock_lf_cfg, true);
However, the device seems to be hanging upon enabling the SoftDevice. When going through with a debugger, it just jumps to address 0 continuously. I have the Monitor Mode debugging set up based on the blog post, so I wouldn't think that would be the issue.
Am I doing something wrong in configuring the Softdevice to use the Internal RC?