S32K state LIN sleep/wake-up issues

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

S32K state LIN sleep/wake-up issues

612 Views
veronica
Contributor I

Hello,

We are using a S32K board as a LIN master and are having some trouble with the go_to_sleep and wake-up messages. Firstly, when the go to sleep command is issued ( we are using l_ifc_goto_sleep() function from provided SDK), the master LIN node doesn't actually go into LIN_NODE_STATE_SLEEP_MODE as it should. The lin_update_tx service does get triggered, but puts the node directly into IDLE state, instead of sleep. For the sake of testing, I have manually called the set low power mode function; when a slave issues a wake-up call, the interrupt gets triggered on the master, but the node remains in SLEEP state. It seems that while the LIN_LPUART_DRV_CheckWakeupSignal() function is reached, because when the LIN master is in sleep state/low power the polarity of the receive data is false, the actual check if the received signal is a wake-up does not get performed. The LIN slaves in this configuration are from the S12 MagniV microcontrollers family.

Kind regards,

Veronica

Tags (1)
0 Kudos
1 Reply

512 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello Veronica,

Please refer to the link below. There can be found the answer.

https://community.nxp.com/thread/506418

Best Regards,

Diana

0 Kudos