This example enters the MCU into STANDBY0 low power mode and wakes up to backup SRAM.
The WKPU6 (PE[0]pin) is used to wake up the MCU.
Regards,
Petr
********************************************************************************
* Detailed Description:
*
* On the EVB use KEY2 to enter Standby.
* Use KEY1 to wake up from Standby to a code in backup SRAM.
*
* In RUN mode the LED1 blinks very fast, second core toggels LED3
* In STANDBY all LEDs are off.
* The wakeup code blinks LED1 and LED2 slowly.
*
* The macro WKP_CORE is used to select which core is used after MCU wakes up.
* When z4 core is selected, it is also necessary to set the MMU otherwise exception
* is generated when uncovered memory area is accessed.
* This is not needed for z0 core due to lack of the MMU.
*
*
* ------------------------------------------------------------------------------
* Test HW: XPC56xxMB2 + XPC564xB/C, SPC5646C 0N32E silicon
* Target : internal_FLASH
* Fsys: 120 MHz PLL0
********************************************************************************