Formation - PowerPC MPC5XX (reference 002591A)
 
    Partners
  • Do not hesitate to request the detailed course description by contacting training@mvd-fpga.com
  • Practical exercices are built with Diab Data compiler, downloaded on a MPC565 target board through the EST probe
  • VisionClick debugger is used to control code execution
   
           
    Related Trainings
   
           
    Prerequisites
  • Experience of a microcontroller is mandatory
  • Knowledge of CAN bus is recommended
   
             
  Course Objectives
  • This training highlights differences between MPC55X and MPC56X
  • The hardware implementation is fully described, especially burst transfers
  • A boot program has been developped
  • The course focusses on PowerPC EABI, which is fundamental for low level programmers
  • A generic interrupt handler supporting nesting is introduced
  • TPU3 functions are studied with the help of a logic analyser
  • QADC operating modes are described
  • The course details the internal debug facilities particularly the MPC56X nexus port
   
           
    Duration
  • 5-day course
   
           
    Topics

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

MPC5XX OVERVIEW

  • MPC5XX block diagram
  • Internal resources base address definition
  • Pinout and pad types
  • PDMCR register programming

THE RCPU

  • History buffer
  • Propagation of instructions through the pipeline
  • Compliance of the RCPU with the programming environment
  • Branch unit, static prediction, MPC56X branch target buffer
  • Load / store instructions
  • Integer arithmetic and logic instructions
  • IEEE754 basics
  • Float load / store instructions
  • Float arithmetic instructions
  • The EABI
  • Code and data sections, small data areas benefits
  • Exception management : handler table, MSR update, automatic interrupt masking
  • Requirements to support exception nesting
  • Handler table relocation
  • Program regions definition and determination of their attributes in the IMPU
  • Data regions definition and determination of their attributes in the DMPU

THE USIU MODULE

  • Interrupt controller
  • IMB peripheral interrupt requests control
  • Reset cause enumeration
  • Hardware configuration at reset
  • Clock synthesizer
  • PLL multiplicator selection
  • System timers : decrementer, time base, RTC, PIT

HARDWARE IMPLEMENTATION

  • Endian modes clarification
  • External bus interface, arbitration, read and write timing diagrams
  • Dynamic bus sizing
  • External decode logic design
  • Non wrapping burst transfers
  • Memory controller, boot chip select, address decode by means of BRx/ORx registers
  • Glueless interface with SRAM and FEPROM

INTERNAL MEMORIES

  • CDR3 Flash EPROM, read page buffers, programming and erasing sequences
  • Margin reads
  • CALRAM : overlay mode operation
  • DPTRAM : TPU emulation mode

QADCE MODULES

  • Analog inputs multiplexing
  • Conversion queue priority scheme
  • External trigger
  • Programming model
  • Result formats

QSMCM MODULES

  • UART controller, differences between SC1 and SC2
  • Transmit and receive sequences
  • SPI protocol explanation
  • Command queue
  • Transmit and receive sequences

DLCM2 MODULE

  • Transceiver interface
  • Block and 4x transfers
  • J1850 frame format

MIOS14 MODULE

  • Counter prescaler submodule
  • Counter submodules
  • Double action submodules
  • PWM submodules
  • Parallel port IO submodule
  • Real Time clock submodules

TouCAN 2.0B MODULES

  • TouCAN organization
  • Label filters configuration through the mask registers
  • Bit time phases initialization
  • Automatique reply

TPU3 MODULES

  • Real time hardware events processing
  • Channel priority scheme
  • Interchannel communication
  • QOM and NITC functions introduction
  • SPI port emulation

DEBUG FACILITIES

  • BDM restrictions : no trace memory
  • Watchpoints vs breakpoints
  • MPC56X Readi module
  • Windriver nexus solution
   
           
    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