CAN bus Basics

Source: Internet
Author: User
Tags ack

CAN bus protocol:

Covering the transport layer, data link layer, and physical layer defined by OSI

Physical Layer:

It determines the bit encoding method (NRZ encoding, 6-Bit Insert filling bits), bit sequence (bit timing, bit sampling), and synchronization mode (Synchronization Based on the synchronization segment SS, but specifically, the electrical characteristics of the signal level, communication speed, sampling points, drivers and bus, and the form of connectors are not defined,The user shall determine it by himself;

Transport Layer:

Defines the re-sending control;

Data link layer:

The data link layer is divided into two child layers: LLC (Logical Link Control) and MAC (Media Access Control;

The sublayer of the LLC executes the selection of received messages (point-to-point, broadcast, multicast), overload notification (notification receipt preparation is still complete), and error recovery function (resend );

MAC layer: data frame (four frame types), connection mode control (competitive mode), message arbitration (ID arbitration), and fault diffusion suppression (automatic identification of temporary errors and continuous errors, troubleshooting node), Error Notification (CRC error, filling location error, bit error, Ack error, format error), error detection, response method (ACK, NACK ), communication Mode (Half Duplex) and other settings;

The MAC Sub-layer is the core of the CAN protocol. The function of the data link layer is to form meaningful messages from the physical layer and provide transmission control procedures such as error control. The function of the data link layer is usually executed in the hardware of the CAN controller;

CAN bus Basics

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.