The MCF523x is a family of highly-integrated 32-bit
microcontrollers based on the V2 ColdFire
microarchitecture. Featuring a 16 or 32 channel eTPU,
64 Kbytes of internal SRAM, a 2-bank SDRAM
controller, four 32-bit timers with dedicated DMA, a 4
channel DMA controller, up to 2 CAN modules, 3
UARTs and a queued SPI, the MCF523x family has been
designed for general purpose industrial control
applications. It is also a high-performance upgrade for
users of the MC68332. This document provides an
overview of the MCF523x microcontroller family, as
well as detailed descriptions of the mechanical and
electrical characteristics of the devices.
The MCF523x family is based on the Version 2 ColdFire
reduced instruction set computing (RISC)
microarchitecture operating at a core frequency of up to
150 MHz and bus frequency up to 75 MHz.
ColdFire V2 Core with EMAC
(Enhanced Multiply-Accumulate
Unit)
Enhanced Time Processor Unit
with memory (eTPU)
System Clockup to 150 MHz
Performance (Dhrystone/2.1 MIPS)up to 144
Instruction/Data Cache8 Kbytes
Static RAM (SRAM)64 Kbytes
Interrupt Controllers (INTC)2222
Edge Port Module (EPORT)xxxx
External Interface Module (EIM)xxxx
4-channel Direct-Memory Access
(DMA)
SDRAM Controllerxxxx
Fast Ethernet Controller (FEC)——xx
Cryptography - Security module for
data packets processing
Watchdog Timer (WDT)xxxx
xxxx
16-ch
6K
xxxx
——— x
32-ch
6K
16-ch
6K
32-ch
6K
Four Periodic Interrupt Timers (PIT)xxxx
32-bit DMA Timers4444
QSPIxxxx
UART(s)3333
2
Cxxxx
I
FlexCAN 2.0B - Controller-Area
Network communication module
General Purpose I/O Module
(GPIO)
JTAG - IEEE 1149.1 Test Access
Por t
Package160 QFP
1212
xxxx
xxxx
196
MAPBGA
256
MAPBGA
256
MAPBGA
256
MAPBGA
2Block Diagram
The superset device in the MCF523x family comes in a 256 mold array process ball grid array (MAPBGA)
package. Figure shows a top-level block diagram of the MCF5235, the superset device.
This section describes signals that connect off chip, including a table of signal properties. For a more
detailed discussion of the MCF523x signals, consult the MCF5235 Reference Manual (MCF5235RM).
4.1Signal Properties
Table 2 lists all of the signals grouped by function. The “Dir” column is the direction for the primary
function of the pin. Refer to Section 6, “Mechanicals/Pinouts and Part Numbers,” for package diagrams.
NOTE
In this table and throughout this document a single signal within a group is
designated without square brackets (i.e., A24), while designations for
multiple signals within a group use brackets (i.e., A[23:21]) and is meant to
include all signals within the two bracketed numbers when these numbers
are separated by a colon.
NOTE
The primary functionality of a pin is not necessarily its default functionality.
Pins that are muxed with GPIO will default to their GPIO functionality.
Table 2. MCF523x Signal Information and Muxing (continued)
Design Recommendations
MCF5232
Signal NameGPIOAlternate 1 Alternate 2 Dir.
TEST———I18F5J4J4J4
PLL_TEST———I—R14R14R14
VDDPLL———I87M13P15
VSSPLL———I84L14R15
OVDD———I1, 9, 17, 32,
VSS———I8, 16, 25, 31,
1
160
QFP
Test
Power Supplies
41, 55, 62,
69, 81, 90,
95, 105, 114,
128, 132,
138, 146
40, 54, 61,
67, 80, 88,
94, 104, 113,
127, 131,
137, 145,
153, 160
MCF5232
196
MAPBGA
E5, E7,
E10, F7, F9,
G6, G8, H7,
H8, H9, J6,
J8, J10, K5,
K6, K8
A1, A14,
E6, E9, F6,
F8, F10,
G7, G9, H6,
J5, J7, J9,
K7, P1, P14
MCF5233
256
MAPBGA
E6:11, F5, F7:10, F12, G5, G6, G11,
G12, H5, H6, H11, H12, J5, J6, J11,
J12, K5, K6, K11, K12, L5, L7:10,
A1, A16, E5, E12, F6, F11, F16,
G7:10, H7: 10, J1, J7:10, K7:10, L6,
L11, M5, M12, N16, T1, T6, T16
MCF5234
256
MAPBGA
L12, M6:M11
MCF5235
256
MAPBGA
VDD———I15, 53, 103,
144
1
Refers to pin’s primary function. All pins which are configurable for GPIO have a pullup enabled in GPIO mode with the exception
of PBUSCTL[7], PBUSCTL[4:0], PADDR, PBS, PSDRAM.
2
If JTAG_EN is asserted, these pins default to Alternate 1 (JTAG) functionality. The GPIO module is not responsible for assigning
these pins.
D6, F11,
G4, L4
A8, G16, H1, T5
5Design Recommendations
5.1Layout
•Use a 4-layer printed circuit board with the VDD and GND pins connected directly to the power
and ground planes for the MCF523x.
•See application note AN1259, System Design and Layout Techniques for Noise Reduction in Processor-Based Systems.
•Match the PC layout trace width and routing to match trace length to operating frequency and board
impedance. Add termination (series or therein) to the traces to dampen reflections. Increase the
PCB impedance (if possible) keeping the trace lengths balanced and short. Then do cross-talk
analysis to separate traces with significant parallelism or are otherwise "noisy". Use 6 mils trace
and separation. Clocks get extra separation and more precise balancing.
•33µF, 0.1 µF, and 0.01 µF across each power supply
5.2.1Supply Voltage Sequencing and Separation Cautions
Figure 1 shows situations in sequencing the I/O VDD (OVDD), PLL VDD (PLLVDD), and Core VDD (VDD).
OVDD is specified relative to VDD.
OV
3.3V
Supplies Stable
2.5V
DD
1.5V
DC Power Supply Voltage
0
Notes:
1.
2.
3.
4.
Figure 1. Supply Voltage Sequencing and Separation Cautions
1
2
VDD should not exceed OVDD or PLLVDD by more than 0.4 V
at any time, including power-up.
Recommended that VDD/PLLVDD should track OVDD up to
0.9 V, then separate for completion of ramps.
Input voltage must not be greater than the supply voltage (OVDD,
VDD, or PLLVDD) by more than 0.5 V at any time, including during power-up.
Use 1 ms or slower rise time for all supplies.
VDD, PLLV
DD
Time
5.2.1.1Power Up Sequence
If OVDD are powered up with VDD at 0 V, then the sense circuits in the I/O pads will cause all pad output
drivers connected to the OV
powers up before V
must powered up. VDD should not lead the OVDD or PLLVDD by more than 0.4 V
DD
during power ramp-up, or there will be high current in the internal ESD protection diodes. The rise times
on the power supplies should be slower than 1 µs to avoid turning on the internal ESD protection clamp
diodes.
to be in a high impedance state. There is no limit on how long after OVDD
DD
The recommended power up sequence is as follows:
1. Use 1 µs or slower rise time for all supplies.
2. V
/PLLVDD and OVDD should track up to 0.9 V, then separate for the completion of ramps with
DD
OV
going to the higher external voltages. One way to accomplish this is to use a low drop-out
If VDD/PLLVDD are powered down first, then sense circuits in the I/O pads will cause all output drivers to
be in a high impedance state. There is no limit on how long after VDD and PLLVDD power down before
OV
power down or there will be undesired high current in the ESD protection diodes. There are no
requirements for the fall times of the power supplies.
The recommended power down sequence is as follows:
must power down. VDD should not lag OVDD or PLLVDD going low by more than 0.4 V during
DD
1. Drop V
/PLLVDD to 0 V.
DD
2. Drop OVDD supplies.
5.3Decoupling
•Place the decoupling caps as close to the pins as possible, but they can be outside the footprint of
the package.
•0.1 µF and 0.01 µF at each supply input
5.4Buffering
•Use bus buffers on all data/address lines for all off-board accesses and for all on-board accesses
when excessive loading is expected. See Section 7, “Preliminary Electrical Characteristics.”
5.5Pull-up Recommendations
•Use external pull-up resistors on unused inputs. See pin table.
5.6Clocking Recommendations
•Use a multi-layer board with a separate ground plane.
•Place the crystal and all other associated components as close to the EXTAL and XTAL (oscillator
pins) as possible.
•Do not run a high frequency trace around crystal circuit.
•Ensure that the ground for the bypass capacitors is connected to a solid ground trace.
•Tie the ground trace to the ground pin nearest EXTAL and XTAL. This prevents large loop currents
in the vicinity of the crystal.
•Tie the ground pin to the most solid ground in the system.
•Do not connect the trace that connects the oscillator and the ground plane to any other circuit
element. This tends to make the oscillator unstable.
•Tie XTAL to ground when an external oscillator is clocking the device.
5.7.1.1SDRAM Controller Signals in Synchronous Mode
Table 3 shows the behavior of SDRAM signals in synchronous mode.
Table 3. Synchronous DRAM Signal Connections
SignalDescription
SD_SRAS
SD_SCAS
DRAMW
SD_CS
SD_CKE Synchronous DRAM clock enable. Connected directly to the CKE (clock enable) signal of
BS
CLKOUTBus clock output. Connects to the CLK input of SDRAMs.
Synchronous row address strobe. Indicates a valid SDRAM row address is present and can be
latched by the SDRAM. SD_SRAS should be connected to the corresponding SDRAM
SD_SRAS
be interfaced to the SDRAM SD_SRAS signals.
Synchronous column address strobe. Indicates a valid column address is present and can be
latched by the SDRAM. SD_SCAS
SD_SCAS on the SDRAM.
DRAM read/write. Asserted for write operations and negated for read operations.
[1:0]Row address strobe. Select each memory block of SDRAMs connected to the MCF523x. One
SD_CS signal selects one SDRAM block and connects to the corresponding CS signals.
SDRAMs. Enables and disables the clock internal to SDRAM. When CKE is low, memory can
enter a power-down mode where operations are suspended or they can enter self-refresh mode.
SD_CKE functionality is controlled by DCR[COC]. For designs using external multiplexing,
setting COC allows SD_CKE to provide command-bit functionality.
[3:0] Column address strobe. For synchronous operation, BS[3:0] function as byte enables to the
SDRAMs. They connect to the DQM signals (or mask qualifiers) of the SDRAMs.
. Do not confuse SD_SRAS with the DRAM controller’s SD_CS[1:0], which should not
should be connected to the corresponding signal labeled
5.7.1.2Address Multiplexing
See the SDRAM controller module chapter in the MCF5235 Reference Manual for details on address
multiplexing.
5.7.2Ethernet PHY Transceiver Connection
The FEC supports both an MII interface for 10/100 Mbps Ethernet and a seven-wire serial interface for 10
Mbps Ethernet. The interface mode is selected by R_CNTRL[MII_MODE]. In MII mode, the 802.3
standard defines and the FEC module supports 18 signals. These are shown in Table 4.
The serial mode interface operates in what is generally referred to as AMD mode. The MCF523x
configuration for seven-wire serial mode connections to the external transceiver are shown in Table 5.
Table 5. Seven-Wire Mode Configuration
Signal DescriptionMCF523x Pin
Transmit clockETXCLK
Transmit enableETXEN
Transmit dataETXD[0]
CollisionECOL
Receive clockERXCLK
Receive enableERXDV
Receive dataERXD[0]
Unused, configure as PB14ERXER
Unused input, tie to groundECRS
Unused, configure as PB[13:11]ERXD[3:1]
Unused output, ignoreETXER
Unused, configure as PB[10:8]ETXD[3:1]
Unused, configure as PB15EMDC
Input after reset, connect to groundEMDIO
Refer to the M523xEVB evaluation board user’s manual for an example of how to connect an external
PHY. Schematics for this board are accessible at the MCF5235 site by navigating to:
The FlexCAN module interface to the CAN bus is composed of 2 pins: CANTX and CANRX, which are
the serial transmitted data and the serial received data. The use of an external CAN transceiver to interface
to the CAN bus is generally required. The transceiver is capable of driving the large current needed for the
CAN bus and has current protection, against a defective CAN bus or defective stations.
5.7.4BDM
Use the BDM interface as shown in the M523xEVB evaluation board user’s manual. The schematics for
this board are accessible at the Freescale website at: http://www.freescale.com/coldfire.
6Mechanicals/Pinouts and Part Numbers
This section contains drawings showing the pinout and the packaging and mechanical characteristics of
the MCF523x devices. See Table 2 for a list the signal names and pin locations for each device.
6.1Pinout—196 MAPBGA
The following figure shows a pinout of the MCF5232CVMxxx package.