MCF5407 ColdFire
®
Integrated Microprocessor
User’s Manual
MCF5407UM/D
Rev. 0.1, 11/2001
ColdFire is a registered trademark and DigitalDNA is a trademark of Motorola, Inc.
I
2
C is a registered trademark of Philips Semiconductors
Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty,
representation or guarantee regarding the suitability of its products for any particular purpose, nor does Motorola 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 which may be provided in Motorola 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. Motorola does not convey any license under its patent
rights nor the rights of others. Motorola 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 Motorola product could create a situation where personal injury or death may occur. Should Buyer purchase or
use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and hold Motorola 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 Motorola was negligent regarding the design or manufacture of the part. Motorola
and
are registered trademarks of Motorola, Inc. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.
How to reach us:
USA/EUROPE/Locations Not Listed:
Motorola Literature Distribution; P.O. Box 5405, Denver, Colorado 80217. 1–303–675–2140
or 1–800–441–2447
JAPAN:
Motorola Japan Ltd.; SPS, Technical Information Center, 3–20–1, Minami–Azabu. Minato–ku, Tokyo 106–8573 Japan.
81–3–3440–3569
ASIA/PACIFIC:
Motorola Semiconductors H.K. Ltd.; Silicon Harbour Centre, 2 Dai King Street, Tai Po Industrial Estate, Tai Po, N.T.,
Hong Kong. 852–26668334
Technical Information Center:
1–800–521–6274
HOME PAGE:
http://www.motorola.com/semiconductors
Document Comments:
FAX (512) 895-2638, Attn: TECD Applications Engineering
© Motorola Inc., 2001. All rights reserved.
Overview
Part I: MCF5407 Processor Core
ColdFire Core
Hardware Multiply/Accumulate (MAC) Unit
Local Memory
Debug Support
Part II: System Integration Module (SIM)
SIM Overview
Phase-Locked Loop (PLL)
I
2
C Module
Interrupt Controller
Chip-Select Module
Synchronous/Asynchronous DRAM Controller Module
Part III: Peripheral Module
DMA Controller Module
Timer Module
UART Modules
1
Part I
2
3
4
5
Part II
6
7
8
9
10
11
Part III
12
13
14
Parallel Port (General-Purpose I/O)
Part IV: Hardware Interface
Mechanical Data
Signal Descriptions
Bus Operation
IEEE 1149.1 Test Access Port (JTAG)
Electrical Specifications
Appendix A: Migration
Appendix B: Memory Map
Glossary of Terms and Abbreviations
Index
15
Part IV
16
17
18
19
20
A
B
GLO
IND
1
Part I
2
3
4
5
Part II
6
7
8
9
10
11
Part III
12
13
14
Overview
Part I: MCF5407 Processor Core
ColdFire Core
Hardware Multiply/Accumulate (MAC) Unit
Local Memory
Debug Support
Part II: System Integration Module (SIM)
SIM Overview
Phase-Locked Loop (PLL)
I
2
C Module
Interrupt Controller
Chip-Select Module
Synchronous/Asynchronous DRAM Controller Module
Part III: Peripheral Module
DMA Controller Module
Timer Module
UART Modules
15
Part IV
16
17
18
19
20
A
B
GLO
IND
Parallel Port (General-Purpose I/O)
Part IV: Hardware Interface
Mechanical Data
Signal Descriptions
Bus Operation
IEEE 1149.1 Test Access Port (JTAG)
Electrical Specifications
Appendix A: Migration
Appendix B: Memory Map
Glossary of Terms and Abbreviations
Index
CONTENTS
Paragraph
Number
Title
Page
Number
Chapter 1
Overview
1.1
1.2
1.2.1
1.3
1.3.1
1.3.1.1
1.3.1.2
1.3.1.3
1.3.1.4
1.3.2
1.3.2.1
1.3.2.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.8.1
1.3.8.2
1.3.8.3
1.3.8.4
1.3.8.5
1.3.9
1.3.10
1.4
1.4.1
1.4.2
Features ............................................................................................................... 1-1
MCF5407 Features.............................................................................................. 1-4
Process ............................................................................................................ 1-7
ColdFire Module Description ............................................................................. 1-7
ColdFire Core ................................................................................................. 1-7
Instruction Fetch Pipeline (IFP).................................................................. 1-7
Operand Execution Pipeline (OEP) ............................................................ 1-8
MAC Module.............................................................................................. 1-8
Integer Divide Module................................................................................ 1-8
Harvard Architecture ...................................................................................... 1-8
16-Kbyte Instruction Cache/8-Kbyte Data Cache ...................................... 1-9
Internal 2-Kbyte SRAMs ............................................................................ 1-9
DRAM Controller ........................................................................................... 1-9
DMA Controller.............................................................................................. 1-9
UART Modules............................................................................................. 1-10
Timer Module ............................................................................................... 1-11
I
2
C Module ................................................................................................... 1-11
System Interface ........................................................................................... 1-11
External Bus Interface .............................................................................. 1-11
Chip Selects .............................................................................................. 1-11
16-Bit Parallel Port Interface .................................................................... 1-12
Interrupt Controller ................................................................................... 1-12
JTAG......................................................................................................... 1-12
System Debug Interface................................................................................ 1-12
PLL Module.................................................................................................. 1-13
Programming Model, Addressing Modes, and Instruction Set......................... 1-13
Programming Model ..................................................................................... 1-15
User Registers ............................................................................................... 1-15
Contents
v