When I tested the sleep wake up of s32k144 chip, I could wake up the chip by using the serial port in stop mode, but failed to wake up the chip by using can0. I have enabled can0's pretended networking mode. What other configuration operations do I need before sleep?
which low power you're testing? you can see PNET supported in STOP mode only.
if you want to wake up from VLPS mode by Flexcan, you can refer to this post:
6. Provided the sample codes of how to configure FlexCAN as the VLPS low-power mode wakeup source, RXD of FlexCAN0 is configured as GPIO IRQ interrupt with falling edge trigger before entering VLPS mode, and after wakeup, re-configure it back to RXD function.
The problem I have now is:
1. When the chip is in STOP mode, I cannot wake up through CAN0. I configured PNET mode and the value of [PNET_EN] in the MCR register is 1. I would like to know if I need to configure CAN before entering sleep mode.
2. When entering hibernation mode, will CAN itself change into PNET mode, or do I need to perform some operations to realize it?
Below is my configuration of PNET:
I would also like to ask how the timeout value in the figure is calculated.
I tested can wake up when the chip was in STOP mode.