Training - CAN bus (reference 002601A)
 
    Partners
  • Do not hesitate to request the detailed course description by contacting training@mvd-fpga.com
  • In order to analyse CAN traffic, a MPC555 having 2 CAN ports is connected to a PC CAN board having also 2 CAN ports
  • Practical exercices are built with Diab Data compiler, downloaded on a MPC555 target board through the EST probe
  • VisionClick debugger is used to control code execution
   
           
    Related trainings
  • Some microcontrollers taught by MVD contain a CAN controller : the MPC555/MPC565 (course 002591A), the MC9S12DT256 (course 002593A) and the DSP56807 (course 002594A)
  • C language knowledge is also recommended (course 002603A)
  • MVD also delivers training courses around embeded OS which can be useful : Embeded Linux, OSEK
   
           
    Prerequisites
  • Knowledge of a digital bus is recommended
   
             
  Course Objectives
  • Knowledge of the CAN 2A & 2B specification
  • Analysis of CAN frames transferred between the PC board and the MPC555
  • Transceiver selection
  • Study of a MPC555 CAN software driver
  • Can Open introduction
   
           
    Duration
  • 2-day course
   
           
    Topics

(The full description of this course can be provided on request)

INTRODUCTION

  • CAN benefits
  • Compliance with the OSI model
  • PHY and Link layers features

FRAME ANALYSIS

  • 2.0A and 2.0B frame description
  • Relationship between label and priority

ARBITRATION

  • Point to multipoint communication model
  • Dominant and recessive states
  • Automatic switch into receive state when an arbitration is lost

TIMING AND SYNCHRONIZATION

  • Bit time phases
  • Hardware and software resynchronization

ERROR MANAGEMENT

  • The error counter registers
  • Error detection areas inside a transmit frame and a receive frame
  • Fault confinement : counter increment / decrement rules

CAN NETWORK PERFORMANCE

  • Data rate selection
  • Distance between both farthest stations
  • Connection establishment time

THE CAL LAYER

  • Introduction
  • Exchange objects definition
  • The service objects

CAN SOFTWARE DRIVER DEVELOPMENT

  • MPC555 CAN controller description
  • Bit time phases initialization
  • Automatique reply
  • Description of a CAN driver written in C-language
   
           
    Documentation

Training manuals will be given to participants during training. Precise and easy of use, those notes can be used as a reference afterwards.
   
           
    Other trainings :

If you want to know our other training courses and their contents, you can consult or download our complete training courses list on this page : Training courses - General presentation