Formation - PowerPC MPC825X/6X/7X/8X (PowerQUICC II) Implémentation (reference 002588A)
 
    Partners
  • Do not hesitate to request the detailed course description by contacting training@mvd-fpga.com
  • This training course is approved by Freescale
  • Practical exercices are built with Diab Data compiler, downloaded onto a MPC8260 target board through the Lauterbach probe
  • Trace32 debugger is used to control code execution
   
           
    Related Trainings
   
           
    Prerequisites
  • Experience of a 32 bit processor or DSP is mandatory
   
             
  Course Objectives
  • This course describes the various data paths existing in the PowerQUICC II
  • Cache coherency protocol is introduced in increasing depth
  • The 32-bit G2 core is viewed in detail, especially the MMU and the cache
  • The boot sequence and the clocking are explained
  • A long introduction to SDRAM operation is done before studying the SDRAM controller
  • An in-depth description of the PCI controller is performed
  • The course highlights both hardware and software implementation of fast Ethernet controllers
  • The USB interface is also detailed
  • The course describes the Time Slot Assigner initialization in order to process E1 frames
  • The ATM VCI/VPI address lookup mechanism through CAM memory is studied
  • The ATM traffic shaper is explained through examples
   
           
    Duration
  • 5-day course
   
           
    Topics

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

INTRODUCTION TO PowerQUICC II

  • Enhancements compared to PowerQUICC I
  • Pinout, pin groups
  • Block diagram : characteristics of each of the 3 internal modules G2 core, SIU and CPM
  • Application examples

THE G2 CORE

THE INSTRUCTION PIPELINE

  • G2 implementation
  • Branch processing unit
  • Branch instructions
  • Coding guidelines

DATA PATHS

  • Load / store architecture
  • Load / store buffers
  • Sync and eieio instructions

CACHES

  • Cache basics
  • Cache locking
  • L1 caches
  • Cache coherency mechanism
  • Basic snoop requests
  • Management of cache enabled pages shared with DMAs
  • Cache related instructions
  • Cache flush routine

SOFTWARE IMPLEMENTATION

  • PowerPC architecture specification, the 3 books UISA, VEA and OEA
  • addressing modes, load / store instructions
  • Integer instructions
  • Rotate instructions
  • IEEE754 basics
  • Floating point arithmetical instructions
  • The PowerPC EABI
  • Linking an application with Diab Data

THE MMU

  • Thread vs process
  • Introduction to real, block and segmentation / pagination translations
  • Memory attributes and access rights definition
  • Virtual space benefit
  • TLB organization
  • Segmentation
  • Pagination
  • MMU implementation in real-time sensitive applications

THE EXCEPTION MECHANISM

  • Save / restore registers SRR0/SRR1, rfi instruction
  • Exception management mechanism
  • Registers updating according to the exception cause
  • Requirements to allow exception nesting

THE DEBUG PORT

  • JTAG emulation
  • Real time trace requirements
  • Code instrumentation
  • Hardware breakpoints

THE PLATFORM CONFIGURATION


POWER, RESET AND CLOCKING

  • Power on /down sequence
  • Power management control
  • Reset causes
  • Reset configuration word
  • Booting a multi-PQII system
  • Clocking

THE 60X BUS

  • 60X bus operation
  • 60X bus cycles overview
  • Dynamic bus sizing
  • Configuration registers

THE MEMORY CONTROLLER

  • Arbitration between internal and external masters
  • The 60X to Local bus bridge
  • Introduction to DRAM / SDRAM
  • UPM implementation
  • GPCM implementation
  • SDRAMs machine description
  • Bank vs page interleaving

THE PCI BRIDGE

  • Arbitration, bus parking, arbitration algorithm
  • Supported bus commands
  • Definition of inbound and outbound address ranges
  • Bus errors processing
  • Messaging

THE SIU MODULE

  • System protection and configuration
  • PIT and SWT system timers
  • Interrupt controller
  • Sequence required to find the interrupt cause

GENERAL PURPOSE PERIPHERALS

  • Programming GPIOs
  • General purpose timers

THE COMMUNICATION PROCESSOR MODULE

INTRODUCTION TO CPM

  • Synchronization between G2 core and CP, command register
  • DPRAM organization
  • Introduction to buffer descriptors and buffer management
  • Chaining descriptors
  • IDMA and SDMA channels

THE SERIAL INTERFACE

  • NMSI versus TDM
  • Supported protocols and max data rate
  • Transmit and receive clock selection
  • Baud rate generators
  • Interrupt management

THE MULTI CHANNEL CONTROLLERS

  • Focus on the difference between Time Slot and Channel
  • Programming Super channels
  • HDLC channel parameters
  • Interrupt queues

THE SERIAL COMMUNICATION CONTROLLERS

  • Data encoding /decoding selection
  • Hardware flow management
  • UART on SCC
  • HDLC on SCC
  • 10 Mbps Ethernet on SCC

THE I2C CONTROLLER

  • I2C protocol explanation
  • Clock stretching
  • Description of the I2C controller implemented in the PowerQUICC II

THE SPI CONTROLLER

  • SPI protocol
  • Transmit and receive sequence

FAST ETHERNET CONTROLLER

  • MAC operation
  • 802.3u basics
  • MII vs RMII interface
  • Hash tables utility
  • CSMA/CD vs full duplex Ethernet, pause packet
  • Remote monitoring

THE USB 1.1 CONTROLLER

  • USB integration in the MPC827X/8X
  • Host controller limitation
  • Hardware implementation
  • Host vs Device operation

THE ATM CONTROLLER [On demand]


ATM BASICS

  • Main features
  • ATM benefit compared to X.25 or ISDN
  • UNI and NNI network interfaces
  • Cell format
  • Virtual connection
  • Layer model
  • AAL1 layer : circuit emulation
  • AAL3/4 : used by the service providers
  • AAL5 : packet transfer
  • Connection establishment

ATM TRAFFIC MANAGEMENT

  • The 5 service classes defined by the ATM forum : CBR, VBRrt, VBRnrt, UBR, ABR
  • The QoS ATM attributes
  • Traffic shaping

THE MPC826X ATM CONTROLLER

  • Utopia 2 hardware interface : multi-PHY control
  • APC unit
  • VCI/VPI of incoming cells lookup
  • Performance monitoring
  • ATM/TDM interworking
  • Interrupts queue
  • Enhanced features of the MPC828X
   
           
    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