This is an example project which is created to do an internal wake up from VLPS mode using LPTMR0.
From S32KRM, it tells us that internal wakeup is achievable using LPTMR0.
What code does?
=======================================
1) LPTMR0 is configured for 5 Seconds. So for interrupt occurs for every 5 seconds
2)LPTMR0 wakes up MCU for every 5 seconds and again it goes back to sleep for next 5 seconds. This cycle repeats forever.
3) When MCU is in RUN mode, GREEN color LED will be ON and it will in OFF if it goes to VLPS.
Project Configurations:
=======================================
Other Informations:
=======================================
Design studio: S32DS3.4
SDK : RTM 4.0.2
EVB : S32K118EVB2Q048
Note:
Following symbols should be included if you are creating the project from scratch to properly put MCU to sleep and wakeup from POR.
Thanks & regards,
Krishnakumar V