Accessing the shared! communication medium!! Media! Access! Conntrol!

Size: px
Start display at page:

Download "Accessing the shared! communication medium!! Media! Access! Conntrol!"

Transcription

1 Accessing the shared communication medium Media Access Conntrol 1 J. Kaiser, IVS-EOS

2 Common Layering in the fieldbus area 7 7 application layer Service Access Point (SAP) 2 2 link layer 1 1 physical layer Assumption: homogeneous, closed system Not all layers are necessary (e.g. routing) Empty layers in the ISO/OSI- model Higher layers directly access the SAPs of lower layers. Efficiency improvement Direct mapping of layer 7 services to layer 2 functionality. 2 J. Kaiser, IVS-EOS

3 Media Access Control & Logical Link Layer arbitration flow control fault and error handling message re-transmissions transfer of data blocks control data transfer Logical Link Media Access LL -layer MAC -layer fault and error treatment, re-transmission flow control access control, arbitration control 3 J. Kaiser, IVS-EOS

4 What are the impairments of predicatbilty? Load Failures Predictability Network contention Arbitration conflicts transmission errors, lost messages 4 J. Kaiser, IVS-EOS

5 controlled access MAC-protocols random access Collision avoidance Collision resolution Reservation-based Token-based Time-based Master- Priority-based Slave dynamic ATM static TDMA: TTP, Maruti Token-Ring Token-Bus Timed Token Protocol CSMA/CA : Collision Avoidance IEEE P-persistent CSMA LON, VTCSMA ProfiBus DP FIP CAN-Open CSMA/CA : Consistent Arbitration CAN Ethernet probabilistic CSMA/CD : Carrier Sense Multiple Access / Collision Detection 5 J. Kaiser, IVS-EOS

6 Predictability in random access networks: Probabilistic very low overhead and latency in low load conditions very flexible wrt. extensibility thrashing in high load situations Collision avoidance (static & dynamic) Static: distinguishes planning phase and operation phase. Dynamic-1: balances the latency against the collision probability Dynamic-2: maps message priority to waiting time Consistent arbitration with Collision Resolution needs support from the physical layer maintains a constant throughput in all load conditions supports sophisticated fault handling 6 J. Kaiser, IVS-EOS

7 CSMA access modes 1-persistent Sender checks medium continuously. If medium is free, sender starts sending. In case of collision, sender waits random period of time before it checks the medium again. Non-persistent (0-persistent) Sender senses the medium. If medium is free, sender starts transmitting the data. If the channel is busy, sender waits for a certain (random or specified) amount of time and then repeats the procedure. P-persistent Sender checks the medium continuously. If the medium is free, the sender transmits a frame with a probability p. Unslotted variant: With probability 1-p the sender waits for a specified period of time. It again checks the availability of the channel and repeats the procedure. Slotted variant: With probability 1-p the sender waits until the next available time slot. It again checks the availability of the channel and repeats the procedure. 7 J. Kaiser, IVS-EOS

8 1-persistent CSMA check channel check channel check channel channel free, transmission starts channel occupied, collission wait random time t 8 J. Kaiser, IVS-EOS

9 Non-persistent CSMA (0-persistent) check channel check channel wait random time check channel again channel free, transmission starts immediately channel occupied, channel free, transmission starts immediately t 9 J. Kaiser, IVS-EOS

10 p-persistent CSMA check channel wait random time with probability 1-p check channel check channel channel free, transmit immediately with probability p channel occupied, t 10 J. Kaiser, IVS-EOS

11 Controlled Access by Collision Exclusion: Master/Slave all control information in one place maximum of control easy to change Global Time Easy temporal co-ordination Minimal communication overhead Token-based Decentralized mechanism Integration of critical and non- critical messages 11 J. Kaiser, IVS-EOS

12 CAN-Bus Controller Area Network 12 J. Kaiser, IVS-EOS

13 CAN Milestones 13 J. Kaiser, IVS-EOS

14 Controller Area Network Standards und Anwendungen ISO :2003 Road vehicles Part 1: Data link layer and physical signalling ISO :2003 Road vehicles Part 2: High-speed medium access unit ISO :2006 Road vehicles Part 3: Low-speed, fault-tolerant, medium dependent interface ISO :2004 Road vehicles Part 4: Time-triggered communication ISO :2007 Road vehicles Part 5: High-speed medium access unit with low-power mode ISO/NP Road vehicles Part 6: High-speed medium access unit with selective wake-up functionality CAN (FD) with Flexible Data-Rate, Bosch White Paper 2011 Application Areas: Automotive connecting smart ECUs, sensor units and multi-media units Industrial Automation time critical sensor-actuator control loops Elevators connecting control units of the elevator and groups of elevators Medicine MRT, CRT, lab units, e-wheel chairs Avionics connecting cabin techmology, flight control units Space parallel bus architectures Music and stage techn. control of digital power amplifiers Trains Ships DGzRS (German off shore SAR) uses CAN in their SAR ships aus: 14 J. Kaiser, IVS-EOS

15 The CAN Standard Developed by BOSCH, CAN Specification 1.2 CAN Specification 2.0 Difference between the specifications mainly is: the different lenth of message identifiers (CAN-ID) Standard CAN: 11 Bit IDs (defined in CAN 2.0 A 1.2) Extended CAN: 29 Bit IDs (defined in CAN 2.0 B) CAN-Controller Implementations: Basic CAN: 1 Transmit + 1 Receive (Shadow) Buffer Extended CAN: 16 Configurable Transmit/Receive Buf. 15 J. Kaiser, IVS-EOS

16 Basic CAN properties Prioritised messages Bounded and guaranteed message delay for the highest priority message. Constant troughput in all load situations Error detection and signalling in the nodes. Automatic re-transmission. Fail silent behaviour of nodes. Consistent message delivery. Multicast with time synchronization. 16 J. Kaiser, IVS-EOS

17 Layers defined by the CAN standard Data Link Layer LLC Acceptance Filtering Overload Notification Recovery Management MAC Data Encapsulation/ Decapsulation Frame Coding (Stuffing/Destuffing) Medium Access Management Error Detection Error Signalling Acknowledge Serialization /Deserialization Supervisor Fault Confinement Physical Layer Bit Encoding / Decoding Bit Timing Synchronization Bus Failure Driver/Receiver Characteristics LLC = Logical Link Control MAC = Medium Access Control 17 J. Kaiser, IVS-EOS

18 CAN differential transmission scheme CAN node CAN node CAN node CAN_H 128 Ω 128 Ω CAN_L CAN termination resistors 3,5 CAN_H 2,5 1,5 CAN_L recessive dominant recessive 18 J. Kaiser, IVS-EOS

19 The CAN physical layer Vcc physisal Bus connection by Wired And 0 = dominant level 1 = recessive level physisal connection S E CAN driver CC CC CC logic equivalent CC CC CC 19 J. Kaiser, IVS-EOS

20 CAN Bit Synchronisation node node CAN Bus After a certain time, all nodes have seen the value of a bit Bit rate dependend on the length of the bus Bit Monitoring 20 J. Kaiser, IVS-EOS

21 Bit-timing and bit synchronization Bitzeit = 1/nominal bit rate signal propagation- segment synchronization- segment phase buffer segment 1 phase buffer segment 2 sample (read) point Länge der Zeitsegmente werden in Vielfachen einer aus der Oszillatorperiode abgeleiteten Zeiteinheit (time quantum) spezifiziert: synch.-segment 1 time quanta sig. propag. seg time quantas phase buffer seg time quantas phase buffer seg time quantas 21 J. Kaiser, IVS-EOS

22 CAN transfer rates in relation to the bus length T d = T TT-delay + T line delay T TT-delay ~ 100 ns (driver, transceiver, comparator logic, etc.) T line delay ~ 5ns/m (0,2 m / ns) twisted pair Bitrate max. network (kbits/s) extension (m) J. Kaiser, IVS-EOS

23 CAN payload payload # of bytes Std. frame extended frame kbits/sec kbits/sec ,1 61, ,1 122, ,2 183, ,3 244, ,4 305, ,4 366, ,5 427, ,6 488,5 23 J. Kaiser, IVS-EOS

24 The CAN MAC and Logical Link Control (LLC) levels Frame types and formats: Data Frame normal data transmision initiated by the sender Remote Frame participant requests frame which is sent with the identical frame ID from some other participant. Error Frame participant signals an error which it has detected Overload Frame used for flow control. Results in a delayed sending of the subsequent frame. 24 J. Kaiser, IVS-EOS

25 CAN Standard Data Frame RTR-Bit inter frame Space 11 6 data frame inter frame space or overload- frame start of frame abitration field control field data field CRC field ACK field end of frame 25 J. Kaiser, IVS-EOS

26 Compatibility between standard and extended frames Standard Format SF (compatible to CAN Spezifikation 1.2) arbitration field control field data S O F 11-Bit Identifier R T R I D E r 0 DLC Extended Format EF (CAN Spezifikation 2.0) arbitration field control field data S O F 11-Bit Identifier S R R I D E 18-Bit Identifier R T R r 1 r 0 DLC RTR: Remote Transmission Request. In Data Frame: RTR = dominant. In Remote Frame: RTR = recessive. IDE: Identifier Extension. In the SF this is part of the control field, has a dominant value but is not interpreted. In the EF it is part of the addressing field, has a recessive value and causes the format to be recognized as EF. SRR: Subsitute Remote Request.Always recessive, replaces RTR in the EF for compatibility reasons. DLC: Data Length Control. 0-8 Byte. r0, r1: reserved 26 J. Kaiser, IVS-EOS

27 Arbitration on a CAN-Bus 0 = dominant 1 = recessive Station C stops Station A stops A B x x x x x C 0 1 CAN-Bus x x x x x CAN enforces a global priority-based message scheduling 27 J. Kaiser, IVS-EOS

28 N arbitration all bits received? Y wait for interframe space SOF receive state netx arbitration bit lost arbitration: sent: recessive level received: dominant level compare bus level with the level of the bit put on the bus bit error: sent: dominant received: recessive error state send Y all bits put on the bus? N 28 J. Kaiser, IVS-EOS

29 CAN Standard Data Frame RTR-Bit inter frame Space 11 6 data frame inter frame space or overload- frame start of frame abitration field control field data field CRC field ACK field end of frame 29 J. Kaiser, IVS-EOS

30 Anonymous acknowledgement of a CAN message CRC field acknowledge field end-of-frame pattern 1 Bit 1 Bit 7-Bit dom. recess. recess. ACK-Slot ACK delimiter positive anonymous acknowledgement (Broadcast ) receivers that correctly received a message(a matching CRC sequence) report this in the ack-slot by superscibing the recessive bit of the sender by a dominat bit. The sender switches to a recessive level. Message is acknowledged by a single correct reception on a correct node. Systemwide data consistency requires additional signalling of local faults. 30 J. Kaiser, IVS-EOS

31 Termination sequence of a frame 11 recessive bits CRC field Ack-field end of frame inter frame space 1 bit 1 bit 7 bit min. 3 bit dom. recess. recess. Goals: 1. Detecting AND signalling the error within the actual fame in which it occured 2. Identifying the node which may have caused the error. 3. Creating a systemwide view on the reception state of the message. Approach: End of frame pattern consisting of 7 recessive bits. 1. Any error detection is signalled by putting a dominant bit on the bus. 2. An out-of-sync node, not being aware of the EOF sequence will signal an error at position "6". 31 J. Kaiser, IVS-EOS

32 Interframe Space Frame Inter-Frame Space Frame sof I1 I2 Intermission Bus Idle Intermission: no data- or remote Frame may be started Intermission 1: active overload Frame may be started Intermission 2: re-active overload frame (after detecting a dominant bit in I1) 32 J. Kaiser, IVS-EOS

33 Error Detection and Error Signalling in CAN Bit-Stuffing enforces the following rule: Violation of the Bit-Stuffing Rule: Used for Error Detection and Signalling A sequence of 5 identical bit levels is followed by a complementary bit level CAN Data Frame Arbitration ACK End Of Frame (EOF) pattern Cntrl......Data.... CRC validation point for receivers validation point for the sender 33 J. Kaiser, IVS-EOS

34 Error detection 1.) Monitoring: Sender compares the bit sent with the bit actually on the bus. Type of faults: local sender faults Error detection: sender based 2.) Cyclic Redundancy Check: Type of faults: 5 arbitrarily distributed faults in the code word, burst error max. length 15. Error detection: receiver based 3.) Bitstuffing: Type of faults: transient faults, stuck-at-faults in the sender Error detection: receiver based 4.) Format control: Type of faults: the specified sequence of fields is violated. Error detection: receiver based 5.) Acknowledgment: Type of faults: no acknowledge Error detection: sender based, sender assumes local fault. 34 J. Kaiser, IVS-EOS

35 Risk of undetected errors Bit monitoring: An error will not be detected if - the sender is correct and monitoring doesn't detect an error - all other nodes receive the same bit pattern which is different from that of the sender and contains a non-detectable error. Bit-stuffing: double errors within 6 bits will not be detected CRC: difference between frame sent and received is a multiple of the generator polynome. Frame errors: the frame is shortened or additional bits are added. At the same time a correct end-of-frame sequence is generated. Unruh, Mathony und Kaiser: Error Detection Analysis of Automotive Communication Protocols, SAE International Congress, Nr , Detroit, USA, 1990 Scenario: nodes: 10, Bit error rate: , message error rate: 10-3 risk of undetected errors: 4, When the number of nodes increase, the probability of undetected errors decreases. 35 J. Kaiser, IVS-EOS

36 CAN error frame data error field IFS or overload frame dominant recessive 6-Bit error flag 8-Bit error frame EOF sequence error flag superposition 6-12 Bits 36 J. Kaiser, IVS-EOS

37 Error frame resulting from a sender fault SP X (sender) SP Y (receiver) SP Z (receiver) bus level SL: send level 6 Bit 6 Bit 8 Bit 3 Bit error frame IFS S O F time to re-transmit a faulty message frame: min. error recovery time: 23 bit times 37 J. Kaiser, IVS-EOS

38 Error frame resulting from a receiver fault SP X (sender) SL: send level SP Y (receiver) SP Z (receiver) bus level CRC-field Ack- field 7 Bit 8 Bit 3 Bit IFS reeor frame S O F time to re-transmit: min. error recovery time: 20 bit times 38 J. Kaiser, IVS-EOS

39 Enforcing fault confinement and a Fail Silent behaviour Problem: Assumption: Faulty component may block the entire message transfer on the CAN-Bus. 1. A faulty node detects the error first. 2. frequently being the first which detects an error --> local fault in the node approach: error counter for receive and transmit errors. If error was first detected by the node, the counter is increased by J. Kaiser, IVS-EOS

40 Enforcing fault confinement and a Fail Silent behaviour States of a CAN node: error active error passive bus off RxCNT: Value of the receive counter TxCNT: Value of the transmit counter RxCNT > 127 OR TxCNT > 127 error active error passive TxCNT > 255 bus off RxCNT 127 AND TxCNT 127 Reset + configuration + reception of 128 x 11 recessive Bits (i.e. 128 correct EOF recognitions) 40 J. Kaiser, IVS-EOS

41 CAN bus Error Handling - Transmit Error Counter error passive state error active state 41 J. Kaiser, IVS-EOS

42 Analysis of CAN inaccessibility CAN Data Frame Interframe Space 2 data frame Interframe Space or overload frame Start of Frame arbitration field control field data field CRC field ACK field End of Frame longest possible message: Format-Overhead: 67 bit times Data: 64 bit times Bitstuffing (max): 23 bit times total: 154 bit times 42 J. Kaiser, IVS-EOS

43 CAN Inaccessibility Times* Data Rate 1 Mbps, Standard Format Scenario t inacc (µs) Bit Errors Bit Stuffing Errors CRC Errors Form Errors Ack. Errors Overload Errors 40.0 Reactive Overload Errors 23.0 Overload Form Errors 60.0 Transmitter Failure Receiver Failure worst case single worst case multiple P. Verissimo, J. Ruffino, L. Ming: How hard is hard real-time communication on field-busses? 43 J. Kaiser, IVS-EOS

44 Predictability of various Networks* Worst Case Times of Inaccessibility* t inacc (ms) ISO 8002/4 Token Bus (5 Mbps) ISO 8002/5 Token Ring (4 Mbps) ISO 9314 FDDI (100 Mbps) Profibus (500 kbps) CSMA/CD unbounded CSMA/CA stochastic CAN-Bus(1Mbps) 2.48 Token-based Protocols CSMA Protocols * P. Verissimo, J. Ruffino, L. Ming: How hard is hard real-time communication on field-busses? 44 J. Kaiser, IVS-EOS

45 CAN-Bus Properties (summary) Event-triggered communication with low latency Priority-based arbitration with collision resolution for guaranteed throughput error handling: anonymous positive acknowledge negative ack. in case of an error (system wide messaging) identification of faulty nodes immediate synchronization and retransmission content-based addressing with a high flexibilitx (system elasticity) 45 J. Kaiser, IVS-EOS

46 High level issues Routing: How does a message reach a receiver? CAN: Broadcast, message subjects Filtering: CAN: message filters How can the receiver only receive those messages selectively in which it is interested in? 46 J. Kaiser, IVS-EOS

47 The CAN communication modell CPU CPU CAN-ID write read CAN-ID Send/ Receive Register CAN-ID CAN-ID Comm. Contrl. CPU CAN-ID Producer/Consumer, Model of a distributed memory CAN-ID : Transmit Request 47 J. Kaiser, IVS-EOS

48 The CAN communication modell CAN-ID 29/11 0 node a node b node n 48 J. Kaiser, IVS-EOS

49 CAN Components (Micro-) Controller CAN Communication Controller Stand-alone Microcontroller with integrated CAN I/O-components (SLIO) Transceiver chips Full CAN Basic CAN Transceiver 49 J. Kaiser, IVS-EOS

50 Tasks of the CAN Controller Arbitration Serialisation of message frames to transmit Assembling of received frames Calculating and testing the checksum Filtering messages Error detetction and signalling Building CAN-message formats Implementing Bit-Stuffing Generation and check of the acknowledge-bits Synchronization of the received bitstreams 50 J. Kaiser, IVS-EOS

51 Basic CAN CAN-Bus bus-interface protocol automaton acceptance filter global status/control register transmit-buffer receive buffer (shadow buffer) processor-interface processor 51 J. Kaiser, IVS-EOS

52 SJA1000 (Philips) 52 J. Kaiser, IVS-EOS

53 SJA1000 (Philips) Register and Memory Layout 53 J. Kaiser, IVS-EOS

54 SJA1000 (Philips) 54 J. Kaiser, IVS-EOS

55 message filtering message register filter mask x 1 x x x x x x x x The number of registers to store messages, configuration options and the ways to filter messages are dependent on the communication controller 55 J. Kaiser, IVS-EOS

56 SJA1000 (Philips) single mask option ACR: defines the pattern of CAN message IDs which are accepted. AMR: defines a mask of "don't care" positions. 56 J. Kaiser, IVS-EOS

57 Full CAN CAN-Bus bus-interface protocol- automaton acceptance filter global status/control register send/receive - buffer send/receive- buffer processor-interface processor... send/receive- buffer 57 J. Kaiser, IVS-EOS

58 AVR AT90CAN128 CAN Controller From Data Sheet: ATMEL: 8-Bit AVR Microcontroller with 128K Bytes of ISP Flash and CAN Controller AT90CAN J. Kaiser, IVS-EOS

59 AVR AT90CAN128 Acceptance Filtering Identifier tag (IDT) Identifier mask (IDMSK) Identifier extension (IDE) Identifier extension mask (IDEMSK) Remote transmission request (RTRTAG) Remote transmission request mask (RTRMSK) Data length code (DLC) Reserved bit(s) (RB) Examples: To accept only ID = 0x317 in part A. To accept ID from 0x310 up to 0x317 in part A. - ID MSK = ID MSK = ID TAG = ID TAG = xxx 59 J. Kaiser, IVS-EOS

60 What CAN can t All-or-nothing property under all single (crash/omission) fault conditions Consistent order of messages Temporal guarantees for message transmissions TTCAN FTTCAN 60 J. Kaiser, IVS-EOS

61 Error Detection and Error Signalling in CAN The Case for Inconsistencies Bit-Stuffing enforces the following rule: Violation of the Bit-Stuffing Rule: Used for Error Detection and Signalling A sequence of 5 identical bit levels is followed by a complementary bit level CAN Data Frame Arbitration ACK End Of Frame (EOF) pattern Cntrl......Data.... CRC validation point for receivers validation point for the sender 61 J. Kaiser, IVS-EOS

62 Consequences from the validition protocol J. Rufino, P. Veríssimo, C. Almeida, L. Rodrigues: Fault-Tolerant Broadcasts in CAN, Proc. FTCS-28, Munich, Germany, June J. Kaiser, Mohammad Ali Livani: Achieving Fault-Tolerant Ordered Broadcasts in CAN Proc. of the 3 rd European Dependable Computing Conference, (EDCC-3), Prague, Sept inconsistent message duplicates inconsistent omission faults (potentially) unbounded latencies 62 J. Kaiser, IVS-EOS

Operating Systems, Concurrency and Time. real-time communication and CAN. Johan Lukkien

Operating Systems, Concurrency and Time. real-time communication and CAN. Johan Lukkien Operating Systems, Concurrency and Time real-time communication and CAN Johan Lukkien (Courtesy: Damir Isovic, Reinder Bril) Question Which requirements to communication arise from real-time systems? How

More information

Communication Networks for the Next-Generation Vehicles

Communication Networks for the Next-Generation Vehicles Communication Networks for the, Ph.D. Electrical and Computer Engg. Dept. Wayne State University Detroit MI 48202 (313) 577-3855, smahmud@eng.wayne.edu January 13, 2005 4 th Annual Winter Workshop U.S.

More information

BOSCH. CAN Specification. Version , Robert Bosch GmbH, Postfach , D Stuttgart

BOSCH. CAN Specification. Version , Robert Bosch GmbH, Postfach , D Stuttgart CAN Specification Version 2.0 1991, Robert Bosch GmbH, Postfach 30 02 40, D-70442 Stuttgart CAN Specification 2.0 page 1 Recital The acceptance and introduction of serial communication to more and more

More information

Course Introduction. Purpose. Objectives. Content. Learning Time

Course Introduction. Purpose. Objectives. Content. Learning Time Course Introduction Purpose This training course provides an overview of Message Frames and hardware issues of the Controller Area Network (CAN) technology used to build networked, multiprocessor embedded

More information

Introduction to Controller Area Network (CAN)

Introduction to Controller Area Network (CAN) Introduction to Controller Area Network (CAN) 2003 Microchip Technology Incorporated. All Rights Reserved. Introduction to Controller Area Network (CAN) 1 Topics CAN Protocol Overview What is CAN? CAN

More information

Controller Area Network

Controller Area Network Controller Area Network 1 CAN FUNDAMENTALS...3 1.1 USER BENEFITS...3 1.1.1 CAN is low cost...3 1.1.2 CAN is reliable...3 1.1.3 CAN means real-time...3 1.1.4 CAN is flexible...3 1.1.5 CAN means Multicast

More information

Additional Slides (informative)

Additional Slides (informative) Automation Systems Discrete Event Control Systems and Networked Automation Systems Additional Slides (informative) Application Automotive Networks (LIN, CAN, FlexRay, MOST) Vorlesungstitel Vehicle Bus

More information

The House Intelligent Switch Control Network based On CAN bus

The House Intelligent Switch Control Network based On CAN bus The House Intelligent Switch Control Network based On CAN bus A.S.Jagadish Department Electronics and Telecommunication Engineering, Bharath University Abstract The Embedded Technology is now in its prime

More information

Controller area network

Controller area network Controller area network From Wikipedia, the free encyclopedia (Redirected from Controller area network) Controller area network (CAN or CAN-bus) is a vehicle bus standard designed to allow microcontrollers

More information

Today. Last Time. Motivation. CAN Bus. More about CAN. What is CAN?

Today. Last Time. Motivation. CAN Bus. More about CAN. What is CAN? Embedded networks Characteristics Requirements Simple embedded LANs Bit banged SPI I2C LIN Ethernet Last Time CAN Bus Intro Low-level stuff Frame types Arbitration Filtering Higher-level protocols Today

More information

Recommended readings

Recommended readings Recommended readings Dominique Paret, Multiplexed Networks for Embedded Systems: CAN, LIN, FlexRay, Safe-by-Wire..., ISBN: 978-0- 470-03416-3, 434 pages, WILEY, UK, 2007. Wolfhard Lawrenz, CAN System Engineering:

More information

An Introduction to CAN by Peter Bagschik (I+ME ACTIA)

An Introduction to CAN by Peter Bagschik (I+ME ACTIA) 1 of 11 24.10.00 14:36 An Introduction to CAN by Peter Bagschik (I+ME ACTIA) The CAN (Controller Area Network) protocol was developed in Europe for the use in passenger cars. Through the successful use

More information

Systems. Roland Kammerer. 10. November Institute of Computer Engineering Vienna University of Technology. Communication Protocols for Embedded

Systems. Roland Kammerer. 10. November Institute of Computer Engineering Vienna University of Technology. Communication Protocols for Embedded Communication Roland Institute of Computer Engineering Vienna University of Technology 10. November 2010 Overview 1. Definition of a protocol 2. Protocol properties 3. Basic Principles 4. system communication

More information

Real-Time (Paradigms) (47)

Real-Time (Paradigms) (47) Real-Time (Paradigms) (47) Memory: Memory Access Protocols Tasks competing for exclusive memory access (critical sections, semaphores) become interdependent, a common phenomenon especially in distributed

More information

Workshop on In Vehicle Network using CAN By

Workshop on In Vehicle Network using CAN By Workshop on In Vehicle Network using CAN By Modern CAR Modern CAR INTRODUCTION 1. Controller Area Network (CAN) was initially created by German automotive system supplier Robert Bosch in the mid-1980s.

More information

CAN-FD Flexible Data Rate CAN

CAN-FD Flexible Data Rate CAN FD CAN-FD Flexible Data Rate CAN A Short Primer and Update V. 202-08-27 Agenda > Why CAN-FD? What is CAN-FD? Basic Concepts CAN-FD Specifics Data Frame Operating Modes/States Physical Layer Considerations

More information

Data Link Layer Technologies

Data Link Layer Technologies Chapter 2.2 La 2 Data Link La Technologies 1 Content Introduction La 2: Frames Error Handling 2 Media Access Control General approaches and terms Aloha Principles CSMA, CSMA/CD, CSMA / CA Master-Slave

More information

CAN bus and NMEA2000 1

CAN bus and NMEA2000 1 NMEA2000 relation to CAN and how Warwick Control can help Richard McLaughlin B.Sc., M.Sc., CEng Dr Chris Quigley Warwick Control NMEA Conference 2016, Naples, Florida CAN bus and NMEA2000 1 Company Profile

More information

Tutorial Introduction

Tutorial Introduction Tutorial Introduction PURPOSE: This tutorial provides a detailed description of the features and operations of the TouCAN bus. OBJECTIVES: Describe the CAN specification and layer architecture. Identify

More information

An Overview of the Controller Area Network

An Overview of the Controller Area Network An Overview of the Controller Area Network José Rufino ruf@digitais.ist.utl.pt IST - UTL Abstract The Controller Area Network (CAN) is a communication bus for message transaction in small-scale distributed

More information

The Controller Area Network (CAN) Interface

The Controller Area Network (CAN) Interface The Controller Area Network (CAN) Interface ARSLAB - Autonomous and Robotic Systems Laboratory Dipartimento di Matematica e Informatica - Università di Catania, Italy santoro@dmi.unict.it L.S.M. Course

More information

EP A1 (19) (11) EP A1 (12) EUROPEAN PATENT APPLICATION. (43) Date of publication: Bulletin 2012/45

EP A1 (19) (11) EP A1 (12) EUROPEAN PATENT APPLICATION. (43) Date of publication: Bulletin 2012/45 (19) (12) EUROPEAN PATENT APPLICATION (11) EP 2 521 319 A1 (43) Date of publication: 07.11.2012 Bulletin 2012/45 (51) Int Cl.: H04L 12/40 (2006.01) H04L 1/00 (2006.01) (21) Application number: 11164445.6

More information

Real-Time Communications. LS 12, TU Dortmund

Real-Time Communications. LS 12, TU Dortmund Real-Time Communications Prof. Dr. Jian-Jia Chen LS 12, TU Dortmund 20, Jan., 2016 Prof. Dr. Jian-Jia Chen (LS 12, TU Dortmund) 1 / 29 Random Access no access control; requires low medium utilization Prof.

More information

Using CAN Arbitration for Electrical Layer Testing

Using CAN Arbitration for Electrical Layer Testing Using CAN Arbitration for Electrical Layer Testing Sam Broyles and Steve Corrigan, Texas Instruments, Inc. The Controller Area Network (CAN) protocol incorporates a powerful means of seamlessly preventing

More information

CAN Protocol Implementation

CAN Protocol Implementation CAN Protocol Implementation Arun Pasupathi, Gaurav Agalave Electrical and Computer Engineering Department School of Engineering and Computer Science Oakland University, Rochester, MI e-mails: apasupathi@oakland.edu,

More information

CAN with Flexible Data-Rate

CAN with Flexible Data-Rate CAN with Flexible Data-Rate Florian Hartwich, Robert Bosch GmbH Ever increasing bandwidth requirements in automotive networks impede the applicability of CAN due to its bit rate limitation to 1 MBit/s.

More information

Figure 1. ECU Access to CAN bus

Figure 1. ECU Access to CAN bus Welcome to our 4th CAN Tech Tips feature (Sort of a Chinese New Year edition). In December we showed how the CAN frame is packaged before sending over the physical bus. In the edition we will cover the

More information

Controller Area Network CAN. overview

Controller Area Network CAN. overview Controller Area Network CAN overview Some CAN Milestones Development on CAN starts at BOSCH Intel joins in the project CAN published First working CAN chip SAAB Training Target control CAN chips available

More information

ISO INTERNATIONAL STANDARD. Road vehicles Controller area network (CAN) Part 3: Low-speed, fault-tolerant, medium-dependent interface

ISO INTERNATIONAL STANDARD. Road vehicles Controller area network (CAN) Part 3: Low-speed, fault-tolerant, medium-dependent interface INTERNATIONAL STANDARD ISO 11898-3 First edition 2006-06-01 Road vehicles Controller area network (CAN) Part 3: Low-speed, fault-tolerant, medium-dependent interface Véhicules routiers Gestionnaire de

More information

Automotive and highly dependable Networks!

Automotive and highly dependable Networks! Automotive and highly dependable Networks H. Kopetz, TU Wien (see references in the introduction) Excellent surveys: TTP: Hermann Kopetz, Günther Bauer: "The Time-Triggered Architecture" http://www.tttech.com/technology/docs/history/hk_2002-10-tta.pdf

More information

Content. Deterministic Access Polling(1) Master-Slave principles: Introduction Layer 2: Media Access Control

Content. Deterministic Access Polling(1) Master-Slave principles: Introduction Layer 2: Media Access Control Content Introduction Layer 2: Frames Error Handling Media Access Control General approaches and terms Network Topologies Media Access Principles (Random) Aloha Principles CSMA, CSMA/CD, CSMA / CA Media

More information

CONTROLLER AREA NETWORK (CAN)

CONTROLLER AREA NETWORK (CAN) GROUP 54C CONTROLLER AREA NETWORK (CAN) CONTENTS GENERAL INFORMATION........ 54C-2 STRUCTURE................... 54C-3 SELF-DIAGNOSIS............... 54C-6 CAN BUS DIAGNOSTICS......... 54C-6 OPERATION...................

More information

The Link Layer and LANs. Chapter 6: Link layer and LANs

The Link Layer and LANs. Chapter 6: Link layer and LANs The Link Layer and LANs EECS3214 2018-03-14 4-1 Chapter 6: Link layer and LANs our goals: understand principles behind link layer services: error detection, correction sharing a broadcast channel: multiple

More information

DEFINITION AND IMPLEMENTATION OF AN ARCHITECTURAL CONCEPT FOR CONFIGURING A CAN NETWORK

DEFINITION AND IMPLEMENTATION OF AN ARCHITECTURAL CONCEPT FOR CONFIGURING A CAN NETWORK Bachelor's thesis Degree Programme in Information Technology Internet Technology 2015 Daria Shevchenko DEFINITION AND IMPLEMENTATION OF AN ARCHITECTURAL CONCEPT FOR CONFIGURING A CAN NETWORK BACHELOR S

More information

CAN protocol enhancement

CAN protocol enhancement Protocols CAN protocol enhancement This article describes the enhanced CAN protocol called CAN-HG and the features of the IC circuitry from Canis that implement it. CAN-HG has been designed to meet two

More information

Controller Area Network (CAN)

Controller Area Network (CAN) Controller Area Network (CAN) EECS 461, Fall 2008 J. A. Cook J. S. Freudenberg 1 Introduction Up until now, we ve considered our embedded control system to be self-contained: an algorithm implemented in

More information

2.1 CHANNEL ALLOCATION 2.2 MULTIPLE ACCESS PROTOCOLS Collision Free Protocols 2.3 FDDI 2.4 DATA LINK LAYER DESIGN ISSUES 2.5 FRAMING & STUFFING

2.1 CHANNEL ALLOCATION 2.2 MULTIPLE ACCESS PROTOCOLS Collision Free Protocols 2.3 FDDI 2.4 DATA LINK LAYER DESIGN ISSUES 2.5 FRAMING & STUFFING UNIT-2 2.1 CHANNEL ALLOCATION 2.2 MULTIPLE ACCESS PROTOCOLS 2.2.1 Pure ALOHA 2.2.2 Slotted ALOHA 2.2.3 Carrier Sense Multiple Access 2.2.4 CSMA with Collision Detection 2.2.5 Collision Free Protocols 2.2.5.1

More information

A CAN-Based Architecture for Highly Reliable Communication Systems

A CAN-Based Architecture for Highly Reliable Communication Systems A CAN-Based Architecture for Highly Reliable Communication Systems H. Hilmer Prof. Dr.-Ing. H.-D. Kochs Gerhard-Mercator-Universität Duisburg, Germany E. Dittmar ABB Network Control and Protection, Ladenburg,

More information

Digital communication technology for teaching automatic control: the level control case

Digital communication technology for teaching automatic control: the level control case Digital communication technology for teaching automatic control: the level control case Nicolás H. Beltrán, Manuel A. Duarte-Mermoud and Pablo A. Kremer Department of Electrical Engineering, University

More information

CAN in Space workshop

CAN in Space workshop CAN in Space workshop Holger Zeltwanger www.can-cia.org The next generation of CAN technology: Chances and challenges of CAN FD Presentation outline u Introduction into CAN FD u CAN FD physical layer u

More information

in Mainz (Germany) Sponsored by Allen Bradley National Semiconductor Philips Semiconductors Organized by

in Mainz (Germany) Sponsored by Allen Bradley National Semiconductor Philips Semiconductors Organized by 1 st international CAN Conference icc 1994 in Mainz (Germany) Sponsored by Allen Bradley National Semiconductor Philips Semiconductors Organized by CAN in Automation (CiA) international users and manufacturers

More information

Data Link Layer: Overview, operations

Data Link Layer: Overview, operations Data Link Layer: Overview, operations Chapter 3 1 Outlines 1. Data Link Layer Functions. Data Link Services 3. Framing 4. Error Detection/Correction. Flow Control 6. Medium Access 1 1. Data Link Layer

More information

Links. CS125 - mylinks 1 1/22/14

Links. CS125 - mylinks 1 1/22/14 Links 1 Goals of Today s Lecture Link-layer services Encoding, framing, and error detection Error correction and flow control Sharing a shared media Channel partitioning Taking turns Random access Shared

More information

Field buses (part 2): time triggered protocols

Field buses (part 2): time triggered protocols Field buses (part 2): time triggered protocols Nico Fritz Universität des Saarlandes Embedded Systems 2002/2003 (c) Daniel Kästner. 1 CAN and LIN LIN CAN Type Arbitration Transfer rate Serial communication

More information

Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과.

Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과. Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과 ahn@venus.uos.ac.kr Data Link Layer Goals: understand principles behind data link layer services: error detection, correction sharing a broadcast channel: multiple

More information

Lecture 9: Bridging. CSE 123: Computer Networks Alex C. Snoeren

Lecture 9: Bridging. CSE 123: Computer Networks Alex C. Snoeren Lecture 9: Bridging CSE 123: Computer Networks Alex C. Snoeren Lecture 9 Overview Finishing up media access Ethernet Contention-free methods (rings) Moving beyond one wire Link technologies have limits

More information

ISO INTERNATIONAL STANDARD. Road vehicles Controller area network (CAN) Part 1: Data link layer and physical signalling

ISO INTERNATIONAL STANDARD. Road vehicles Controller area network (CAN) Part 1: Data link layer and physical signalling INTERNATIONAL STANDARD ISO 11898-1 First edition 2003-12-01 Road vehicles Controller area network (CAN) Part 1: Data link layer and physical signalling Véhicules routiers Gestionnaire de réseau de communication

More information

Controller Area Network CAN. messages

Controller Area Network CAN. messages Controller Area Network CAN messages CAN message 11 or 29 bits 0-8 bytes CAN Id/ Priority DLC 4bits Data Frame CAN Data Frame Std Transmitter Receiver 1 0 1 11 1 2 4 0-64 15 1 1 1 7 3 Identifier Start

More information

Development of a CAN Slave Module with SystemC. Igor Sachs Shang Qihua

Development of a CAN Slave Module with SystemC. Igor Sachs Shang Qihua Development of a CAN Slave Module with SystemC Igor Sachs Shang Qihua Agenda 0. Motivation 1. Introduction to the CAN-Bus 1.1 The CAN Message Format (Frame) 1.2 Bus Arbitration 1.3 Bit Stuffing 2. Development

More information

Data link layer functions. 2 Computer Networks Data Communications. Framing (1) Framing (2) Parity Checking (1) Error Detection

Data link layer functions. 2 Computer Networks Data Communications. Framing (1) Framing (2) Parity Checking (1) Error Detection 2 Computer Networks Data Communications Part 6 Data Link Control Data link layer functions Framing Needed to synchronise TX and RX Account for all bits sent Error control Detect and correct errors Flow

More information

UNDERSTANDING THE CONTROLLER AREA NETWORK (CAN)

UNDERSTANDING THE CONTROLLER AREA NETWORK (CAN) UNDERSTANDING THE CONTROLLER AREA NETWORK (CAN) The unsuspecting troops had come under heavy enemy fire just before dawn and the garrison was caught totally by surprise. The fort commander had been awakened

More information

FlexRay and Automotive Networking Future

FlexRay and Automotive Networking Future FlexRay and Automotive Networking Future Chris Quigley Warwick Control Technologies Presentation Overview High Speed and High Integrity Networking Why FlexRay? CAN Problems Time Triggered Network Principles

More information

An Orthogonal and Fault-Tolerant Subsystem for High-Precision Clock Synchronization in CAN Networks *

An Orthogonal and Fault-Tolerant Subsystem for High-Precision Clock Synchronization in CAN Networks * An Orthogonal and Fault-Tolerant Subsystem for High-Precision Clock Synchronization in Networks * GUILLERMO RODRÍGUEZ-NAVAS and JULIÁN PROENZA Departament de Matemàtiques i Informàtica Universitat de les

More information

Multiple Access Protocols

Multiple Access Protocols Multiple Access Protocols Computer Networks Lecture 2 http://goo.gl/pze5o8 Multiple Access to a Shared Channel The medium (or its sub-channel) may be shared by multiple stations (dynamic allocation) just

More information

Ch 7. Network Interface

Ch 7. Network Interface EE414 Embedded Systems Ch 7. Network Interface Part 1/2 Byung Kook Kim School of Electrical Engineering Korea Advanced Institute of Science and Technology Overview 7.1 Advanced Communication Principles

More information

Freescale Semiconductor, I. SECTION 13 CAN 2.0B CONTROLLER MODULE (TouCAN)

Freescale Semiconductor, I. SECTION 13 CAN 2.0B CONTROLLER MODULE (TouCAN) nc. SECTION 13 CAN 2.0B CONTROLLER MODULE (TouCAN) This section is an overview of the TouCAN module. Refer to D.10 TouCAN Module for information concerning TouCAN address map and register structure. 13.1

More information

Serial Buses in Industrial and Automotive Applications

Serial Buses in Industrial and Automotive Applications Serial Buses in Industrial and Automotive Applications Presented by Neelima Chaurasia Class: #368 1 Overview As consumer electronics, computer peripherals, vehicles and industrial applications add embedded

More information

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame Links Reading: Chapter 2 CS 375: Computer Networks Thomas Bressoud 1 Goals of Todayʼs Lecture Link-layer services Encoding, framing, and error detection Error correction and flow control Sharing a shared

More information

in Mainz (Germany) Sponsored by Allen Bradley National Semiconductor Philips Semiconductors Organized by

in Mainz (Germany) Sponsored by Allen Bradley National Semiconductor Philips Semiconductors Organized by 1 st international Conference icc 1994 in Mainz (Germany) Sponsored by Allen Bradley National Semiconductor Philips Semiconductors Organized by in Automation (CiA) international users and manufacturers

More information

Chapter 5 Link Layer and LANs

Chapter 5 Link Layer and LANs Chapter 5 Link Layer and LANs Computer Networking: A Top Down Approach 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007. All material copyright 1996-2007 J.F Kurose and K.W. Ross, All Rights

More information

FlexRay International Workshop. Protocol Overview

FlexRay International Workshop. Protocol Overview FlexRay International Workshop 4 th March 2003 Detroit Protocol Overview Dr. Christopher Temple - Motorola FlexRay principles Provide a communication infrastructure for future generation highspeed control

More information

Link layer, LANs: outline. Chapter 5-1 Link Layer. Link layer: introduction. Link layer services

Link layer, LANs: outline. Chapter 5-1 Link Layer. Link layer: introduction. Link layer services Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Link layer, LANs: outline 5.1 introduction, services 5.2 error detection, correction

More information

CARRIER SENSE MULTIPLE ACCESS (CSMA):

CARRIER SENSE MULTIPLE ACCESS (CSMA): Lecture Handout Computer Networks Lecture No. 8 CARRIER SENSE MULTIPLE ACCESS (CSMA): There is no central control management when computers transmit on Ethernet. For this purpose the Ethernet employs CSMA

More information

Simplify CAN and LIN In-vehicle Network Testing

Simplify CAN and LIN In-vehicle Network Testing Simplify CAN and LIN In-vehicle Network Testing An in-vehicle network integrates many modules that interact with the environment, and process high and low speed information. As a result, testing this network

More information

Helsinki Metropolia University of Applied Sciences Degree Program in Information Technology

Helsinki Metropolia University of Applied Sciences Degree Program in Information Technology Helsinki Metropolia University of Applied Sciences Degree Program in Information Technology Lawrence Nwaogo Implementation of an Embedded System Networking and Vehicle Information Display Bachelor Thesis,

More information

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection: 1 Topics 2 LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS Multiple access: CSMA/CD, CSMA/CA, token passing, channelization LAN: characteristics, i basic principles i Protocol architecture Topologies

More information

Outline. Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties

Outline. Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties Outline Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties Layered Network Architectures - OSI framework descriptions of layers

More information

CS 455/555 Intro to Networks and Communications. Link Layer

CS 455/555 Intro to Networks and Communications. Link Layer CS 455/555 Intro to Networks and Communications Link Layer Dr. Michele Weigle Department of Computer Science Old Dominion University mweigle@cs.odu.edu http://www.cs.odu.edu/~mweigle/cs455-s13 1 Link Layer

More information

Networking with CAN FD have you also thought about testing?

Networking with CAN FD have you also thought about testing? Networking with CAN FD have you also thought about testing? Test environment for manufacturer-independent control unit tests Introduction The introduction of new technologies in the automotive industry

More information

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols High Level View EE 122: Ethernet and 802.11 Ion Stoica September 18, 2002 Goal: share a communication medium among multiple hosts connected to it Problem: arbitrate between connected hosts Solution goals:

More information

Grundlagen der Automatisierungstechnik. 10. Signale und Kommunikation in der Automatisierungstechnik

Grundlagen der Automatisierungstechnik. 10. Signale und Kommunikation in der Automatisierungstechnik Grundlagen der Automatisierungstechnik (Automatisierungstechnik 1) 10. Signale und Kommunikation in der Automatisierungstechnik Outline Signals analogue vs. digital cyclic vs. event-driven Analogue vs.

More information

Implementation of CAN Bus Protocol

Implementation of CAN Bus Protocol Implementation of CAN Bus Protocol Ms. Ashwini S. Shinde ashushinde16@gmail.com Ms. Aarti S. Deshpande aartideshpande11@gmail.com Mr. Pradnyant N Kalamkar pnkalamkar4587@gmail.com Mr. Arjun R. Nichal arjunnichal@gmail.com

More information

MPX-2515 User s Guide

MPX-2515 User s Guide MPX-2515 User s Guide Rev 0100 MPX-2515 User s Guide MPX-2515 CAN 2.0B USB card features USB 2.0 full speed to CAN 2.0B bus interface in Mini-PCIe form factor. This MPX-2515 User's Guide describes how

More information

Road vehicles Controller area network (CAN) Part 1: Data link layer and physical signalling

Road vehicles Controller area network (CAN) Part 1: Data link layer and physical signalling INTERNATIONAL STANDARD ISO 11898-1:2003 TECHNICAL CORRIGENDUM 1 Published 2006-05-15 INTERNATIONAL ORGANIZATION FOR STANDARDIZATION МЕЖДУНАРОДНАЯ ОРГАНИЗАЦИЯ ПО СТАНДАРТИЗАЦИИ ORGANISATION INTERNATIONALE

More information

CHAPTER 7 MAC LAYER PROTOCOLS. Dr. Bhargavi Goswami Associate Professor & Head Department of Computer Science Garden City College

CHAPTER 7 MAC LAYER PROTOCOLS. Dr. Bhargavi Goswami Associate Professor & Head Department of Computer Science Garden City College CHAPTER 7 MAC LAYER PROTOCOLS Dr. Bhargavi Goswami Associate Professor & Head Department of Computer Science Garden City College MEDIUM ACCESS CONTROL - MAC PROTOCOLS When the two stations transmit data

More information

EE 122: Ethernet and

EE 122: Ethernet and EE 122: Ethernet and 802.11 Ion Stoica September 18, 2002 (* this talk is based in part on the on-line slides of J. Kurose & K. Rose) High Level View Goal: share a communication medium among multiple hosts

More information

Link Layer and Ethernet

Link Layer and Ethernet Link Layer and Ethernet 14-740: Fundamentals of Computer Networks Bill Nace Material from Computer Networking: A Top Down Approach, 6 th edition. J.F. Kurose and K.W. Ross traceroute Data Link Layer Multiple

More information

Link Layer and Ethernet

Link Layer and Ethernet Link Layer and Ethernet 14-740: Fundamentals of Computer Networks Bill Nace Material from Computer Networking: A Top Down Approach, 6 th edition. J.F. Kurose and K.W. Ross traceroute Data Link Layer Multiple

More information

Data Link Layer, Part 5. Medium Access Control

Data Link Layer, Part 5. Medium Access Control CS 455 Medium Access Control, Page 1 Data Link Layer, Part 5 Medium Access Control These slides are created by Dr. Yih Huang of George Mason University. Students registered in Dr. Huang s courses at GMU

More information

Data Link Layer. Goals of This Lecture. Engineering Questions. Outline of the Class

Data Link Layer. Goals of This Lecture. Engineering Questions. Outline of the Class Data Link Layer Kuang Chiu Huang TCM NCKU Goals of This Lecture Through the lecture and in-class discussion, students are enabled to describe role and functions of the link layer, and compare different

More information

Gryphon Hardware Information: Dual SJA1000 Fault Tolerant CAN card

Gryphon Hardware Information: Dual SJA1000 Fault Tolerant CAN card Gryphon Hardware Information: Dual SJA1000 Fault Tolerant CAN card External HD-15 connector pinout Note: We recommend that you not hot swap the connector on this module. We recommend that you turn off

More information

ESCAN An Open Source, High Bandwidth, Event Scheduled Controller Area Network

ESCAN An Open Source, High Bandwidth, Event Scheduled Controller Area Network ESCAN An Open Source, High Bandwidth, Event Scheduled Controller Area Network A. Williams, C. Quigley, R. McLaughlin, Warwick Control Event Scheduled CAN (ESCAN) is an open source, scheduling protocol

More information

William Stallings Data and Computer Communications. Chapter 7 Data Link Control

William Stallings Data and Computer Communications. Chapter 7 Data Link Control William Stallings Data and Computer Communications Chapter 7 Data Link Control Flow Control Ensuring the sending entity does not overwhelm the receiving entity Preventing buffer overflow Transmission time

More information

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg Five Problems Encoding/decoding Framing Error Detection Error Correction Media Access Five Problems Encoding/decoding Framing

More information

CAN Node using HCS12

CAN Node using HCS12 CAN Node using HCS12 Ketan Kulkarni, Siddharth Dakshindas Electrical and Computer Engineering Department School of Engineering and Computer Science Oakland University, Rochester, MI e-mails: krkulkarni@oakland.edu,

More information

IMPLEMENTATION OF CONTROLLER AREA NETWORK FOR AUTOMOTIVE APPLICATIONS

IMPLEMENTATION OF CONTROLLER AREA NETWORK FOR AUTOMOTIVE APPLICATIONS IMPLEMENTATION OF CONTROLLER AREA NETWORK FOR AUTOMOTIVE APPLICATIONS A THESIS SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF Master of Technology in VLSI Design and Embedded System

More information

Chapter 15 Local Area Network Overview

Chapter 15 Local Area Network Overview Chapter 15 Local Area Network Overview LAN Topologies Bus and Tree Bus: stations attach through tap to bus full duplex allows transmission and reception transmission propagates throughout medium heard

More information

3. Data Link Layer 3-2

3. Data Link Layer 3-2 3. Data Link Layer 3.1 Transmission Errors 3.2 Error Detecting and Error Correcting Codes 3.3 Bit Stuffing 3.4 Acknowledgments and Sequence Numbers 3.5 Flow Control 3.6 Examples: HDLC, PPP 3. Data Link

More information

AN1105 APPLICATION NOTE

AN1105 APPLICATION NOTE AN1105 APPLICATION NOTE ST7 pcan PERIPHERAL DRIVER by Central European MCU Support INTRODUCTION The Controller Area Network (CAN) norm defines a fast and robust serial bus protocol, suited for local networking

More information

Medium Access Control. IEEE , Token Rings. CSMA/CD in WLANs? Ethernet MAC Algorithm. MACA Solution for Hidden Terminal Problem

Medium Access Control. IEEE , Token Rings. CSMA/CD in WLANs? Ethernet MAC Algorithm. MACA Solution for Hidden Terminal Problem Medium Access Control IEEE 802.11, Token Rings Wireless channel is a shared medium Need access control mechanism to avoid interference Why not CSMA/CD? 9/15/06 CS/ECE 438 - UIUC, Fall 2006 1 9/15/06 CS/ECE

More information

Understanding and Using the Controller Area Network Communication Protocol

Understanding and Using the Controller Area Network Communication Protocol Marco Di Natale Haibo Zeng Paolo Giusto Arkadeb Ghosal Understanding and Using the Controller Area Network Communication Protocol Theory and Practice ^Spri ringer Contents..? 1 The CAN 2.0b Standard 1

More information

CSE 6811 Ashikur Rahman

CSE 6811 Ashikur Rahman Data Link layer Application Overview of IEEE 802.11 LLC: On transmission, assemble data into a frame with address and CRC fields. On reception, disassemble frame, perform address recognition and CRC validation.

More information

ECE 4450:427/527 - Computer Networks Spring 2017

ECE 4450:427/527 - Computer Networks Spring 2017 ECE 4450:427/527 - Computer Networks Spring 2017 Dr. Nghi Tran Department of Electrical & Computer Engineering Lecture 5.4: Multiple Access Protocols Dr. Nghi Tran (ECE-University of Akron) ECE 4450:427/527

More information

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008 Computer Networks Medium Access Control Mostafa Salehi Fall 2008 2008 1 Outline Issues ALOHA Network Ethernet Token Ring Wireless 2 Main Issues Local Area Network (LAN) : Three or more machines are physically

More information

INTER INTRA VEHICULAR COMMUNICATION

INTER INTRA VEHICULAR COMMUNICATION INTER INTRA VEHICULAR COMMUNICATION Neethu P P 1 and Siddharth Shelly 2 Department of Electronics& Communication, Mar Athanasius College of Engineering, A.P.J Abdul Kalam Technological University, Kerala,

More information

Logical Link Control (LLC) Medium Access Control (MAC)

Logical Link Control (LLC) Medium Access Control (MAC) Overview of IEEE 802.11 Data Link layer Application Presentation Session Transport LLC: On transmission, assemble data into a frame with address and CRC fields. On reception, disassemble frame, perform

More information

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Lecture 6 The Data Link Layer Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Link Layer: setting the context two physically connected devices: host-router, router-router, host-host,

More information

Embedded Systems. 8. Communication

Embedded Systems. 8. Communication Embedded Systems 8. Communication Lothar Thiele 8-1 Contents of Course 1. Embedded Systems Introduction 2. Software Introduction 7. System Components 10. Models 3. Real-Time Models 4. Periodic/Aperiodic

More information

CCNA Exploration1 Chapter 7: OSI Data Link Layer

CCNA Exploration1 Chapter 7: OSI Data Link Layer CCNA Exploration1 Chapter 7: OSI Data Link Layer LOCAL CISCO ACADEMY ELSYS TU INSTRUCTOR: STELA STEFANOVA 1 Explain the role of Data Link layer protocols in data transmission; Objectives Describe how the

More information

Data Link Layer, Part 3 Medium Access Control. Preface

Data Link Layer, Part 3 Medium Access Control. Preface Data Link Layer, Part 3 Medium Access Control These slides are created by Dr. Yih Huang of George Mason University. Students registered in Dr. Huang's courses at GMU can make a single machine-readable

More information