Lin Bus development: stm32f0 TJA1020

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.