s32k144 can wakeup

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

s32k144 can wakeup

1,331 Views
yu1
Contributor I

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?

0 Kudos
Reply
4 Replies

1,317 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@yu1

which low power you're testing? you can see PNET supported in STOP mode only.

Senlent_0-1683862536763.png

 

if you want to wake up from VLPS mode by Flexcan, you can refer to this post:

https://community.nxp.com/t5/S32K-Knowledge-Base/S32K1xx-SDK-FlexCAN-sample-projects-to-demonstrate-... 

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.

0 Kudos
Reply

1,308 Views
yu1
Contributor I

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:

yu1_0-1683871113822.png

I would also like to ask how the timeout value in the figure is calculated.

0 Kudos
Reply

1,312 Views
yu1
Contributor I

I tested can wake up when the chip was in STOP mode.

0 Kudos
Reply