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.

DSP idle loop overloading

Hi Forum,

We are using L-138 with DSPBios 5. In our DSPLink.tcf file, the DSP Idle loop is defined in the "IDL- Idle Function Manager"  as __PWRM_F_idleStopClk. (with CPU load calibration). I guess this function is defined in TI libraries

I would like to monitor when the DSP is in IDLE loop by toggling an GPO pin. Is it possible to overload the DSP IDLE loop, with a function like

void DSP_IDLE_loop()

{

setGPIOHigh();

__PWRM_F_IdleStopClk();

setGPIOLow();

}

What should be the type of my function?, should it be placed in DDR/IRAM?????

Thanksin advance  for your help

JP