ac6-formation, un département d'Ac6 SAS
 
Site displayed in English (GB)
Site affiché en English (GB)View the site in FrenchVoir le site en English (USA)
go-up

ac6 >> ac6-formation >> Processors >> NXP Power CPUs >> MPC5200 implementation Inquire Download as PDF Write us

FM4 MPC5200 implementation

This course covers the MPC5200 NXP MCU

formateur
Objectives
  • The course explains how to design a MPC5200 board.
  • DDR SDRAM operation is described in order to understand the memory controller programming.
  • The 603e core is studied in detail, especially the MMU.
  • The course provides examples of internal peripherals software drivers.
  • Fast Ethernet controller is viewed in detail.
  • The training highlights data paths between PCI and DDR SDRAM.

  • This course has been delivered several times to companies developing embedded multimedia equipments.
A lot of programming examples have been developed by ACSYS to explain the boot sequence and the operation of complex peripherals, such as BestComm and Fast Ethernet.
•  They have been developed with Diab Data compiler and are executed under Lauterbach debugger.
A more detailed course description is available on request at formation@ac6-formation.com
  • Experience of a 32-bit processor or DSP is mandatory.
  • The following courses could be of interest:
  • Theoretical course
    • PDF course material (in English) supplemented by a printed version for face-to-face courses.
    • Online courses are dispensed using the Teams video-conferencing system.
    • The trainer answers trainees' questions during the training and provide technical and pedagogical assistance.
  • At the start of each session the trainer will interact with the trainees to ensure the course fits their expectations and correct if needed
  • Any embedded systems engineer or technician with the above prerequisites.
  • The prerequisites indicated above are assessed before the training by the technical supervision of the traineein his company, or by the trainee himself in the exceptional case of an individual trainee.
  • Trainee progress is assessed by quizzes offered at the end of various sections to verify that the trainees have assimilated the points presented
  • At the end of the training, each trainee receives a certificate attesting that they have successfully completed the course.
    • In the event of a problem, discovered during the course, due to a lack of prerequisites by the trainee a different or additional training is offered to them, generally to reinforce their prerequisites,in agreement with their company manager if applicable.

Course Outline

  • Innovative IO subsystem
  • Dual external bus architecture : SDRAM bus and LocalPlus bus
  • Bestcomm features
  • Memory map, internal register space
  • 603e pipeline
  • Branch management : static prediction
  • Guarded memory
  • 603e L1 cache : LRU algorithm, HID0 programming interface
  • Software L1 data cache flush
  • Cache coherency basics
  • JTAG debugger, hardware breakpoint vs software breakpoints
  • Branch instructions
  • The system call communication path between applications and RTOS
  • FPU operation
  • The EABI
  • Code and data sections, small data areas benefits
  • Cache related instructions
  • PowerPC timers : TB and DEC
  • MMU goals
  • The PowerPC address processing
  • WIMG attributes definition, page and block access rights definition
  • Process protection through VSID selection
  • TLB organization, TLB software management
  • MMU implementation in real-time sensitive applications
  • Exception management
  • Requirements to support exception nesting
  • Interrupt Controller routing scheme
  • General purpose IO, pin multiplexing
  • General purpose Timers
  • Slice timers, generation of periodic interrupts
  • · Real-Time Clock
  • Reset configuration
  • Clock domains
  • Power management
  • DDR SDRAM basics
  • The DDR SDRAM controller, pinout
  • Power-up initialisation, use of the I2C interface
  • Initialization of memory controller registers according to a micron DDR SDRAM devices
  • External bus interface, modes of operation muxed or non muxed
  • Connection to ATA and PCI compliant devices as well as memory-mapped devices
  • Chip select programming
  • Dynamic bus sizing
  • DMA interface
  • XLB arbiter, prioritisation, bus grant mechanism
  • SmartDMA modules, local buffer memory
  • Servicing many data streams with individual latency and processing requirements
  • Chaining scatter / gather capability
  • Task descriptor table
  • Function descriptor table
  • Supported clock ratios
  • PCI commands supported as a target and as a master
  • XL bus initiator interface
  • Endian translation
  • XL bus target interface
  • Multi-channel DMA transmit interface
  • Multi-channel DMA receive interface
  • Access to the configuration space
  • Programming of inbound and outbound windows
  • PCI agent vs PCI host operation mode
  • Data transfer types
  • Host Controller interface
  • OHCI specification, communication channels
  • Root hub partition
  • The MSCAN controllers, clock system
  • Message buffers structure
  • ID bit masking
  • Arbitration
  • Timing and synchronization
  • Error management
  • Interrupt driven operation
  • Baud rate selection, transfer delays
  • Double-buffered operation
  • Transmit and receive sequences
  • Asynchronous ATA basics, overview of ATA standards
  • ATA host controller operation
  • Signals and connections
  • Sector addressing
  • Ultra DMA protocol
  • MII transfers
  • FIFO interface
  • Address recognition
  • Full and half duplex operation
  • Initialization sequence
  • MIB block counters
  • PSC in UART mode
  • PSC in Codec mode
  • PSC in AC97 mode
  • PSC in Infrared SIR, MIR or FIR mode
  • FIFO system
  • I2C protocol basics
  • Transfer timing diagrams, SCL and SDA pins
  • Clock synchronization and arbitration
  • Transmit and receive sequences