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.
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
Retrieving data ...