I am trying to use IDLE istruction as per section 9.25 of SPRUFK5A and have the following code
executed after BIOS_START
void dsp_sleep()
{
HWREG(PDCCMD) = 0x0001FFFF;
HWREG(SYSCFG0_CHIPSIG) = 0x00000004;
asm("IDLE");
}
where
#define PDCCMD 0x01810000
#define SYSCFG0_CHIPSIG 0x01C14174
The function does get called but I do not see any change in the value of the above registers.
Wanted to know if the above code is correct.Do i need any additions to the cfg file ?
Any help will be highly appreciated.
Our application uses syslink (MessageQ) tto exchange data between Arm and DSP (L138)
-Vikas Sharma