This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/SIMPLELINK-CC2640R2-SDK: Switching between OSC_XOSC_LF and OSC_RCOSC_LF

Part Number: SIMPLELINK-CC2640R2-SDK

Tool/software: TI-RTOS

Hello,

I would like to switch OSC_SRC_CLK_LF clock source between OSC_XOSC_LF and OSC_RCOSC_LF dynamically.

My application is based on simple_peripheral project and the application sends periodic non-connectable beacon packets.
When it receives a button interrupt, it starts to sending connectable beacon for connecting smart phone.

During non-connectable beaconing period, the application will use OSC_RCOSC_LF clock. When it gets a button interrupt, the application will switch to the OSC_XOSC_LF and use it until the end of the communication.

Is it possible to use OSC_RCOSC_LF clock for sending non-connectable beacon packet?

Is it necessaray to calibrate OSC_RCOSC_LF clock for that purpose? I will not use OSC_RCOSC_LF clock during connection, I will switch to the OSC_XOSC_LF before connection.

Thank you