I am trying to put the C5505 in IDLE3 mode and having a wake up problem.
I am setting the rtc alarm interrupt for a 500 millisecond alarm to act as a tick. Inside the ISR, I take the current time and add 500 milliseconds to re-enable the alarm. I put the DSP into IDLE3 mode. In this mode I BYPASS and POWER DOWN the PLL, so I am running off of the 32KHz clock.
In the RTC ISR I reconfigure the PLL for 100 MHz so I meet the 3 times 32KHz requirement called out in the app note. Once the PLL is back up and running <10 ms, I clear the intflag of the RTC IP.
I will only receive the wake up interrupt ONCE. I have tried moving the PLL enable and clearing the interrupt in the main loop (after asm(" idle"); ) and experience the same problem.
Note: if I don't disable the PLL this continues to work as expected and I continue to get the interrupt every second.
Can someone else try this and let me know if they are seeing the same thing? If so, is there a work around?
Cheers!