S32K118 : Internal Wakeup from VLPS mode using LPTMR0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K118 : Internal Wakeup from VLPS mode using LPTMR0

S32K118 : Internal Wakeup from VLPS mode using LPTMR0

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.

Wakeup_info.png

 
 

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:

=======================================

 

PinConfigurations.png

 

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.MACRO1.pngSymbol2.png

 

Thanks & regards,

Krishnakumar V

Attachments
No ratings
Version history
Last update:
‎01-31-2025 04:16 AM
Updated by: