LIN UART Problem

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

LIN UART Problem

1,132 Views
xiabin
Contributor II

pastedImage_2.png

when I use the lin 4.5.9 package as a slave node.  debug the code.

 s this picture. set  UARTx_S2  RXEDGIF bit can't clear this bit。

then return , so the LIN CAN'T WORK.

0 Kudos
Reply
1 Reply

1,024 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Xia,

I am sorry for the delay.

Regarding your issue, pls refer to the RXEDGIF bit description, the RXEDGIF bit is set once it detects active edge on RxD pin, it is cleared  by writing a 1 to the bit. But you write a 0 to the bit, that is why you can not clear it.

Hope it can help you

BR

Xiangjun Rong

pastedImage_1.png

0 Kudos
Reply