*******************************************************************************
The purpose of this demo application is to present a usage of the
POWER & WKUP IP Driver for the S32K3xx MCU.
In current example :--
SW-6 = PTB-19 -----> PRESS to enter the STANDBY mode.
SW-5 = PTB-26 = WKUP[41] --> PRESS to exit the STANDBY mode.
CAN-0-RX = PTA-6 = WKUP[15] --> send CAN message to exit the STANDBY mode.
The example uses PIT-0 timer, to generate the periodic interrupt.
The example uses FLEXCAN-0 for transmit & receive using following Message buffer :--
#define RX_MB_IDX_0 10U
#define RX_MB_IDX 11U
#define TX_MB_IDX 12U
BAUDRATE : 500 KBPS
------------------------------------------------------------------------------
* Test HW: S32K3X2EVB-Q172
* MCU: S32K312
* Compiler: S32DS3.5
* SDK release: RTD 3.0.0
* Debugger: PE micro
* Target: internal_FLASH
********************************************************************************
Push button :--
Wake-up source, CAN-0-RX :--
According to the IOMUX table in RM, for example, PTA6 can be used as WKPU15 and CAN0_RX. It means that the WKPU15 input doesn't require specific MSCR configuration.
So if its input buffer is enabled and the corresponding WKPU input channel is enabled/configured in the WKPU, it should be able to act as wake-up input.
Wake-up source, SW-5 GPIO:--
Standby entry :--
STandby clock :--
Enter Standby mode :--