LIN UART Problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LIN UART Problem

1,122 次查看
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 项奖励
回复
1 回复

1,014 次查看
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 项奖励
回复