Example code for wakeup from Deep-sleep mode using timer in ADSP-BF609 EZKIT
Please find the attached working code for ADSP-BF609 EZKIT. Please boot the attached code from flash instead of running via emulator.Timer1(WS5- PG_04) is used as wakeup source. Before Core0 goes to deepsleep, it sets the LED1. After this, core0 goes to DeepSleep. We can confirm this by monitoring the state of LED1. LED1 will be remain set(Glow) until timer expires. Once timer count reaches the specified value, it wakes up Core0 and LED1 gets clear(OFF) and LED2 sets(glows).