[RTD600 MCAL] S32K3X4EVB-T172 DIO Wake-up

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

[RTD600 MCAL] S32K3X4EVB-T172 DIO Wake-up

[RTD600 MCAL] S32K3X4EVB-T172 DIO Wake-up

This example project will show user how to use and configure the basic functionalities of ICU (WKPU) + DIO (GPIO). 

 ------------------------------------------------------------------------------
* Test HW: S32K3X4EVB-T172 (SCH-53148 REV B2)
* MCU: S32K344
* IDE: S32DS3.5 & S32DS v3.6.x
* SDK release: RTD 6.0.0
* Debugger: PE Micro
* Target: internal_FLASH
 ------------------------------------------------------------------------------

This example routine configures the WKPU unit for a GPIO interrupt wake-up. This is the simplest WKPU example. Pin PTB19 (WKPU42) is configured for wake-up. 

The routine waits for SW5 to be pressed, then turns off the green LED, and enters Wkpu_EnterStandby() function which:

  1. Turns off green LED
  2. Switch system clock to FIRC (Option C - Boot Standby mode @24MHz).
  3. Initialize the Icu driver.
  4. Configures WKPU42 (PTB19).
  5. Enters standby.

After pressing SW6, MCU wakes up, resets and polls for SW5 to be pressed again.

This example is provided as is with no guarantees and no support.
Attachments
No ratings
Version history
Last update:
‎01-15-2026 02:31 PM
Updated by: