MPC5200(b) ATA MDMA, UDMA Functionality BestComm Setup Recommendations

Similar documents
MC56F825x/MC56F824x (2M53V) Chip Errata

MTIM Driver for the MC9S08GW64

Design Recommendations to Implement Compatibility Between the MC13783VK and the MC13783VK5

Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME)

MPC7410 RISC Microprocessor Hardware Specifications Addendum for the MPC7410TxxnnnLE Series

SGTL5000 I 2 S DSP Mode

Upgrade the Solution With No Changes 2 Upgrade the Solution With No Changes If a Codebase does not contain updates to its properties, it is possible t

Utilizing Extra FC Credits for PCI Express Inbound Posted Memory Write Transactions in PowerQUICC III Devices

USB Bootloader GUI User s Guide

MC33696MODxxx Kit. 1 Overview. Freescale Semiconductor Quick Start Guide. Document Number: MC33696MODUG Rev. 0, 05/2007

MPR121 Jitter and False Touch Detection

IIC Driver for the MC9S08GW64

1 Introduction. 2 Problem statement. Freescale Semiconductor Engineering Bulletin. Document Number: EB727 Rev. 0, 01/2010

Using the CAU and mmcau in ColdFire, ColdFire+ and Kinetis

Using the ColdFire+ Family Enhanced EEPROM Functionality Melissa Hunter Derrick Klotz

PDB Driver for the MC9S08GW64

Using DMA to Emulate ADC Flexible Scan Mode on Kinetis K Series

MCF54451, MCF54452, MCF54453, MCF54454,

PCB Layout Guidelines for the MC1321x

16-bit MCU: S12XHY256 Automotive Cluster Demo by: Jose M. Cisneros Steven McLaughlin Applications Engineer Microcontroller Solutions Group, Scotland

Using the Kinetis Family Enhanced EEPROM Functionality

Pad Configuration and GPIO Driver for MPC5500 Martin Kaspar, EMEAGTM, Roznov Daniel McKenna, MSG Applications, East Kilbride

etpu Automotive Function Set (Set 2)

Use of PGA on MC56F800x Interaction of PDB, PGA and ADC

MPC8349E-mITX-GP Board Errata

Using the PowerQUICC II Auto-Load Feature

Introduction to the S12G Family EEPROM Including a Comparison between the S08DZ, S12XE, and S12P Families

Electrode Graphing Tool IIC Driver Errata Microcontroller Division

Interfacing MPC5500 Microcontrollers to the MFR4310 FlexRay Controller Robert Moran MCD Applications, East Kilbride, Scotland

EchoRemote Evaluation Software for Windows

Using the Asynchronous DMA features of the Kinetis L Series

etpu General Function Set (Set 1) David Paterson MCD Applications Engineer

Managing Failure Detections and Using Required Components to Meet ISO7637 pulse 1 on MC33903/4/5 Common Mode Choke Implementation

Mask Set Errata for Mask 2M40J

MPR121 Proximity Detection

PowerQUICC HDLC Support and Example Code

Differences Between the DSP56301, DSP56311, and DSP56321

Component Development Environment Installation Guide

Mechanical Differences Between the 196-pin MAP-BGA and 196-pin PBGA Packages

Optically-Isolated Multilink BDM Interface for the S08/S12 Microcontrollers by Michael A. Steffen

SCI Driver for the MC9S08GW64

Mask Set Errata for Mask 5L35K

MSC8144AMC-S Getting Started Guide

Migrating from the MPC852T to the MPC875

MPC8260 IDMA Timing Diagrams

ColdFire Convert 1.0 Users Manual by: Ernest Holloway

MCF5445x Configuration and Boot Options Michael Norman Microcontroller Division

Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage

VortiQa Enterprise Quick Start Guide

Using an I 2 C EEPROM During MSC8157 Initialization

56F8300 BLDC Motor Control Application

HC912D60A / HC912Dx128A 0.5µ Microcontrollers Mask sets 2K38K, 1L02H/2L02H/3L02H & K91D, 0L05H/1L05H/2L05H

Using the Project Board LCD Display at 3.3 volts

Changing the i.mx51 NAND Flash Model for Windows Embedded CE TM 6.0

Keil uvision 4 Kinetis Support for Freescale MQX RTOS Release Notes

Using the Multi-Axis g-select Evaluation Boards

Using the Knock Window etpu Function

i.mx31 PDK Power Measurement with GUI

Converting Earlier Versions of CodeWarrior for StarCore DSPs Projects to Version

MC33897 Single-Wire CAN Transceiver Reliability and Quality Documents

Mask Set Errata for Mask REV3.1_2N89D

Interfacing MPC5xx Microcontrollers to the MFR4310 FlexRay Controller David Paterson MCD Applications, East Kilbride

Power Cycling Algorithm using the MMA73x0L 3-Axis Linear Accelerometer

Errata to MPC8569E PowerQUICC III Integrated Processor Reference Manual, Rev. 2

56F805. BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers

Writing Touch Sensing Software Using TSI Module

Using GCR4 to Adjust Ethernet Timing in MSC8144 DSPs

Using IIC to Read ADC Values on MC9S08QG8

Sensorless BLDC Motor Control Based on MC9S08PT60 Tower Board User Guide

MC9S08DZ60 Migrating from the 3M05C to M74K Mask Set D. Scott Brown Applications Engineering Microcontrollers Solutions Group Austin, TX, USA

MPC8569E Instruction RAM Microcode Package Release 169

MPC5200B (M62C) Errata Microcontroller Division

Mask Set Errata for Mask 2N40C

Errata to the MPC8280 PowerQUICC II Family Reference Manual, Rev. 1

MPR083 Proximity Evaluation Kit User s Guide

ADC Driver for MC9S08GW64

Functional Differences Between the DSP56307 and DSP56L307

MC9S08DZ60 Flash Usage Considerations Andy McKechan Applications Engineer East Kilbride

DSP56F827 Digital Signal Controller

Configuring the MCF5445x Family for PCI Host Operation

Integrating the MC9S08JS16/8 USB Bootloader to Your Application

Mask Set Errata for Mask 4L35K

i.mx31 PDK 1.3 to PDK 1.4 Revision Changes Linux

Introduction to LIN 2.0 Connectivity Using Volcano LTP

Interfacing and Configuring the i.mx25 Flash Devices

Introduction to the 16-bit Tower Boards Using the MC9S12GN32

Mask Set Errata for Mask 2M84G

Interfacing HCS12 Microcontrollers to the MFR4200 FlexRay Controller

Using PE to quickly use common communication interfaces on Kinetis

PMSM Vector Control with Encoder on Kinetis Setup Guide for Demo Kits without a Tablet PC

56F805. Digital Power Factor Correction using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers. freescale.

Gallium Arsenide PHEMT RF Power Field Effect Transistor

Freescale Semiconductor. Integrated Silicon Pressure Sensor On-Chip Signal Conditioned, Temperature Compensated and Calibrated MP3V5050.

MCF5216 Device Errata

XGATE Library: ATD Average Calculating a rolling average from ATD results

NetComm Software Errata

Symphony SoundBite: Quick Start with Symphony Studio. Installation and Configuration

Support for IEEE 1588 Protocol in PowerQUICC and QorIQ Processors

Functional Differences Between DSP56302 and DSP56309 (formerly DSP56302A)

Programming the Keyboard Interrupt Module (KBI) on HC(S)08 MCUs

Transcription:

Freescale Semiconductor Engineering Bulletin Document Number: EB711 Rev. 0, 05/2009 MPC5200(b) ATA MDMA, UDMA Functionality BestComm Setup Recommendations by: Peter Kardos Application Engineer, Roznov The ATA functionality is limited and problematic when DMA modes are used with data cache and instruction cache enabled. The malfunction is demonstrated by corrupted and/or missing data in the buffer. Corrupted data in the read buffer is either bit shifted or is missing and replaced by 0x0 or 0xFF. Amount of the corrupted data during transfer is DMA-mode and speed dependent. To avoid these faults, the following workaround must be applied and is recommended for other peripheral buffers as well to improve reliability and system stability (PCI memory window, PCI mapping, Local plus bus, and so on). Freescale Semiconductor, Inc., 2009. All rights reserved.

1. Set appropriate peripheral FIFO size and granularity to one or more. 2. Set the buffer that is stored in the memory to not cacheable. If you are using more peripherals with BestComm, the easiest way is to create a memory segment. The following figure shows an example of this setup and the code to be used in CodeWarrior. The image was taken from the MPC5200(b) Quick Start utility that can be downloaded from Freescale website www.freescale.com. These recommendations should be applied in operating systems like Linux and VxWorks as well. 2 Freescale Semiconductor

Figure 1. Memory Segment Setup Freescale Semiconductor 3

Example 1. Code for Configuring the Buffers #pragma push #pragma section data_type ".abs.08000000" ".abs.08000000" uint32 g_ata_rd_buf[number_of_bytes/4]; uint32 g_ata_wr_buf[number_of_bytes/4]; uint32 g_lpc_rd_buf[number_of_bytes/4]; uint32 g_lpc_wr_buf[number_of_bytes/4]; #pragma pop These directives will force the four arrays (ATA and Local Plus Bus, read/write buffers) to be stored in the specified memory segment. This applies in CodeWarrior, in other development tools the directives and/or syntax could vary. 4 Freescale Semiconductor

THIS PAGE IS INTENTIONALLY BLANK Freescale Semiconductor 5

How to Reach Us: Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed: Freescale Semiconductor, Inc. Technical Information Center, EL516 2100 East Elliot Road Tempe, Arizona 85284 +1-800-521-6274 or +1-480-768-2130 www.freescale.com/support Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) www.freescale.com/support Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 support.japan@freescale.com Asia/Pacific: Freescale Semiconductor China Ltd. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing 100022 China +86 10 5879 8000 support.asia@freescale.com For Literature Requests Only: Freescale Semiconductor Literature Distribution Center 1-800-441-2447 or 303-675-2140 Fax: 303-675-2150 LDCForFreescaleSemiconductor@hibbertgroup.com Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. Typical parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including Typicals, must be validated for each customer application by customer s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. RoHS-compliant and/or Pb-free versions of Freescale products have the functionality and electrical characteristics as their non-rohs-compliant and/or non-pb-free counterparts. For further information, see http://www.freescale.com or contact your Freescale sales representative. For information on Freescale s Environmental Products program, go to http://www.freescale.com/epp. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org Freescale Semiconductor, Inc. 2009. All rights reserved. Document Number: EB711 Rev. 0 05/2009