Part Number: CC2640R2F
Hi,
I've exact the same need for a BLE Project where I use SDK version 4.10 for CC2640r2 chip.
Thanks to all of you, I'm able to make the dynamic configuration work for my project.
However, I do make a modification in the osc.c file to make it work.
As mentioned in the TechnicManual: The XOSCHF is stable when the DDI_0_OSC:STAT0.PENDINGSCLKHFSWITCHING is asserted after starting the crystal. So I had to add a check of this flag at the beginning of OSCHF_SwitchToRcOscTurnOffXosc function. Otherwise, my application will go to ICall_abort for all the time.
Could you explain why OSCHfSourceReady is called in OSCHF_AttemptToSwitchToXosc but not OSCHF_SwitchToRcOscTurnOffXosc ? As the two APIs are used to switch osc source.
Best regards,
Yang


