Freescale Semiconductor Document Number: MCF5213EC Rev. 3, 05/2007 Data Sheet MCF5213 LQFP64 QFN64 MCF5213 ColdFire 10 mm x 10 mm 9mmx9mm Microcontroller MAPBGA81 LQFP100 Supports MCF5213, 10 mm x 10 mm 14 mm x 14 mm MCF5212, & MCF5211 The MCF5213 is a member of the ColdFire family of reduced instruction set computing (RISC) microprocessors. This document provides an overview of the 32-bit MCF5213 microcontroller, focusing on its highly integrated and diverse feature set. This 32-bit device is based on the Version 2 ColdFire core operating at a frequency up to 80 MHz, offering high performance and low power consumption. On-chip memories connected tightly to the processor core include up to 256 Kbytes of flash memory and 32 Kbytes of static random access memory (SRAM). On-chip modules include: V2 ColdFire core delivering 76 MIPS (Dhrystone 2.1) at 80 MHz running from internal flash memory with Multiply Accumulate (MAC) Unit and hardware divider FlexCAN controller area network (CAN) module Three universal asynchronous/synchronous receiver/transmitters (UARTs) Inter-integrated circuit (I2C) bus controller Queued serial peripheral interface (QSPI) module Eight-channel 12-bit fast analog-to-digital converter (ADC) Four-channel direct memory access (DMA) controller Four 32-bit input capture/output compare timers with DMA support (DTIM) Four-channel general-purpose timer (GPT) capable of input capture/output compare, pulse width modulation (PWM), and pulse accumulation Eight-channel/Four-channel, 8-bit/16-bit pulse width modulation timer Two 16-bit periodic interrupt timers (PITs) Programmable software watchdog timer Interrupt controller capable of handling 57 sources Clock module with 8 MHz on-chip relaxation oscillator and integrated phase-locked loop (PLL) Test access/debug port (JTAG, BDM) This document contains information on a product under development. Freescale reserves the right to change or discontinue this product without notice. Freescale Semiconductor, Inc., 2007. All rights reserved.Table of Contents 1 MCF5213 Family Configurations .3 Figure 8.Equivalent Circuit for A/D Loading 37 1.1 Block Diagram .4 Figure 9.QSPI Timing 38 1.2 Features .4 Figure 10.Test Clock Input Timing . 39 1.3 Reset Signals 20 Figure 11.Boundary Scan (JTAG) Timing . 40 1.4 PLL and Clock Signals .20 Figure 12.Test Access Port Timing 40 1.5 Mode Selection .20 Figure 13.TRST Timing . 40 1.6 External Interrupt Signals .21 Figure 14.Real-Time Trace AC Timing 41 1.7 Queued Serial Peripheral Interface (QSPI) 21 Figure 15.BDM Serial Port AC Timing 42 2 1.8 I C I/O Signals .21 List of Tables 1.9 UART Module Signals 22 Table 1. MCF5213 Family Configurations 3 1.10 DMA Timer Signals 22 Table 2. Orderable Part Number Summary 12 1.11 ADC Signals .22 Table 3. Pin Functions by Primary and Alternate Purpose 16 1.12 General Purpose Timer Signals 23 Table 4. Reset Signals . 20 1.13 Pulse Width Modulator Signals .23 Table 5. PLL and Clock Signals 20 1.14 Debug Support Signals .23 Table 6. Mode Selection Signals 20 1.15 EzPort Signal Descriptions 24 Table 7. Clocking Modes 20 1.16 Power and Ground Pins 25 Table 8. External Interrupt Signals 21 2 Electrical Characteristics 25 Table 9. Queued Serial Peripheral Interface (QSPI) Signals . 21 2.1 Maximum Ratings .26 2 Table 10.I C I/O Signals . 21 2.2 Current Consumption 27 Table 11.UART Module Signals . 22 2.3 Thermal Characteristics 28 Table 12.DMA Timer Signals . 22 2.4 Flash Memory Characteristics .30 Table 13.ADC Signals 22 2.5 ESD Protection .31 Table 14.GPT Signals 23 2.6 DC Electrical Specifications .31 Table 15.PWM Signals 23 2.7 Clock Source Electrical Specifications .32 Table 16.Debug Support Signals 23 2.8 General Purpose I/O Timing .33 Table 17.EzPort Signal Descriptions . 24 2.9 Reset Timing .34 2 Table 18.Power and Ground Pins 25 2.10 I C Input/Output Timing Specifications .35 Table 19.Absolute Maximum Ratings 26 2.11 Analog-to-Digital Converter (ADC) Parameters 36 , Table 20.Current Consumption in Low-Power Mode . 27 2.12 Equivalent Circuit for ADC Inputs .37 Table 21.Typical Active Current Consumption Specifications . 28 2.13 DMA Timers Timing Specifications 38 Table 22.Thermal Characteristics 28 2.14 QSPI Electrical Specifications 38 Table 23.SGFM Flash Program and Erase Characteristics 30 2.15 JTAG and Boundary Scan Timing .39 Table 24.SGFM Flash Module Life Characteristics 30 2.16 Debug AC Timing Specifications 41 Table 25.ESD Protection Characteristics, . 31 3 Mechanical Outline Drawings .43 Table 26.DC Electrical Specifications 31 3.1 64-pin LQFP Package 43 Table 27.PLL Electrical Specifications 32 3.2 64 QFN Package 46 Table 28.GPIO Timing 33 3.3 81 MAPBGA Package 50 Table 29.Reset and Configuration Override Timing 34 3.4 100-pin LQFP Package .52 2 Table 30.I C Input Timing Specifications between I2C SCL 4 Revision History .54 and I2C SDA 35 2 List of Figures Table 31.I C Output Timing Specifications between I2C SCL Figure 1.MCF5213 Block Diagram . 4 and I2C SDA 35 Figure 2.100 LQFP Pin Assignments 13 Table 32.ADC Parameters . 36 Figure 3.81 MAPBGA Pin Assignments 14 Table 33.Timer Module AC Timing Specifications . 38 Figure 4.64 LQFP and 64 QFN Pin Assignments . 15 Table 34.QSPI Modules AC Timing Specifications . 38 Figure 5.GPIO Timing 34 Table 35.JTAG and Boundary Scan Timing 39 Figure 6.RSTI and Configuration Override Timing 34 Table 36.Debug AC Timing Specification 41 2 Figure 7.I C Input/Output Timings 36 Table 37.Revision History 54 MCF5213 ColdFire Microcontroller, Rev. 3 2 Freescale Semiconductor