Question :
Example code for wakeup from Hibernate mode using Pushbutton in ADSP-BF609 EZKIT
Answer:
Please find the attached working code of Hibernate mode for ADSP-BF609 EZKIT.
Please boot any led blinking code in flash (Boot mode-001 parallel flash boot) and after it done, ensure that Boot switch should be in 1 before connecting session in emulator, so it is blinking LED now as per your booted code.
Now run the attached code in debug mode(booted Led blinking code will stop, because now it is in debug mode) and calling of adi_pwr_SetPowerMode( ADI_PWR_MODE_HIBERNATE); in code puts processor to hibernate mode.
Please press SW10 in EZKIT to wakeup, now you can observe that processor goes to reset state and booted Led code will remain its function.