Hi,
I'm using the S32K310 EVAL BOARD Q100.
I'm able to set the device to standby mode but I can't wake it up, I have configured the pin PTC11 as WKPU_18 in pin configuration module . This is a switch input on the q100 board.
I've also configured the wakeup module to for the interrupt and give the HARDWARE CHANNEL NUMBER AS 22(AN OFFSET OF 4)since the 1st 4 channels are used for internal wake up.
This is the code snippet I'm testing. I know I have not switch to IFRC. may be that is the issue.
IntCtrl_Ip_EnableIrq(83);
Wkpu_Ip_Init (0, &Wkpu_Ip_Config_PB);
Wkpu_Ip_EnableInterrupt(0, Wkpu_Ip_ChannelConfig_PB[0].hwChannel);
Power_Ip_SetMode(&Power_Ip_aModeConfigPB[0]);
This is not working for me . All the generated structures are as expected and I SEE THE PROPER REGISTER IN THE WAKEUP module are populated correctly.
The clk for wakeup module are enabled and active. Also in POWER CONFIGURATION for standby ,clocks through partitions 0/1 are enabled. I don't know what is going on.
Please educate me.
Regards,
Koorosh Hajiani