I am test loop back on that code, that present in S32 Design Stdio software.
Hi,
Slave is not able to generate the header itself, so testing in the loopback make no sense, I think.
BR, Petr
Hi Petr,
I am just want to understand the working of LIN protocol so try to test loop back, in that i am transmitting the header by master and just see the data transmission flag is set or not but it is not set.In transmission and receiving side I am taking same ID.
Thank you for helping.
Hi,
if you are using the MPC5748G EVB, then note the LIN transceiver is not powered from the EVB, thus the transmission will not work, because of bit error (RX pin does not see the same signal that is on TX pin).
So connect 12V to the LIN connector (P11.3 or P9.3)) to power the transceiver. This enables the LIN transceiver to loop TX back to RX so entire transmit frames can be issued successfully.
BR, Petr
Hi,
In loop back mode i am able to transmit the data and Data Transfer Flag is set, but in receiver side before Data Reviver Flag is getting set LIN bus reached in idle state because of OCF bit of LINESR register. Please help me out to resolve that.
try to clear LINTCSR[IOT] bit, so LIN state machine does not reset to Idle on timeout.
BR, Petr
Hi Petr,
How to change the baud rate for LIN protocol.