The latest version of Lin Bus protocol is V2.2, the historical version has v1.0,v1.2,v1.3,v2.0,v2.1, each version of the difference after a detailed review.
Lin's hardware is relatively simple, some people think Lin with rs232,485 similar, directly with the ordinary serial port can be realized. But here to point out that this is different, the normal serial port is not fully able to support the LIN protocol. Because Lin's frame structure, the length of the Lin break time of the message head has special requirements: 11bit length of the low level.
However, the normal serial port is how to realize the low-level length of Lin break. The 0x00 that sends a byte is not long enough, two bytes 0x00 is too long and the middle is disjoint. Switching the low baud rate to send a break, but the switching baud rate is time-consuming, the high-level length significantly exceeds the protocol requirements, resulting in a logic analyzer recognition error.
Therefore, the common serial port as Lin from the mode, as the main mode is completely incompatible with LIN standards. As a main mode, you must use the enhanced serial port to solve the LIN break problem.
Not to be continued.
First send an advertisement, Lin Development Board:
https://item.taobao.com/item.htm?spm=a1z38n.10677092.0.0.594c1debKlwobB&id=567670729920