1. Trang chủ
  2. » Giáo án - Bài giảng

AN0228 a CAN physical layer discussion

12 184 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 12
Dung lượng 258,88 KB

Nội dung

M AN228 A CAN Physical Layer Discussion Author: Pat Richards Microchip Technology Inc INTRODUCTION Many network protocols are described using the seven layer Open System Interconnection (OSI) model, as shown in Figure The Controller Area Network (CAN) protocol defines the Data Link Layer and part of the Physical Layer in the OSI model The remaining physical layer (and all of the higher layers) are not defined by the CAN specification These other layers can either be defined by the system designer, or they can be implemented using existing non-proprietary Higher Layer Protocols (HLPs) and physical layers The Data Link Layer is defined by the CAN specification The Logical Link Control (LLC) manages the overload control and notification, message filtering and recovery management functions The Medium Access Control (MAC) performs the data encapsulation/decapsulation, error detection and control, bit stuffing/destuffing and the serialization and deserialization functions FIGURE 1: The Physical Medium Attachment (PMA) and Medium Dependent Interface (MDI) are the two parts of the physical layer which are not defined by CAN The Physical Signaling (PS) portion of the physical layer is defined by the CAN specification The system designer can choose any driver/receiver and transport medium as long as the PS requirements are met The International Standards Organization (ISO) has defined a standard which incorporates the CAN specification as well as the physical layer The standard, ISO-11898, was originally created for high-speed invehicle communications using CAN ISO-11898 specifies the physical layer to ensure compatibility between CAN transceivers A CAN controller typically implements the entire CAN specification in hardware, as shown in Figure The PMA is not defined by CAN, however, it is defined by ISO-11898 This document discusses the MCP2551 CAN transceiver and how it fits in with the ISO-11898 specification CAN AND THE OSI MODEL 7- Layer OSI Application Presentation Session Transport Network Data Link Physical Logical Link Control (LLC) - Acceptance filtering - Overload notification - Recovery management Medium Access Control (MAC) - Data encapsulation/decapsulation - Frame coding (stuffing/de-stuffing) - Error detection/signaling - Serialization/deserialization Physical Signaling - Bit encoding/decoding - Bit timing/synchronization Physical Medium Attachment - Driver/receiver characteristics Defined by CAN Controller ISO11898 Transceiver MCP2551 Medium Dependent Interface - Connectors/wires  2002 Microchip Technology Inc Preliminary DS00228A-page AN228 ISO11898-2 OVERVIEW FIGURE 2: ISO11898 is the international standard for high-speed CAN communications in road vehicles ISO-11898-2 specifies the PMA and MDA sublayers of the Physical Layer See Figure for a representation of a common CAN node/bus as described by ISO-11898 DIFFERENTIAL BUS Dominant Voltage Level (V) CANH Bus Levels CAN specifies two logical states: recessive and dominant ISO-11898 defines a differential voltage to represent recessive and dominant states (or bits), as shown in Figure In the recessive state (i.e., logic ‘1’ on the MCP2551 TXD input), the differential voltage on CANH and CANL is less than the minimum threshold ([...]... worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona in July 1999 and Mountain View, California in March 2002 The Company’s quality system processes and procedures are QS-9000 compliant for its PICmicro ® 8-bit MCUs, KEELOQ® code hopping devices, Serial EEPROMs, microperipherals, non-volatile memory and analog products In addition, Microchip’s quality system... 2121, NSW Australia Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 Rocky Mountain China - Beijing 2355 West Chandler Blvd Chandler, AZ 85224-6199 Tel: 480-792-7966 Fax: 480-792-4338 Atlanta 500 Sugar Mill Road, Suite 200B Atlanta, GA 30350 Tel: 770-640-0034 Fax: 770-640-0307 Boston 2 Lan Drive, Suite 120 Westford, MA 01886 Tel: 978-692-3848 Fax: 978-692-3821 Chicago 333 Pierce Road, Suite 180 Itasca, IL 60143... 65-6334-8870 Fax: 65-6334-8850 Taiwan Microchip Technology (Barbados) Inc., Taiwan Branch 11F-3, No 207 Tung Hua North Road Taipei, 105, Taiwan Tel: 886-2-2717-7175 Fax: 886-2-2545-0139 EUROPE Austria Microchip Technology Austria GmbH Durisolstrasse 2 A- 4600 Wels Austria Tel: 43-7242-2244-399 Fax: 43-7242-2244-393 Denmark Microchip Technology Nordic ApS Regus Business Centre Lautrup hoj 1-3 Ballerup DK-2750... 91-80-2290062 Japan Microchip Technology Japan K.K Benex S-1 6F 3-18-20, Shinyokohama Kohoku-Ku, Yokohama-shi Kanagawa, 222-0033, Japan Tel: 81-45-471- 6166 Fax: 81-45-471-6122 Korea Microchip Technology Korea 168-1, Youngbo Bldg 3 Floor Samsung-Dong, Kangnam-Ku Seoul, Korea 135-882 Tel: 82-2-554-7200 Fax: 82-2-558-5934 Singapore Microchip Technology Singapore Pte Ltd 200 Middle Road #07-02 Prime Centre Singapore,... design and manufacture of development systems is ISO 9001 certified  2002 Microchip Technology Inc DS0022 8A - page 11 M WORLDWIDE SALES AND SERVICE AMERICAS ASIA/PACIFIC Corporate Office Australia 2355 West Chandler Blvd Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: 480-792-7627 Web Address: http://www.microchip.com Microchip Technology Australia Pty Ltd Suite 22, 41 Rawson... manufacturer can guarantee the security of their code Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving We at Microchip are committed to continuously improving the code protection features of our products Information contained in this publication regarding device applications and the like is intended through suggestion only and may be... 350001, China Tel: 86-591-7503506 Fax: 86-591-7503521 China - Shanghai Microchip Technology Consulting (Shanghai) Co., Ltd Room 701, Bldg B Far East International Plaza No 317 Xian Xia Road Shanghai, 200051 Tel: 86-21-6275-5700 Fax: 86-21-6275-5060 China - Shenzhen Microchip Technology Consulting (Shanghai) Co., Ltd., Shenzhen Liaison Office Rm 1315, 13/F, Shenzhen Kerry Centre, Renminnan Lu Shenzhen... 518001, China Tel: 86-755-82350361 Fax: 86-755-82366086 China - Hong Kong SAR Microchip Technology Hongkong Ltd Unit 901-6, Tower 2, Metroplaza 223 Hing Fong Road Kwai Fong, N.T., Hong Kong Tel: 852-2401-1200 Fax: 852-2401-3431 India Microchip Technology Inc India Liaison Office Divyasree Chambers 1 Floor, Wing A (A3 /A4 ) No 11, O’Shaugnessey Road Bangalore, 560 025, India Tel: 91-80-2290061 Fax: 91-80-2290062... 949-263-1888 Fax: 949-263-1338 San Jose Microchip Technology Inc 2107 North First Street, Suite 590 San Jose, CA 95131 Tel: 408-436-7950 Fax: 408-436-7955 Toronto 6285 Northam Drive, Suite 108 Mississauga, Ontario L4V 1X5, Canada Tel: 905-673-0699 Fax: 905-673-6509 Microchip Technology Consulting (Shanghai) Co., Ltd., Beijing Liaison Office Unit 915 Bei Hai Wan Tai Bldg No 6 Chaoyangmen Beidajie Beijing,... not authorized except with express written approval by Microchip No licenses are conveyed, implicitly or otherwise, under any intellectual property rights Trademarks The Microchip name and logo, the Microchip logo, K EELOQ, MPLAB, PIC, PICmicro, PICSTART and PRO MATE are registered trademarks of Microchip Technology Incorporated in the U.S .A and other countries FilterLab, microID, MXDEV, MXLAB, PICMASTER, ... Yokohama-shi Kanagawa, 22 2-0 033, Japan Tel: 8 1-4 5-4 7 1- 6166 Fax: 8 1-4 5-4 7 1-6 122 Korea Microchip Technology Korea 16 8-1 , Youngbo Bldg Floor Samsung-Dong, Kangnam-Ku Seoul, Korea 13 5-8 82 Tel: 8 2-2 -5 5 4-7 200... A (A3 /A4 ) No 11, O’Shaugnessey Road Bangalore, 560 025, India Tel: 9 1-8 0-2 290061 Fax: 9 1-8 0-2 290062 Japan Microchip Technology Japan K.K Benex S-1 6F 3-1 8-2 0, Shinyokohama Kohoku-Ku, Yokohama-shi... Mountain China - Beijing 2355 West Chandler Blvd Chandler, AZ 8522 4-6 199 Tel: 48 0-7 9 2-7 966 Fax: 48 0-7 9 2-4 338 Atlanta 500 Sugar Mill Road, Suite 200B Atlanta, GA 30350 Tel: 77 0-6 4 0-0 034 Fax: 77 0-6 4 0-0 307

Ngày đăng: 11/01/2016, 11:46

TỪ KHÓA LIÊN QUAN

w