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/CC2640R2F: RTOS: Provision code before entering idle

Part Number: CC2640R2F

Tool/software: TI-RTOS

Hi

How to insert provisional code before RTOS enter IDLE mode.

For example when RTOS identified that system has no activity and want to enter into IDLE, how to place a trap where it jump to my routine and put device to sleep mode, turn off LED, do this and that to save power and then return back to RTOS core to enter into IDLE.

Also the same when waking up from IDLE to active to reactivate this and that.

Thanks