Other Parts Discussed in Thread: CC2640
On the CC2640, if the external clock source at 24MHz fails unexpected is there a facility to switch to HF RC oscillator as the SCLK_HF source. I do see the following CLK_LOSS_EN bits in CTL0 and RESETCTL register. Enabling these bits I presume will cause a reset wherein the software could be programmed to check the reason for reset and switch to using an alternate clock source.
In our software stack, do we have provide an option to do this? Ie are these bits enabled?
If not, do we have reference code showing the correct sequence for these to be handled?
Thanks!!