Showing results for 
Search instead for 
Did you mean: 

STM32L072 LIN Communication

Associate II

Hello everyone,

I currently facing an issue. I can successfully send the break and sync byte, but for some reason, my ID is not being transmitted. When I switch from RDR to TDR in LIN_UART_ISRHandler, I can receive all the data from slave on the Picoscope, but unfortunately, my master data is not being transmitted. And still changing to TDR is not completing the frames. 

I think I'm stuck in interrupts which keep triggering the next frame.


I have attached file, if anyone could share suggestion that would be very helpful.


Many thanks.