hello is there anyone who is expert with LIN protocol ?? i have some struggles in how to send the sys break over UART (its 13bit in addition to 1 bit for delimiter)
like if i have the following LIN frame: Break+Syns(0x55)+PID(0x78)+Data1(0x01)+Data2(0x00)+checksum(0x86);
and i initialize a byte array to send this packet over uart
x={break(value),0x55,0x78,0x01,0x00,0x86};
You set the line to the required state, for the required time.
Have you done a basic "Blinky" project ?
yes i had
So it's exactly the same: you're setting a line high & low with a certain timing - so that the LED blinks on & off ...