LIN UART Problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LIN UART Problem

1,123件の閲覧回数
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,015件の閲覧回数
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 件の賞賛
返信