S32K LIN

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

S32K LIN

1,156 Views
chenze
Contributor II

     I recently met a problem about Lin communication,the version I use is S32DS_ARM_Win32_v2.2,and the lin  component I use is lin,not lin stack,the lin is master,the LPUART is LPUART1,when I init the lin by LIN_DRV_Init and LIN_DRV_InstallCallback,The interrupt function LIN_LPUART1_RxTx_IRQHandler is immediately entered,The program enters the if statement as shown below, I don't know what happened, and I don't know how to fix it,someone can help me ,thank you very much.Note: I used freeRTOS.

 

chenze_0-1655444963880.png

 

Labels (1)
Tags (1)
0 Kudos
2 Replies

1,136 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

have you also configured LPUART pins properly and have connected LIN transceiver that is active?

BR, Petr

0 Kudos

1,063 Views
chenze
Contributor II

Hi,

Now my problem has been solved, thank you very much。

0 Kudos