S32K146 EVB board (LIN Slave Framing error is happening for a data byte of 0X00)

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

S32K146 EVB board (LIN Slave Framing error is happening for a data byte of 0X00)

384 Views
chilambarasanm
Contributor I

I am configuring my s32k146 evb board as slave node. when i am sending the master id via MUXTRACE the salve is responding and data is also storing in the buffer. 

 

When ever i am sending a data byte with a value of 0X00 i am getting framing error (LPUART->STAT Register). But when i am sending any data byte except 0X00 i am not getting framing error.

kindly let us know what will be the issue

0 Kudos
1 Reply

370 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

as stated in FE bit description framing error is detected whenever the next character to be read from the DATA register was received with logic 0 detected where a stop bit was expected.
This is typically caused by an incorrect baud rate. It is also set when a break character is received.
Can you scope both the RX and TX signals and compare the baudrate?

BTW, below is some example for a slave implementation
https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K116-LPUART-LIN-Slave-TXRX-ISR-S32DS-ARM...

BR, Petr

0 Kudos