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 can and do vary in different
applications. All operating parameters, including "Typicals" must be validated for each customer application b y 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 f or any other application in which the f ailure of the
Motorola product could create a situation where personal injury or death may occur. Should Buy er purchase or use Motorola products f or 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 manuf acture of the part. Motorola and
are registered trademarks of Motorola, Inc. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employ er.
2000 Motorola, Inc. All Rights Reserved.Revision 0
Page 2
Trademarks
™
QUICC
is a registered trademark of Motorola, Inc. PowerPC
and is used by Motorola under license from IBM. I
AppleTalk
®
is a trademark of Apple Computer, Inc.
™
2
is a registered trademark of IBM Corporation
®
C
is a registered tradmark of Philips Corporation.
All other trademarks are the property of their respective owners.
Acknowledgments
The MPC823e Support Team would like to thank the following people for their
Art Miller, CW Clark, Ken Edwards, Kevin Owen, Ray Burgess, Tom Gunter, John Round, Mike Shoemake,
James Wilson, Chris Lines, Ricardo Berger, Yehuda Rudin, Yair Liebman, Udi Barel, the rest of the Israel
design team, Stu Werbner, Tiffany Huling-Broadous, John Dailey, Lan Nguyen, Richard Hendricks,
Darcy Volden, Trish Sierer, Arnaldo Cruz, Danny Nguyen, Myle Buchanan, Joseph Mayfield, Rodolfo Guillen,
the rest of the product/test engineering team, Brian McCalley, Alan Weiss, Steve Rosebaugh, Jasmine Hsiao,
Mike Collier, John Southard, Joseph Lee, Pat Carr, Mark VandenBrink, the rest of the Systems Software team,
The MPC823e microprocessor is a versatile, one-chip integrated microprocessor and
peripheral combination that can be used in a variety of portable electronic products. It is a
version of the low-cost MPC823 with larger instruction and data caches, which will provide
for greater PowerPC core performance. The MPC823e microprocessor particularly excels
in low-power, portable, image capture, and personal communication products. It integrates
™
a high-performance embedded PowerPC
core with a communication processor module
that uses a specialized RISC processor for imaging and communication. The
communication processor module can perform embedded signal processing functions for
image compression and decompression and supports seven serial channels—two serial
2
communication controllers, two serial management controllers, one I
C port, one universal
serial bus channel, and one serial peripheral interface. This two-processor architecture
consumes power more efficiently than traditional architectures because the communication
processor module frees the core from peripheral responsibilities like imaging and
communication.
1.1 FEATURES
The following list summarizes the main features of the MPC823e:
• Embedded PowerPC Core Provides 99MIPS (Using Dhrystone 2.1) or
172K Dhrystones 2.1 at 75MHz
Single-Issue, 32-Bit Version of the PowerPC Core (Fully Compatible with the
PowerPC Architecture Definition) with 32 x 32-Bit Fixed-Point Registers
Low Power Consumption, 2.2V Internal, 3.3V I/O Boundary with Microprocessor
Core, Caches, Memory Management, and I/O in Operation
Performs Branch Folding, Branch Prediction with Conditional Prefetch, without
Conditional Execution
8K Data Cache and 16K Instruction Cache
Four-Way Instruction Cache and Two-Way Data Cache are Set-Associative,
Memory Management Units with 32-Entry Translation Lookaside Buffers (TLBs)
and Fully Associative Instruction and Data TLBs
Memory Management Units Support Multiple Page Sizes of 4K, 16K, 512K and 8M
(1K Protection Granularity at the 4K Page Size); 16 Virtual Address Spaces and
16 Protection Groups
• Advanced On-Chip Emulation Debug Mode
1
MOTOROLA
MPC823e REFERENCE MANUAL
1-1
Page 50
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
Introduction
1
INTRODUCTION
• Data Bus Dynamic Bus Sizing for 8-,16-, and 32-Bit Buses
Supports Traditional 68K Big-Endian, Traditional x86 Little-Endian, and PowerPC
Little-Endian Memory Systems
Twenty-Six External Address Lines
• Completely Static Design (0–75MHz Operation)
• Communication Processor Module
Embedded 32-Bit RISC Microcontroller Architecture for Flexible I/O
Interfaces to PowerPC Core Through On-Chip 8K Dual-Access RAM and Virtual
(Serial) DMA Channels on a Dedicated DMA Accelerator
Continuous Mode Transmission and Reception on All Serial and Parallel Channels
Twenty Serial DMA (SDMA) Channels for Reception and Transmission on all Serial
and Parallel CPM Channels
Programmable Memory-to-Memory and Memory-to-I/O (Including Flyby) DMA
Provided by Virtual DMA Support
99MIPS @ 75MHz
Protocols Supported by ROM or Download Microcode and the Hardware Serial
Communication Controllers Include, but are Not Limited to, the Digital Portions of:
— Ethernet/IEEE 802.3 (CS/CDMA)
— HDLC/SDLC and HDLC Bus
— Appletalk
— Signalling System #7 (RAM Microcode Option)
— Universal Asynchronous Receiver Transmitter (UART)
— Synchronous UART (USART)
— Totally Transparent Mode With/Without CRC
— Asynchronous HDLC
— IrDA Version 1.1 Serial Infrared (SCC2 only)
— Basic Rate ISDN (BRI) in Conjunction with Serial Management
— One Operation Per Clock
— Two Clock Latency and One Clock Blockage
— Operates Concurrently with Other Instructions
— Uses DMA Controller to Burst Data Directly into Register File without Interacting
with the PowerPC Core
DSP Functions are Supported by ROM or Download Microcode and the
Communication Processor Module DSP Capabilities, Include but are No Limited to
JPEG Compression/Decompression
• Four Independent Baud Rate Generators and Two Input Clock Pins for Supplying
Clocks to the SCC and SMC Serial Channels
1-2
MPC823e REFERENCE MANUAL
MOTOROLA
Page 51
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
Introduction
• Two Serial Communication Controllers
Ethernet/IEEE 802.3 Support (10Mbps and Full-Duplex Operation)
GeoPort Support
HDLC Bus Implements an HDLC-Based Local Area Network
Universal Asynchronous Receiver Transmitter (UART)
Synchronous UART
Serial Infrared (IrDA) Supporting a Maximum of 4Mbps (SCC2 only)
Totally Transparent. Frame Based with Optional Cyclical Redundancy Check
Maximum Serial Data Rate of 66Mbps at 75MHz
• One Dedicated High-Speed Serial Channel for the Universal Serial Bus (USB)
Supports USB Slave Mode At a Maximum of 12Mbps With Four USB Endpoints
(One for Control and Three for Data)
• Two Serial Management Controllers with Externally Accessible Pins
Provides Management for BRI Devices as General Circuit Interface Control
Functions in TDM Channels
Low-Speed UART, Transparent and CODEC Interfaces
INTRODUCTION
1
• One Serial Peripheral Interface
Supports Master and Slave Modes
Supports Multimaster Operation on the Same Bus
2
®
C
• One I
(Microwire-Compatible) Interface that Supports Master and Slave Modes
• Serial Interface with a Time-Slot Assigner
Allows Serial Communication Controllers and Serial Management Controllers to be
Used in Multiplexed and/or Nonmultiplexed Operation
1- or 8-Bit Resolution
Allows Independent Transmit and Receive Routing, Frame Synchronization, and
Dynamic Clocking Modification Capability
Eight Programmable Strobes Can be Used to Generate Wave Patterns
Software-Configurable for Internal Interconnection of CPM Serial Channels
• Four Independent 16-Bit Timers That can be Configured as Two 32-Bit Timers.
• Interrupts
Seven External Interrupt Request (IRQ) Lines
One Nonmaskable Interrupt
Twelve Port Pins with Interrupt Capability
Ten Internal Interrupt Sources
Programmable Highest Priority Request
MOTOROLA
MPC823e REFERENCE MANUAL
1-3
Page 52
Introduction
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
❏
1
INTRODUCTION
• Memory Controller (Eight Banks)
Contains Complete DRAM Controller
Each Bank Can Be a Chip-Select or RAS
to Support a DRAM Bank
A Maximum of 30 Wait States per Memory Bank Can Be Programmed
Glueless Interface to DRAM Single In-Line Memory Modules, Static RAM,
Electrically Programmable Read-Only Memory, Flash EPROM or Synchronous
DRAM
Four CAS
lines, Four WE lines, and One OE Line
Boot Chip-Select Available at Reset (Options for 8-, 16-, or 32-Bit Memory)
Variable Block Sizes—32K to 256M
Selectable Write Protection
— Supports Digital TFT LCD Panels and Analog NTSC/PAL Displays
— Sequential RGB, 4:4:4, and 4:2:2 YC
Video Formats
— CCIR-656 Compatible 8-Bit Interface Port
— Horizontal Sync, Vertical Sync, Field and Blanking Timing Generation with
Half-Clock Resolution and Programmable Polarity
— Supports Interlace/Noninterlace Scanning Methods
— Programmable Display Active Area
— Programmable Background Color for Inactive Area
— Glueless Interface for Most Digital Video Encoders
— Uses Burst Read DMA Cycles for Maximum Bus Performance
— End-of-Frame Interrupt Generation
1-4
r
b
C
(CCIR 601) Digital Component
MPC823e REFERENCE MANUAL
MOTOROLA
Page 53
❏
❏
❏
❏
❏
❏
❏
Introduction
LCD Controller
— 1-, 2-, or 4-Bit Per Pixel Grayscale Mode Using Advanced Frame Rate Control
(FRC) Algorithm
— 4-, 8-, 9-, or 12-Bit Parallel Output to LCD Displays
— Programmable Display Active Area
— Nonsplit- or Vertically Split-Screen Support
— Uses Burst Read DMA Cycles for Maximum Bus Performance
— End-of-Frame Interrupt Generation
— Data for Splits—2+2 or 4+4 Parallel Bits (x+x Refers to x Bits Each for Lower
and Upper Screens in Parallel)
— Built-In Color RAM with 256 12-Bit Entries
— Programmable Wait Time Between Lines and Frames
— Panel Voltage Control Adjustments for Contrast Set with On-Chip Timers
— Programmable Polarity for All LCD Interface Signals
— Uses Burst Read DMA Cycles for Maximum Bus Performance
— End-of-Frame Interrupt Generation
Single PCMCIA Socket
Eight Memory or I/O Windows Available
Eight General-Purpose I/O Pins and Two General-Purpose Output-Only Pins are
Available when the PCMCIA Controller is not in Operation
• Low-Power Support Modes
Normal High–All Units are Fully Powered at High Clock Frequency
Normal Low–All Units are Fully Powered at Low Clock Frequency
Doze–Core Functional Units are Disabled, Except Timebase, Decrementer, PLL,
Memory Controller, Real-Time Clock, LCD, and Communication Processor Module
Sleep–All Units Are Disabled, except Real-Time Clock, Periodic Interrupt Timer,
Timebase, and Decrementer. PLL Is Active for Fast Wake-up
Deep Sleep–All Units are Disabled Including PLL, but not the Real-Time Clock and
Periodic Interrupt Timer, Timebase, and Decrementer
Power-Down—All Units are Disabled Including PLL, but not the Real-Time Clock
and Periodic Interrupt Timer, Timebase, and Decrementer. Saves More Power than
Other Modes. The State of Certain Registers may be Preserved.
Can be Dynamically Shifted Between High and Low Frequency Operation
MOTOROLA
MPC823e REFERENCE MANUAL
1-5
Page 54
Introduction
❏
❏
❏
❏
1
INTRODUCTION
• Development Capabilities and Interface
Program Flow Tracking
— Instruction Show Cycle
— Data Show Cycle
— Branching
— Exception Traps
Watchpoints and Breakpoints
— Four Hardware Breakpoints
— Five Watchpoint Sources
Simple Hardware Interface
— High-Speed Data Transfer
— Internal Status Pins
— Freeze Indication
Rich Control Register Set
• IEEE 1149.1 Test Access Port (JTAG)
• 3.3V Operation with 5V TTL Compatibility for the JTAG and Communication Processor
Module Port Pins and 3.3V for All Others.
• 256-Pin Plastic Ball Grid Array (BGA) Packaging
1.2 ARCHITECTURE
The MPC823e microprocessor uses a dual-processor architecture design approach with
large data and instruction caches to provide high performance using a general-purpose
RISC integer processor and a special-purpose 32-bit scalar RISC communication processor
module. The peripherals are uniquely designed for communication requirements and can
provide embedded signal processing functions for communication and user interface
enhancements and the I/O support needed for high-speed digital communications. The
MPC823e is comprised of four main modules that interface with the 32-bit internal bus:
• The embedded PowerPC core
• The system interface unit
• The communication processor module
• LCD controller
The MPC823e block diagram is illustrated in Figure 1-1.
1-6
MPC823e REFERENCE MANUAL
MOTOROLA
Page 55
E_BUS
Introduction
PCMCIA INTERFACE
MEMORY CONTROLLER
SYSTEM INTERFACE UNIT
CORE
EXTENDED
CACHE
INSTRUCTION
MMU
INSTRUCTION
EXT_BIU
INT_BIU
SYSTEM FUNCTIONS
MASTER
INTERFACE
SLAVE
INTERFACE
COMMUNICATION
DATA MMU DATA CACHE
CPM LOCAL BUS
PROCESSOR
LCD
INTERFACE
CRC
MAC
REGISTER FILE
RISC MICROCONTROLLER
ALU
SEQUENCERROM
RAM
DUAL-PORT
PERIPHERAL BUS
C
2
I
SCC3
INTRODUCTION
1
MOTOROLA
INTERRUPT
CORE
POWERPC
CONTROLLER
Figure 1-1. MPC823e Block Diagram
MPC823e REFERENCE MANUAL
TIMERS
PARALLEL I/O
SCC2SMC1SMC2
SERIAL INTERFACE AND TIME-SLOT ASSIGNER
USBSPI
BAUD RATE GENERATORS
1-7
Page 56
Introduction
1
INTRODUCTION
1.2.1 The Embedded PowerPC Core
The PowerPC core complies with standard PowerPC architecture. It has a fully static design
that consists of three functional blocks—the integer block, hardware multiplier/divider, and
load/store block. The core supports integer operations on a 32-bit internal data path and
32-bit arithmetic hardware. Its interface to the internal and external buses is 32 bits. The
core uses a two-instruction load/store queue, four-instruction prefetch queue, and a
six-instruction history buffer. It performs branch folding and branch prediction with
conditional prefetch, but without conditional execution. With single bus cycles, the core can
operate on 32-bit external operands and with critical-word-first in multiple bus cycles. The
PowerPC integer block supports 32 x 32-bit fixed-point general-purpose registers and can
execute one integer instruction per clock cycle.
The PowerPC core is integrated with the memory management units, an instruction cache,
and a data cache. The memory management units (MMUs) provide 32-entry,
fully-associative instruction and data TLBs, with multiple page sizes of 4K (1K protection),
16K, 512K, and 8M. They support 16 virtual address spaces and 16 protection groups.
Special registers are available to support software tablewalk and update.
The instruction cache is 16K, four-way, set-associative with physical addressing. It allows
single-cycle accesses on hit with no added latency for miss. It is four words per line and
supports burst line fill using an LRU replacement algorithm. The cache can be locked on a
line basis for application critical routines. The data cache is 8K, four-way, set-associative
with physical addressing. It allows single-cycle accesses on hit with one added clock latency
for miss. It has four words per line and supports burst line fill using an LRU replacement
algorithm. The cache can be locked on a line basis for application critical data and can be
programmed to support copyback or writethrough mode via the memory management unit.
The cache-inhibit mode can be programmed per MMU page. The PowerPC core, with its
instruction and data caches, can deliver approximately 99MIPS at 75MHz (using Dhrystone
2.1) or 172K Dhrystones, based on the assumption that it is issuing one instruction per cycle
with a cache hit rate of 94%.
1.2.2 The System Interface Unit
The system interface unit supports traditional 68K big-endian memory systems, traditional
x86 little-endian memory systems, and PowerPC little-endian memory systems. It also
provides power management functions, reset control, a PowerPC decrementer, PowerPC
timebase, and real-time clock. Although the PowerPC core is a 32-bit device internally, it can
be configured to operate with an 8-, 16-, or 32-bit data bus. Regardless of the system bus
size, dynamic bus sizing is supported, which allows 8-, 16-, and 32-bit peripherals and
memory to coexist on a 32-bit system bus.
The memory controller supports up to eight memory banks with glueless interfaces to
DRAM, SRAM, EPROM, Flash EPROM, SDRAM, EDO and other peripherals with two-clock
initial access to external SRAM and bursting support. It provides variable block sizes
between 32K and 256M. The memory controller has 0 to 20 wait states for each bank of
memory and can use address type matching to qualify each memory bank access. It
provides four byte-enable signals for varying width devices, one output-enable signal, and
one boot chip-select that is available at reset.
1-8MPC823e REFERENCE MANUALMOTOROLA
Page 57
Introduction
The DRAM interface supports 8-, 16-, and 32-bit ports and uses a programmable state
machine to support almost any memory interface. Memory banks can be defined in depths
of 256K, 512K, 1M, 2M, 4M, 8M, 16M, 32M, or 64M for all port sizes. In addition, the memory
depth can be defined as 64K and 128K for 8-bit memory or 128M and 256M for 32-bit
memory. The DRAM controller supports page mode access for successive transfers within
bursts. Although the MPC823e supports a glueless interface to DRAM, the capacitance of
the system bus may require that there be external buffers. The refresh unit provides CAS
before RAS
, a programmable refresh timer, refresh active during external reset, disable
refresh modes, and stacking for a maximum of seven refresh cycles.
1.2.3 The Communication Processor Module
The communication processor module (CPM) contains features that allow the MPC823e
microprocessor to excel in imaging, personal communication, and low-power applications.
These features are divided into three categories:
• DSP processing
• Communication processing
• Twelve serial DMA channels and two independent DMA channels
The MPC823e’s embedded DSP function allows the communication processor module to
execute imaging algorithms in parallel with the PowerPC core to achieve maximum
performance with very little power. The DSP can execute one 16x16 MAC on every clock
cycle. It has preprogrammed filtering functions like FIR, MOD, DEMOD, IIR, and
downloadable imaging functions for JPEG image compression and decompression. These
functions are also used by modem and speech recognition programs.
INTRODUCTION
1
The robust communication features of the MPC823e are provided by the communication
processor module. These features include a RISC microcontroller with multiply accumulate
(MAC) hardware, two serial communication controllers (SCCs), two serial management
controllers (SMCs), one dedicated serial channel for the universal serial bus (USB), one
2
inter-integrated circuit (I
C) port, one serial peripheral interface (SPI), 8K dual-port RAM, an
interrupt controller, a time-slot assigner, and four independent baud rate generators.
2
Twenty serial DMA channels support the SCCs, SMCs, USB channel, SPI, and I
C
controllers. The independent DMAs give you two channels for general-purpose DMA usage.
They offer high-speed transfers, 32-bit data movement, buffer chaining, and independent
request and acknowledge logic. The RISC microcontroller is the only block that can access
the IDMA registers directly. The CPU can only access them indirectly via a buffer descriptor.
MOTOROLAMPC823e REFERENCE MANUAL1-9
Page 58
Introduction
1
INTRODUCTION
1.2.4 The Video/LCD Controller
The MPC823e has a dual-purpose video/LCD controller that shares common dual-port
memory. You can only run one of the controllers at a time.
1.2.4.1 THE VIDEO CONTROLLER. The video controller can be used to drive a digital
NTSC/PAL encoder or a wide variety of digital LCD panels. The frame buffer is stored in
system memory in the form of an orthogonal matrix—rows and columns. The 24-bit color
data is organized as pixel components whether it is sequential RGB or YC
rCb. Each pixel
component is represented by a byte. The video controller uses a dedicated DMA channel to
read the display data from the frame buffer and drive it to the video interface. It also
generates the required timing signals such as horizontal sync, vertical sync, field, and
blanking. Refer to Section 19 Video Controller for more information.
1.2.4.2 THE LCD CONTROLLER. The LCD controller provides extremely versatile LCD
support for 8-bit color, monochrome or 4/16-level grayscale, color TFT (12 bits, 4x3 RGB),
and passive color (xSTN) 4/8 bit data. The controller supports 4- or 8-bit single-scan, 2+2bit dual-scan, or 4+4-bit dual-scan. It is programmable for frame rate, number of pixels per
line, and number of lines per frame. The panel voltage is programmable through the duty
cycle for contrast adjustments implemented in the communication processor module
program. Display data is stored in your own memory space and is transferred into the
controller using the DMA channel. Refer to Section 18 LCD Controller for more
information.
1.3 THE PCMCIA-ATA CONTROLLER
The PCMCIA-ATA interface is a master controller that is compliant with Version 2.1 of the
PCMCIA standard. The interface supports one independent PCMCIA socket with the
required external transceivers or buffers. It provides eight memory or I/O windows that can
be allocated to the socket. If the PCMCIA port is not being used as a card interface, it can
provide eight general-purpose pins and two output-only pins with interrupt capability.
1-10MPC823e REFERENCE MANUALMOTOROLA
Page 59
Introduction
1.4 POWER MANAGEMENT
The MPC823e microprocessor supports a wide range of power management features,
including normal high, normal low, doze, sleep, deep-sleep, and power-down modes. In
normal high mode, the MPC823e microprocessor is fully powered with all internal units
operating at the full speed of the processor. Normal low mode is the same as normal high,
except it operates at a much lower frequency. There is a doze mode determined by a clock
divider that allows the operating system to reduce the operational frequency of the
processor.
Doze mode disables core functional units except the timebase, decrementer, PLL, memory
controller, real-time clock, LCD controller, and communication processor module. Sleep
mode is a lower power mode that disables everything except the real-time clock, timebase,
decrementer, and periodic interrupt timer, thus leaving the PLL active for quick wake-up.
The deep-sleep mode then disables the PLL for lower power, but slower wake-up.
Power-down mode disables all logic in the processor, except the minimum logic required to
restart the device. It saves the most power, but requires the longest wake-up time.
1.5 SYSTEM DEBUG SUPPORT
The MPC823e microprocessor contains an advanced debug interface that provides superior
debug capabilities without any loss of speed. It supports six watchpoint pins that can be
combined with eight internal comparators, four of which operate on the effective address of
the address bus. The other four comparators are split—two comparators operate on the
effective address on the data bus and two comparators operate on the data on the data bus.
The MPC823e microprocessor can compare using the =, ≠, <, and > conditions to generate
watchpoints. Each watchpoint can then generate a breakpoint that can be programmed to
trigger in a programmable number of events.
INTRODUCTION
1
1.6 APPLICATIONS
The MPC823e microprocessor is specifically designed to be a general-purpose, low-cost
entry point to the Motorola embedded PowerPC Family for systems in which advanced
GUIs, communications, and high-level real-time operating systems are used. The device
excels in applications that require the performance of single-issue PowerPC core with a
moderate amount of data and instruction cache. It provides all the basic features of glueless
memory connections along with functional serial connectivity, a graphical LCD, and a video
display controller. The MPC823e excels in low-power and portable applications because of
its extensive power-down modes and low normal operation current.
MOTOROLAMPC823e REFERENCE MANUAL1-11
Page 60
Introduction
1
INTRODUCTION
1.7 DIFFERENCES BETWEEN MPC823 (REV 1) AND MPC823e
The following modifications were made to the MPC823 Revision 1 to create the MPC823e:
• Core operation was increased to 99MIPS @ 75MHz or 172K Dhyrstones
• The instruction cache was increased to 16K
• There are twenty serial DMA channels for reception and transmission
• The data cache was increased to 8K
• The instruction and data memory management units each consist of 32 TLB entries
• A time-division multiplex channel (TDMB) was added to the serial interface
1.8 MPC823e GLUELESS SYSTEM DESIGN
The MPC823e was primarily designed to make it easy for you to interface a microprocessor
with other system components. Figure 1-2 illustrates a system configuration that contains
one flash EPROM and yet supports DRAM SIMM and one SRAM. Although the MPC823e
supports a glueless interface to DRAM, the capacitance of the system bus may require that
there be external buffers. From a logic standpoint, however, a glueless system is
maintained.
1-12
MPC823e REFERENCE MANUAL
MOTOROLA
Page 61
8-BIT BOOT
EPROM/FLASH
Introduction
ADDRESS
CS0
GPL1/
MPC823e
WE[
DATA
OE
0:3]
WE0
CS1
RD/
WR
PARITY[0:3]PARITY[0:3]
CS2
ADDRESS
CE
CEOE
OE
WE
DATA
DRAM
ADDRESS
RAS
CAS
[0:3]
W
W
DATA
SRAM
ADDRESS
CE
CEOE
OE
WE
DATA
INTRODUCTION
1
Figure 1-2. MPC823e System Configuration
MOTOROLAMPC823e REFERENCE MANUAL1-13
Page 62
SECTION 2
EXTERNAL SIGNALS
This section briefly describes each of the MPC823e input and output signals.
The MPC823e system bus signals consist of all the lines that interface with the external bus.
Many of these lines perform different functions, depending on how you assign them. The
following input and output signals are identified by their mnemonic name and each signal’s
pin number can be found in Figure 2-1.
Table 2-1. Signal Descriptions
SIGNALPIN NUMBERDESCRIPTION
2
EXTERNAL SIGNALS
A[6:31]See Table 2-2
TSIZ0
REG
TSIZ1E15
C13
RD/WR
BURST
BDIP
GPL_B5
TS
for pin
breakout.
F15
B10
A13
D10
Address Bus— This bidirectional three-state signal provides the address for the
current bus cycle. A6 is the most-significant signal for this bus. The signal is output
when an internal master on the MPC823e initiates a transaction on the external bus.
The signal is input when an external master initiates a transaction on the bus and it
is sampled internally to allow the memory controller/PCMCIA interface to control the
accessed slave device.
Transfer Size 0 —When accessing a slave in the external bus, this three-state signal
is used (together with TSIZ1) by the bus master to indicate the number of operand
bytes waiting to be transferred in the current bus cycle. This signal is input when an
external master initiates a transaction on the bus and it is sampled internally to allow
the memory controller/PCMCIA interface to control the accessed slave device.
REG
—When the access is initiated by an internal master to a slave under control of
the PCMCIA interface, this signal is output to indicate which space in the PCMCIA
card is currently accessed.
Transfer Size 1— This three-state signal is used (with TSIZ0) by the bus master to
indicate the number of operand bytes waiting to be transferred in the current bus
cycle. This signal is driven by the MPC823e when it is the owner of the bus. It is input
when an external master initiates a transaction on the bus and it is sampled internally
to allow the memory controller/PCMCIA interface to control the accessed slave
device.
Read Write —This three-state signal is driven by the bus master to indicate the
direction of the bus’s data transfer. A logic one indicates a read from a slave device
and a logic zero indicates a write to a slave device. This signal is driven by the
MPC823e when it is the owner of the bus. It is input when an external master initiates
a transaction on the bus and is sampled internally to allow the memory controller/
PCMCIA interface to control the accessed slave device.
Burst Transaction —This three-state signal is driven by the bus master to indicate
that the current initiated transfer is a burst one. This signal is driven by the MPC823e
when it is the owner of the bus. It is input when an external master initiates a
transaction on the bus; this signal and is sampled internally to allow the memory
controller/PCMCIA interface to control the accessed slave device.
Burst Data in Progress —When accessing a slave device in the external bus, the
master on the bus asserts this signal to indicate that the data beat in front of the
current one is the one requested by the master. This signal is negated prior to the
expected last data beat of the burst transfer.
General-Purpose Line B5 —This signal is used by the memory controller when the
user programmable machine B (UPMB) takes control of the slave access.
Transfer Start— This three-state signal is asserted by the bus master to indicate the
start of a bus cycle that transfers data to or from a slave device. This signal is driven
by the master only when it has gained ownership of the bus. Every master should
negate this signal before the bus relinquishes. A pull-up resistor should be connected
to this signal to prevent a slave device from detecting a spurious bus accessing it
when no master is taking ownership of the bus.
This signal is sampled by the MPC823e when it is not the owner of the external bus
to allow the memory controller/PCMCIA interface to control the accessed slave
device. It indicates that an external synchronous master initiated a transaction.
2-2
MPC823e REFERENCE MANUAL
MOTOROLA
Page 64
External Signals
Table 2-1. Signal Descriptions (Continued)
SIGNALPIN NUMBERDESCRIPTION
TA
TEA
BIB12
RSV
IRQ2
IRQ4
KR
RETRY
SPKROUT
D[0:31]See Table 2-2
DP0
3
IRQ
DP1
IRQ4
A12
C11
D9
B7
for pin
breakout.
C3
D4
Transfer Acknowledge —This bidirectional three-state signal indicates that the
slave device addressed in the current transaction has accepted the data transferred
by the master (write) or has driven the data bus with valid data (read). The signal
behaves as an output when the PCMCIA memory controller takes control of the
transaction. The only exception occurs when the memory controller is controlling the
slave access by means of the GPCM and the corresponding option register is
instructed to wait for an external assertion of the transfer acknowledge line. Every
slave device should negate the ta signal after the end of the transaction and
immediately three-state it to avoid contentions on the line if a new transfer is initiated
addressing other slave devices. A pull-up resistor should be connected to this signal
to keep a master device from detecting the assertion of this signal when no slave is
addressed in a transfer or when the address detection for the addressed slave is
slow.
Transfer Error Acknowledge —This open-drain signal indicates that a bus error
occurred in the current transaction. It is driven asserted by the MPC823e when the
bus monitor does not detect a bus cycle termination within a reasonable amount of
time. The assertion of TEA
ignoring the state of TA
Burst Inhibit —This bidirectional three-state signal indicates that the slave device
addressed in the current burst transaction is unable to support burst transfers. The
signal behaves as an output when the PCMCIA memory controller takes control of
the transaction. When the MPC823e drives out the signal for a specific transaction,
it asserts or negates BI
the appropriate control registers. It negates the signal after the end of the transaction
and immediately three-states it to avoid contentions if a new transfer is initiated
addressing other slave devices.
Reservation —This three-state signal is output by the MPC823e in conjunction with
the address bus to indicate that the internal core initiated a transfer as a result of a
stwcx or lwarx instruction.
Interrupt Request 2 —This input is one of the eight external signals that can request
(by means of the internal interrupt controller) a service routine from the core.
Interrupt Request 4 —This input signal is one of the eight external signals that can
request (by means of the internal interrupt controller) a service routine from the core.
It should be noted that the interrupt request signal that is sent to the interrupt
controller is the logical AND of this signal (if defined to function as IRQ4
DP1/IRQ4
Kill Reservation —This input is used as a part of the storage reservation protocol
when the MPC823e initiated a transaction as the result of a stwcx instruction.
Retry— This input is used by the slave device to indicate that it is unable to accept
the transaction. The MPC823e has to relinquish the ownership of the bus and initiate
the transaction again after winning again in the bus arbitration.
Speaker Out —This output signal is used to provide a digital audio waveform to be
driven to the system’s speaker.
Data Bus —This bidirectional three-state signal provides the general-purpose data
path between the MPC823e and all other devices. Although the data path is a
maximum of 32 bits wide, it can be dynamically sized to support 8-, 16-, or 32-bit
transfers. D0 is the most-significant bit of the data bus.
Data Parity 0 —This bidirectional three-state signal provides parity generation and
checking for the data bus lane D[0:7] by transferring to a slave device initiated by the
MPC823e. The parity function can be defined independently for each one of the
addressed memory banks (if controlled by the memory controller) and for the rest of
the slaves on the external bus.
Interrupt Request 3 —This input signal is one of the eight external signals that can
request (by means of the internal interrupt controller) a service routine from the core.
Data Parity 1 —This bidirectional three-state signal provides parity generation and
checking for the data bus lane D[8:15] by transferring to a slave device initiated by
the MPC823e. The parity function can be defined independently for each one of the
addressed memory banks (if controlled by the memory controller) and for the rest of
the slaves on the external bus.
Interrupt Request 4 —This input is one of the eight external lines that can request
(by means of the internal interrupt controller) a service routine from the core. It should
be noted that the interrupt request signal that is sent to the interrupt controller is the
logical AND of this signal (if defined to function as IRQ4
IRQ4 if defined to function as IRQ4.
(if defined to function as IRQ4).
causes the termination of the current bus cycle, thus
.
during the transaction according to the value you specify in
) and the
) and the KR/SPKROUT/
EXTERNAL SIGNALS
2
MOTOROLA
MPC823e REFERENCE MANUAL
2-3
Page 65
External Signals
2
EXTERNAL SIGNALS
Table 2-1. Signal Descriptions (Continued)
SIGNALPIN NUMBERDESCRIPTION
DP2
IRQ5
DP3
IRQ6
BRB11
BG
BB
IRQ6
FRZ
IRQ0N1
IRQ1
IRQ7
[0:5]See Table 2-2
CS
CS6
CE1_B
D3
C2
C10
A11
A10
N2
N3
for pin
breakout.
C14
Data Parity 2 —This bidirectional three-state signal provides parity generation and
checking for the data bus lane D[16:23] by transferring to a slave device initiated by
the MPC823e. The parity function can be defined independently for each one of the
addressed memory banks (if controlled by the memory controller) and for the rest of
the slaves on the external bus.
Interrupt Request 5 —This input signal is one of the eight external signals that can
request (by means of the internal interrupt controller) a service routine from the core.
Data Parity 3 —This bidirectional three-state signal provides parity generation and
checking for the data bus lane D[24:31] by transferring to a slave device initiated by
the MPC823e. The parity function can be defined independently for each one of the
addressed memory banks (if controlled by the memory controller) and for the rest of
the slaves on the external bus.
Interrupt Request 6 —This input signal is one of the eight external signals that can
request (by means of the internal interrupt controller) a service routine from the core.
It should be noted that the interrupt request signal that is sent to the interrupt
controller is the logical AND of this signal (if defined to function as IRQ6
FRZ/IRQ6
Bus Request —This bidirectional signal is asserted low when a possible master is
requesting ownership of the bus. When the MPC823e is configured to operate with
the internal arbiter, this signal is configured as an input. However, when the
MPC823e is configured to operate with an external arbiter, this signal is configured
as an output and asserted every time a new transaction is intended to be initiated
and no parking on the bus is granted.
Bus Grant —This bidirectional signal is asserted low when the arbiter of the external
bus grants the specific master ownership of the bus. When the MPC823e is
configured to operate with the internal arbiter, this signal is configured as an output
and asserted every time the external master asserts the BR
request is higher than any of the internal sources requiring the initiation of a bus
transfer. However, when the MPC823e is configured to operate with an external
arbiter, this signal is configured as an input.
Bus Busy —This bidirectional signal is asserted low by a master to show that it owns
the bus. The MPC823e asserts this signal after the bus arbiter grants it bus
ownership and the BB
Interrupt Request 6 —This input signal is one of the eight external signals that can
request (by means of the internal interrupt controller) a service routine from the core.
It should be noted that the interrupt request signal that is sent to the interrupt
controller is the logical AND of this signal (if defined to function as IRQ6
DP3/IRQ6
Freeze —This output signal is asserted to indicate that the internal core is in debug
mode.
Interrupt Request 0 —This input signal is one of the eight external signals that can
request (by means of the internal interrupt controller) a service routine from the core.
It causes a non-maskable interrupt to the core.
Interrupt Request 1 —This input signal is one of the eight external signals that can
request (by means of the internal interrupt controller) a service routine from the core.
Interrupt Request 7 —This input signal is one of the eight external signals that can
request (by means of the internal interrupt controller) a service routine from the core.
Chip Select —These output signals enable peripheral or memory devices at
programmed addresses if they are appropriately defined in the memory controller.
CS0
Chip Select 6 —This output signal enables a peripheral or memory device at a
programmed address if defined appropriately in the BR6 and OR6 of the memory
controller.
Card Enable 1 Slot B —This output signal enables even byte transfers when
accesses to the PCMCIA Slot B are handled by the PCMCIA interface.
if defined to function as IRQ6.
signal is negated.
(if defined to function as IRQ6.)
can be configured to be the global chip-select for the boot device.
) and the
signal and its priority
) and the
2-4
MPC823e REFERENCE MANUAL
MOTOROLA
Page 66
Table 2-1. Signal Descriptions (Continued)
SIGNALPIN NUMBERDESCRIPTION
CS7
CE2_B
WE0
BS_AB0
IORD
WE1
BS_AB1
IOWR
WE2
BS_AB2
PCOE
WE3
BS_AB3
PCWE
GPL_A0
GPL_B0
GPL_A1
GPL_B1
OE
B15
D16
E16
D15
F13
E13
C16
Chip Select 7 —This output signal enables a peripheral or memory device at a
programmed address if defined appropriately in the BR7 and OR7 registers of the
memory controller.
Card Enable 2 Slot B —This output signal enables odd byte transfers when
accesses to the PCMCIA Slot B are handled by the PCMCIA interface.
Write Enable 0 —This output signal is asserted when a write access to an external
slave controlled by the GPCM in the memory controller is initiated by the MPC823e.
is asserted if the data lane D[0:7] contains valid data to be stored by the slave
WE0
device.
Byte Select 0 on UPMA or UPMB —This output signal is asserted as required by
the UPMA or UPMB in the memory controller whenever you program it. In a read or
write transfer, the signal is only asserted if the data lane D[0:7] contains valid data.
I/O Device Read —This output signal is asserted when the MPC823e initiates a read
access to a region controlled by the PCMCIA interface. The signal is only asserted if
the access is to a PC Card I/O space.
Write Enable 1 —This output signal is asserted when the MPC823e initiates a write
access to an external slave controlled by the GPCM in the memory controller. WE1
is asserted if the data lane D[8:15] contains valid data to be stored by the slave
device.
Byte Select 1 on UPMA or UPMB —This output signal is asserted as required by
the UPMA or UPMB in the memory controller whenever you program it. In a read or
write transfer, the signal is only asserted if the data lane D[8:15] contains valid data.
I/O Device Write —This output signal is asserted when the MPC823e initiates a write
access to a region controlled by the PCMCIA interface. The signal is only asserted if
the access is to a PC Card I/O space.
Write Enable 2 —This output signal is asserted when the MPC823e initiates a write
access to an external slave controlled by the GPCM in the memory controller. WE2
is asserted if the data lane D[16:23] contains valid data to be stored by the slave
device.
Byte Select 2 on UPMA or UPMB —This output signal is asserted as required by
the UPMA or UPMB in the memory controller whenever you program it. In a read or
write transfer, the signal is only asserted if the data lane D[16:23] contains valid data.
PCMCIA Output Enable —This output signal is asserted when the MPC823e
initiates a read access to a memory region under the control of the PCMCIA
interface.
Write Enable 3 —This output signal is asserted when the MPC823e initiates a write
access to an external slave controlled by the GPCM in the memory controller. WE3
is asserted if the data lane D[24:31] contains valid data to be stored by the slave
device.
Byte Select 3 on UPMA or UPMB —This output signal is asserted as required by
the UPMA or UPMB in the memory controller whenever you program it. In a read or
write transfer, the signal is only asserted if the data lane D[24:31] contains valid data.
PCMCIA Write Enable —This output signal is asserted when the MPC823e initiates
a write access to a memory region controlled by the PCMCIA interface.
General-Purpose Line 0 on UPMA —This output signal reflects the value specified
in the UPMA in the memory controller when an external transfer to a slave is
controlled by the user programmable machine A (UPMA).
General-Purpose Line 0 on UPMB —This output signal reflects the value specified
in the UPMB in the memory controller when an external transfer to a slave is
controlled by the user programmable machine B (UPMB).
General-Purpose Line 1 on UPMA —This output signal reflects the value specified
in the UPMA in the memory controller when an external transfer to a slave is
controlled by the user programmable machine A (UPMA).
General-Purpose Line 1 on UPMB —This output signal reflects the value specified
in the UPMB in the memory controller when an external transfer to a slave is
controlled by the user programmable machine B (UPMB).
Output Enable —This output signal is asserted when the MPC823e initiates a read
access to an external slave controlled by the GPCM in the memory controller.
External Signals
EXTERNAL SIGNALS
2
MOTOROLA
MPC823e REFERENCE MANUAL
2-5
Page 67
External Signals
2
EXTERNAL SIGNALS
UPWAITA
UPWAITB
PORESET
RSTCONF
Table 2-1. Signal Descriptions (Continued)
SIGNALPIN NUMBERDESCRIPTION
2
GPL_A
GPL_B2
CS2
3
GPL_A
GPL_B3
CS3
GPL_A4
AS
4
GPL_B
GPL_A5
HRESET
SRESET
XTALA4
EXTALA5
XFCB2
CLKOUTD1
EXTCLKA6
C15
D14
D11
B13
C12
B3
C5
B5
B4
General-Purpose Line 2 on UPMA —This output signal reflects the value specified
in the UPMA in the memory controller when an external transfer to a slave is
controlled by the user programmable machine A (UPMA).
General-Purpose Line 2 on UPMB —This output signal reflects the value specified
in the UPMB in the memory controller when an external transfer to a slave is
controlled by the user programmable machine B (UPMB).
Chip Select 2 —This output signal enables a peripheral or memory device at a
programmed address if defined appropriately in the BR2 and OR2 registers of the
memory controller.
General-Purpose Line 3 on UPMA —This output signal reflects the value specified
in the UPMA in the memory controller when an external transfer to a slave is
controlled by the user programmable machine A (UPMA).
General-Purpose Line 3 on UPMB —This output signal reflects the value specified
in the UPMB in the memory controller when an external transfer to a slave is
controlled by the user programmable machine B (UPMB).
Chip Select 3 —This output signal enables a peripheral or memory device at a
programmed address if defined appropriately in the BR3 and OR3 registers of the
memory controller.
General-Purpose Line 4 on UPMA —This output signal reflects the value specified
in the UPMA in the memory controller when an external transfer to a slave is
controlled by the user programmable machine A (UPMA).
User Programmable Machine Wait A —This input signal is sampled when you need
it and when an access to an external slave is controlled by the UPMA in the memory
controller.
Address Strobe —This input pin is driven by an external asynchronous master to
indicate a valid address on the A[6:31] lines. The memory controller in the MPC823e
will synchronize this signal and control the memory device addressed if it is
recognized to be under its control.
General-Purpose Line 4 on UPMB —This output signal reflects the value specified
in the UPMB in the memory controller when an external transfer to a slave is
controlled by the user programmable machine B (UPMB).
User Programmable Machine Wait B —This input signal is sampled when you need
it and when an access to an external slave is controlled by the UPMB in the memory
controller.
General-Purpose Line 5 on UPMA —This output signal reflects the value specified
in the UPMA in the memory controller when an external transfer to a slave is
controlled by the user programmable machine A (UPMA). This signal can also be
controlled by the UPMB.
Power-On Reset —When asserted, this input signal causes the MPC823e to enter
the power-on reset state.
Reset Configuration —This input signal is sampled by the MPC823e during the
assertion of the HRESET
in the form of the hard reset configuration word driven on the data bus. When this
signal is negated, the default configuration mode is adopted by the MPC823e. Notice
that the initial base address of internal registers is determined in this sequence.
Hard Reset —This open drain line, when asserted, causes the MPC823e to enter the
hard reset state.
Soft Reset —This open drain line, when asserted, causes the MPC823e to enter the
soft reset state.
External Crystal —This output signal is one of the connections to an external crystal
for the internal oscillator circuitry.
External Crystal —This signal is one of the connections to an external crystal for the
internal oscillator circuitry.
External Filter Capacitance —This input signal is the connection pin to an external
capacitor filter for the PLL circuitry.
CLKOUT —This output signal is the clock system frequency.
External Clock —This input signal is the external input clock from an external
source.
signal. If it is asserted, the configuration mode is sampled
2-6
MPC823e REFERENCE MANUAL
MOTOROLA
Page 68
Table 2-1. Signal Descriptions (Continued)
SIGNALPIN NUMBERDESCRIPTION
TEXPD5
WAIT_B
ALE_B
DSCK
AT1
IP_B0
IWP0
VFLS0
IP_B1
IWP1
VFLS1
IP_B2
IOIS16_B
AT2
IP_B3
IWP2
VF2
IP_B4
LWP0
VF0
IP_B5
LWP1
VF1
C4
B8
A8
C8
D7
A9
B9Input Port B 4—This input signal is monitored by the MPC823e and its value and
C9Input Port B 5—This input signal is monitored by the MPC823e and its value and
Timer Expired —This output signal reflects the status of the TEXPS bit of the
PLPRCR register in the clock interface.
Wait Slot B —This input signal, if asserted low, causes the completion of a
transaction to be delayed on the PCMCIA-controlled Slot B.
Address Latch Enable B —This output signal is asserted when the MPC823e
initiates an access to a region under the control of the PCMCIA socket B interface.
Development Serial Clock —This input signal is the clock for the debug port
interface.
Address Type 1 —This bidirectional three-state signal is driven by the MPC823e
when it initiates a transaction on the external bus. When the transaction is initiated
by the internal core, it indicates if the transfer is for problem or privilege state.
Input Port B 0 —This input signal is sensed by the MPC823e and its value and
changes are reported in the PIPR and PSCR registers of the PCMCIA interface.
Instruction Watchpoint 0 —This output signal reports the detection of an instruction
watchpoint in the program flow executed by the internal core.
Visible History Buffer Flushes Status —This output signal is output by the
MPC823e when you need program instructions flow tracking. It reports the number
of instructions flushed from the history buffer in the internal core.
Input Port B 1 —This input signal is sensed by the MPC823e and its value and
changes are reported in the PIPR and PSCR registers of the PCMCIA interface.
Instruction Watchpoint 1 —This output signal reports the detection of an instruction
watchpoint in the program flow executed by the internal core.
Visible History Buffer Flushes Status —This output signal is output by the
MPC823e when you need program instructions flow tracking. It reports the number
of instructions flushed from the history buffer in the internal core.
Input Port B 2 —This input signal is sensed by the MPC823e and its value and
changes are reported in the PIPR and PSCR registers of the PCMCIA interface.
I/O Device B is 16 Bits Port Size —This input signal is monitored by the MPC823e
when a PCMCIA interface transaction is initiated to an I/O region in socket B within
the PCMCIA space.
Address Type 2 —This bidirectional three-state signal is driven by the MPC823e
when it initiates a transaction on the external bus. When the transaction is initiated
by the internal core, it indicates if the transfer is instruction or data.
Input Port B 3 —This input signal is monitored by the MPC823e and its value and
changes are reported in the PIPR and PSCR registers of the PCMCIA interface.
Instruction Watchpoint 2 —This output signal reports the detection of an instruction
watchpoint in the program flow executed by the internal core.
Visible Instruction Queue Flush Status —This output signal, together with VF0 and
VF1, is output by the MPC823e when you need program instruction flow tracking.
VFx reports the number of instructions flushed from the instruction queue in the
internal core.
changes are reported in the PIPR and PSCR registers of the PCMCIA interface.
Load/Store Watchpoint 0—This output signal reports the detection of a data
watchpoint in the program flow executed by the internal core.
Visible Instruction Queue Flushes Status—This output signal, together with VF1
and VF2, is output by the MPC823e when you need program instructions flow
tracking. VF reports the number of instructions flushed from the instruction queue in
the internal core.
changes are reported in the PIPR and PSCR registers of the PCMCIA interface.
Load/Store Watchpoint 1—This output signal reports the detection of a data
watchpoint in the program flow executed by the internal core.
Visible Instruction Queue Flushes Status—This output signal, together with VF0
and VF2, is output by the MPC823e when you need program instructions flow
tracking. VF reports the number of instructions flushed from the instruction queue in
the internal core.
External Signals
EXTERNAL SIGNALS
2
MOTOROLA
MPC823e REFERENCE MANUAL
2-7
Page 69
External Signals
2
EXTERNAL SIGNALS
Table 2-1. Signal Descriptions (Continued)
SIGNALPIN NUMBERDESCRIPTION
IP_B6
DSDI
AT0
IP_B7
PTR
AT3
MODCK1
OP2
STS
MODCK2
OP3
DSDO
PA[15]
USBRXD
PA[14]
USBOE
PA[13]
RXD2
PA[12]
TXD2
PA[9]
L1TXDA
SMRXD2
PA[8]
L1RXDA
SMTXD2
PA[7]
CLK1
TIN1
L1RCLKA
BRGO1
PA[6]
CLK2
TOUT1
TIN3
L1RCLKB
C7Input Port B 6—This input signal is sensed by the MPC823e and its value and
D8Input Port B 7—This input signal is monitored by the MPC823e and its value and
D6Mode Clock 1—This input signal is sampled at PORESET negation to configure the
B6Mode Clock 2—This input signal is sampled at PORESET
P16General-Purpose I/O Port A Bit 15—Bit 15 of the general-purpose I/O port A.
R15General-Purpose I/O Port A Bit 14—Bit 14 of the general-purpose I/O port A.
R14General-Purpose I/O Port A Bit 13—Bit 13 of the general-purpose I/O port A.
R13General-Purpose I/O Port A Bit 12—Bit 12 of the general-purpose I/O port A.
N10General-Purpose I/O Port A Bit 11—Bit 9 of the general-purpose I/O port A.
T9General-Purpose I/O Port A Bit 8—Bit 8 of the general-purpose I/O port A.
T8General-Purpose I/O Port A Bit 7—Bit 7 of the general-purpose I/O port A.
P8General-Purpose I/O Port A Bit 6—Bit 6 of the general-purpose I/O port A.
changes are reported in the PIPR and PSCR registers of the PCMCIA interface.
Development Serial Data Input—This input signal is the data in for the debug port
interface.
Address Type 0—This bidirectional three-state signal is driven by the MPC823e
when it initiates a transaction on the external bus. If high (1), the transaction is the
CPM. If low (0), the transaction initiator is the core.
changes are reported in the PIPR and PSCR registers of the PCMCIA interface.
Program Trace—This output signal is asserted by the MPC823e to indicate that an
instruction fetch is taking place in order to allow program flow tracking.
Address Type 3—This bidirectional three-state signal is driven by the MPC823e
when it initiates a transaction on the external bus. When the transaction is initiated
by the internal core, it indicates if the transfer is reserved for data transfers or a
program trace indication for instructions fetch.
PLL/clock mode of operation.
Output Port 2—This output signal is generated by the MPC823e as a result of a
write to the PGCRB register in the PCMCIA interface.
Special Transfer Start—This output signal is driven by the MPC823e to indicate the
beginning of a transaction on the external bus or an internal transaction in show cycle
mode.
PLL/clock mode of operation.
Output Port 3—This output signal is generated by the MPC823e as a result of a
write to the PGCRB register in the PCMCIA interface.
Development Serial Data Output—This output signal is the data out of the debug
port interface.
USBRXD—The receive data input signal for the USB.
USBOE—The output enable signal for the USB transmitter.
RXD2—The receive data input signal for serial communication controller 2.
TXD2—The transmit data output signal for serial communication controller 2. TXD2
has open-drain capability.
L1TXDA—The transmit data output signal for the serial interface time-division
multiplex port A. This signal has open-drain capability.
SMRXD2—The serial management controller 2 receive data pin.
L1RXDA—The receive data input signal for the serial interface time-division
multiplex port A.
SMTXD2—The serial management controller 2 transmit data pin.
CLK1—This input signal is one of the four clock pins that can be used to clock the
serial communication controllers, serial management controllers, and USB.
TIN1—The timer 1 external clock pin.
L1RCLKA—The receive clock for the serial interface time-division multiplex port A.
BRGO1—The output clock of BRG1.
CLK2—This input signal is one of the four clock pins that can be used to clock the
serial communication controllers, serial management controllers, and USB.
—The timer 1 output pin.
TOUT1
TIN3—The timer 3 external clock pin. L1RCLKB—The receive clock for the serial
interface time-division multiplex port B.
negation to configure the
2-8MPC823e REFERENCE MANUALMOTOROLA
Page 70
Table 2-1. Signal Descriptions (Continued)
SIGNALPIN NUMBERDESCRIPTION
PA[5]
CLK3
TIN2
L1TCLKA
BRGO2
PA[4]
CLK4
TOUT2
TIN4
L1TCLKB
PB[31]
SPISEL
LCD_A
PB[30]
SPICLK
TXD3
PB[29]
SPIMOSI
RXD3
PB[28]
SPIMISO
BRGO3
PB[27]
I2CSDA
BRGO1
PB[26]
I2CSCL
BRGO2
PB[25]
SMTXD1
TXD3
PB[24]
SMRXD1
RXD3
L1RXDB
PB[23]
SMSYN1
CTS3
SDACK1
L1RSYNCB
T6General-Purpose I/O Port A Bit 5—Bit 5 of the general-purpose I/O port A.
R6General-Purpose I/O Port A Bit 4—Bit 4 of the general-purpose I/O port A.
N14General-Purpose I/O Port B Bit 31—Bit 31 of the general-purpose I/O port B.
P15General-Purpose I/O Port B Bit 30—Bit 30 of the general-purpose I/O port B.
P14General-Purpose I/O Port B Bit 29—Bit 29 of the general-purpose I/O port B.
T15General-Purpose I/O Port B Bit 28—Bit 28 of the general-purpose I/O port B.
T14General-Purpose I/O Port B Bit 27—Bit 27 of the general-purpose I/O port B.
P12General-Purpose I/O Port B Bit 26—Bit 26 of the general-purpose I/O port B.
N11General-Purpose I/O Port B Bit 25—Bit 25 of the general-purpose I/O port B.
T11General-Purpose I/O Port B Bit 24—Bit 24 of the general-purpose I/O port B.
T10General-Purpose I/O Port B Bit 23—Bit 23 of the general-purpose I/O port B.
CLK3—This input signal is one of the four clock pins that can be used to clock the
serial communication controllers, serial management controllers, and USB.
TIN2—The timer 2 external clock input pin.
L1TCLKA—The transmit clock for the serial interface time-division multiplex port A.
BRGO2—The output clock of BRG2.
CLK4—This input signal is one of the four clock pins that can be used to clock the
serial communication controllers, serial management controllers, and USB.
—The timer 2 output pin.
TOUT2
TIN4—The timer 4 external clock pin.
L1TCLKB—The transmit clock for the serial interface time-division multiplex port A.
—The serial peripheral interface slave select input pin.
SPISEL
LCD_A—This is one of the LCD controller’s three extension data bits, which are
used to drive an active LCD panel. When using a 12-bit bus instead of a 9-bit bus,
the LCD_A signal is the least-significant bit of the red 4-bit code. The red portion of
the bus consists of LD[0:2] and LCD_A.
SPICLK—The serial peripheral interface output clock when it is configured as a
master or serial peripheral interface input clock when it is configured as a slave.
TXD3—The transmit data output signal for serial communication controller 3. TXD3
has open-drain capability.
SPIMOSI—The serial peripheral interface output data when it is configured as a
master or serial peripheral interface input data when it is configured as a slave.
RXD3—The receive data input signal for serial communication controller 3.
SPIMISO—The serial peripheral interface input data when it is configured as a
master or serial peripheral interface output data when it is configured as a slave.
BRGO3—The output clock of BRG3.
I2CSDA—The I
as an open-drain output.
BRGO1—The output clock of BRG1.
I2CSCL—The I
as an open-drain output.
BRGO2—The output clock of BRG2.
SMTXD1—The serial management controller 1 transmit data output pin.
TXD3—The transmit data output signal for serial communication controller 3. TXD3
has open-drain capability.
SMRXD1—The serial management controller 1 receive data input pin.
RXD3—The receive data input signal for serial communication controller 3.
L1RXDB—The receive data input signal for the serial interface time-division
multiplex port B.
SMSYN1
CTS3
—The Clear to Send Modem line for serial communication controller 3.
SDACK1
interface signal for IDMA emulation.
L1RSYNCB—The transmit sync input for the serial interface time-division multiplex
port B.
2
C serial data pin. This pin is bidirectional and should be configured
2
C serial clock pin. This pin is bidirectional and should be configured
—The serial management controller 1 external sync input pin.
—The SDMA acknowledge 1 output pin that is used as a peripheral
External Signals
EXTERNAL SIGNALS
2
MOTOROLAMPC823e REFERENCE MANUAL2-9
Page 71
External Signals
L1TSYNCB
2
EXTERNAL SIGNALS
Table 2-1. Signal Descriptions (Continued)
SIGNALPIN NUMBERDESCRIPTION
PB[22]
SMSYN2
SDACK2
PB[19]
L1ST1
LCD_B
PB[18]
RTS2
L1ST2
PB[17]
L1ST3
LCD_C
PB[16]
L1RQA
L1ST4
PC[15]
DREQ1
L1ST5
L1TXDB
PC[14]
DREQ2
RTS2
L1ST6
PC[13]
L1ST7
RTS3
PC[12]
L1RQA
L1ST8
PC[11]
USBRXP
PC[10]
TGATE1
USBRXN
PC[9]
CTS2
PC[8]
CD2
TGATE1
R9General-Purpose I/O Port B Bit 22—Bit 22 of the general-purpose I/O port B.
R7General-Purpose I/O Port B Bit 19—Bit 19 of the general-purpose I/O port B.
P7General-Purpose I/O Port B Bit 18—Bit 18 of the general-purpose I/O port B.
N7General-Purpose I/O Port B Bit 17—Bit 17 of the general-purpose I/O port B.
R5General-Purpose I/O Port B Bit 16—Bit 16 of the general-purpose I/O port B.
R16General-Purpose I/O Port C Bit 15—Bit 15 of the general-purpose I/O port C.
T16General-Purpose I/O Port C Bit 14—Bit 14 of the general-purpose I/O port C.
P13General-Purpose I/O Port C Bit 13—Bit 13 of the general-purpose I/O port C.
T13General-Purpose I/O Port C Bit 12—Bit 12 of the general-purpose I/O port C.
R10General-Purpose I/O Port C Bit 11—Bit 11 of the general-purpose I/O port C.
P9General-Purpose I/O Port C Bit 10—Bit 10 of the general-purpose I/O port C.
R8General-Purpose I/O Port C Bit 9—Bit 9 of the general-purpose I/O port C.
N8General-Purpose I/O Port C Bit 8—Bit 8 of the general-purpose I/O port C.
SMSYN2—The serial management controller 2 external sync input pin.
SDACK2
interface signal for IDMA emulation.
L1TSYNCB—The receive sync input for the serial interface time-division multiplex
port B.
L1ST1—One of eight output strobes that can be generated by the serial interface.
LCD_B—This is one of the LCD controller’s three extension data bits, which are
used to drive an active LCD panel. When using a 12-bit bus instead of a 9-bit bus,
the LCD_B signal is the least-significant bit of the green 4-bit code. The green portion
of the bus consists of LD[3:5] and LCD_B.
RTS2
L1ST2—One of eight output strobes that can be generated by the serial interface.
L1ST3—One of eight output strobes that can be generated by the serial interface.
LCD_C—This is one of the LCD controller’s three extension data bits, which are
used to drive an active LCD panel. When using a 12-bit bus instead of a 9-bit bus,
the LCD_C signal is the least-significant bit of the blue 4-bit code. The blue portion
of the bus consists of LD[6:8] and LCD_C.
L1RQA—The D-channel request signal for the serial interface time-division multiplex
port A.
L1ST4—One of eight output strobes that can be generated by the serial interface.
DREQ1
L1ST5—One of eight output strobes that can be generated by the serial interface.
L1TXDB—The transmit data input signal for the serial interface time-division
multiplex port B.
DREQ2
RTS2
L1ST6—One of eight output strobes that can be generated by the serial interface.
L1ST7—One of eight output strobes that can be generated by the serial interface.
RTS3
L1RQA—The D-channel request signal for the serial interface time-division multiplex
port A.
L1ST8—One of eight output strobes that can be generated by the serial interface.
USBRXP—Used with USBRXN, this signal is used by the USB to detect a
single-ended zero and the interconnection speed.
TGATE1
USBRXN—Used with USBRXP, this signal is used by the USB to detect a
single-ended zero and the interconnection speed.
CTS2
CD2
TGATE1
—The SDMA acknowledge 2 output pin that is used as a peripheral
—The Request To Send modem signal for serial communication controller 2.
—The IDMA channel 1 request input signal.
—The IDMA channel 2 request input signal.
—The Request To Send modem signal for serial communication controller 2.
—The Request To Send modem signal for serial communication controller 3.
—The timer1/timer2 gate signal.
—The Clear to Send Modem line for serial communication controller 2.
—The Carrier Detect Modem line for serial communication controller 2.
—The timer1/timer2 gate signal.
2-10MPC823e REFERENCE MANUALMOTOROLA
Page 72
Table 2-1. Signal Descriptions (Continued)
SIGNALPIN NUMBERDESCRIPTION
PC[7]
USBTXP
PC[6]
USBTXN
PC[5]
L1TSYNCA
SDACK1
CTS3
PC[4]
L1RSYNCA
CD3
PD[15]
LD8
VD7
PD[14]
LD7
VD6
PD[13]
LD6
VD5
PD[12]
LD5
VD4
PD[11]
LD4
VD3
PD[10]
LD3
VD2
PD[9]
LD2
VD1
PD[8]
LD1
VD0
PD[7]
LD0
FIELD
T5General-Purpose I/O Port C Bit 7—Bit 7 of the general-purpose I/O port C.
N6General-Purpose I/O Port C Bit 6—Bit 6 of the general-purpose I/O port C.
P6General-Purpose I/O Port C Bit 5—Bit 5 of the general-purpose I/O port C.
T4General-Purpose I/O Port C Bit 4—Bit 4 of the general-purpose I/O port C.
R4General-Purpose I/O Port D Bit 15—Bit 15 of the general-purpose I/O port D.
T3General-Purpose I/O Port D Bit 14—Bit 14 of the general-purpose I/O port D.
P5General-Purpose I/O Port D Bit 13—Bit 13 of the general-purpose I/O port D.
R3General-Purpose I/O Port D Bit 12—Bit 12 of the general-purpose I/O port D.
N5General-Purpose I/O Port D Bit 11—Bit 11 of the general-purpose I/O port D.
T2General-Purpose I/O Port D Bit 10—Bit 10 of the general-purpose I/O port D.
P4General-Purpose I/O Port D Bit 9—Bit 9 of the general-purpose I/O port D.
T1General-Purpose I/O Port D Bit 8—Bit 8 of the general-purpose I/O port D.
R2General-Purpose I/O Port D Bit 7—Bit 7 of the general-purpose I/O port D.
USBTXP—This output signal, in conjunction with USBTXN, are the transmit lines of
the USB.
USBTXN—This output signal, in conjunction with USBTXP, are the transmit lines of
the USB.
L1TSYNCA—The transmit sync input for the serial interface time-division multiplex
port A.
SDACK1
interface signal for IDMA emulation.
CTS3—The Clear to Send Modem line for serial communication controller 3.
L1RSYNCA—The receive sync input for the serial interface time-division multiplex
port A.
CD3
LD8—One of the 12 data bus bits used to drive the LCD panel.
VD7—One of the data bus bits of the video controller used for driving the video
encoder.
LD7—One of the 12 data bus bits used to drive the LCD panel.
VD6—One of the data bus bits of the video controller used for driving the video
encoder.
LD6—One of the 12 data bus bits used to drive the LCD panel.
VD5—One of the data bus bits of the video controller used for driving the video
encoder.
LD5—One of the 12 data bus bits used to drive the LCD panel.
VD4—One of the data bus bits of the video controller used for driving the video
encoder.
LD4—One of the 12 data bus bits used to drive the LCD panel.
VD3—One of the data bus bits of the video controller used for driving the video
encoder.
LD3—One of the 12 data bus bits used to drive the LCD panel.
VD2—One of the data bus bits of the video controller used for driving the video
encoder.
LD2—One of the 12 data bus bits used to drive the LCD panel.
VD1—One of the data bus bits of the video controller used for driving the video
encoder.
LD1—One of the 12 data bus bits used to drive the LCD panel.
VD0—One of the data bus bits of the video controller used for driving the video
encoder.
LD0—One of the 12 data bus bits used to drive the LCD panel.
FIELD—The line the video controller uses to signal which of the two fields is the
current one.
—The SDMA acknowledge 1output pin that is used as a peripheral
—The Carrier Detect Modem line for serial communication controller 3.
External Signals
EXTERNAL SIGNALS
2
MOTOROLAMPC823e REFERENCE MANUAL2-11
Page 73
External Signals
2
EXTERNAL SIGNALS
SHIFT/CLK
Power SupplySee Table 2-2
Table 2-1. Signal Descriptions (Continued)
SIGNALPIN NUMBERDESCRIPTION
PD[6]
LCD_AC
LOE
BLANK
PD[5]
FRAME
VSYNC
PD[4]
LOAD
HSYNC
PD[3]
CLK
TCK
DSCK
TMSR12Test Mode Select—This input signal controls the TAP machine sequence in the
TDI
DSDI
TDO
DSDO
TRST
N/CSee Table 2-2
R1General-Purpose I/O Port D Bit 6—Bit 6 of the general-purpose I/O port D.
P2General-Purpose I/O Port D Bit 5—Bit 5 of the general-purpose I/O port D.
P3General-Purpose I/O Port D Bit 4—Bit 4 of the general-purpose I/O port D.
N4General-purpose I/O Port D Bit 3—Bit 3 of the general-purpose I/O port D.
for pin
breakout.
T12Test Clock—This input signal is the clock of the JTAG interface.
R11Test Data Input—This input signal is the data in the JTAG interface.
N12Test Data Output—This three-state output signal is the data out of the JTAG
P11Test Reset—This input signal is the asynchronous reset of the TAP machine on the
for pin
breakout.
LCD_AC—This output signal from the LCD controller toggles once every
programmable number of frames. It is used with passive panels.
LOE—The output enable signal that is used with TFT panels.
BLANK—The video controller uses this signal to let the video encoder know that the
current cycle is a blank type.
FRAME—The output signal from the video controller that marks the beginning of a
new frame.
VSYNC—The output signal from the LCD controller that marks the beginning of a
new frame.
LOAD—The output signal from the video controller that marks the beginning of a
new display line.
HSYNC—The output signal from the LCD controller that marks the beginning of a
new frame.
SHIFT/CLK—This output signal is used to generate the shift clock timing to the LCD
panel when using the LCD controller. The direction is defined when you program it.
CLK—When the video controller is used, the CLK function can either be an output
clock to drive the video encoder or an external input clock from the video encoder to
drive the video controller. The direction is defined when you program it.
VDDL—Power supply of the internal logic.
VDDH—Power supply of the I/O buffers and certain parts of the clock control.
VDDSYN—Power supply of the phase-locked loop circuitry.
VSSSYN—Power supply of the phase-locked loop ground.
VSSSYN1—Power supply of the phase-locked loop ground.
GND—Power supply ground.
KAPWR—Power supply of the internal oscillator, real-time clock, periodic interrupt
timer, decrementer, and timebase.
Development Serial Clock—This input signal is the clock for the debug port
interface.
JTAG interface.
Development Serial Data Input—This input signal is the data for the debug port
interface.
interface.
Development Serial Data Output—This output signal is the data out of the debug
port interface.
JTAG interface.
No Connect—These pins are not connected.
This section discusses the internal memory map (including key registers) of the MPC823e.
Each memory resource is mapped within a contiguous block of 16K storage. The location of
this block within the global 4G real storage space can be mapped on 64K resolution through
an implementation specific special register called theinternal memory map register(IMMR).
Refer to Section 12.12.1.2 Internal Memory Map Register for more information.
Table 3-1. MPC823e Internal Memory Map
INTERNAL
ADDRESSREGISTER
SYSTEM INTERFACE UNIT
000SIUMCR—SIU Module Configuration Register32
004SYPCR—System Protection Control Register32
0A0PBR4—PCMCIA Interface Base Register 432
0A4POR4—PCMCIA Interface Option Register 432
0A8PBR5—PCMCIA Interface Base Register 532
0ACPOR5—PCMCIA Interface Option Register 532
0B0PBR6—PCMCIA Interface Base Register 632
0B4POR6—PCMCIA Interface Option Register 632
0B8PBR7—PCMCIA Interface Base Register 732
0BCPOR7—PCMCIA Interface Option Register 732
0C0 to 0E3RES—Reserved—
0E4PGCRB—PCMCIA Interface General Control Register B 32
0E8PSCR—PCMCIA Interface Status Change Register32
0EC to 0EFRES—Reserved—
0F0PIPR—PCMCIA Interface Input Pins Register32
0F4 to 0F7RES—Reserved—
0F8PER—PCMCIA Interface Enable Register32
0FC to 0FFRES—Reserved—
MEMORY CONTROLLER
100BR0—Base Register Bank 032
104OR0—Option Register Bank 032
108BR1—Base Register Bank 132
10cOR1—Option Register Bank 132
110BR2—Base Register Bank 232
114OR2—Option Register Bank 232
118BR3—Base Register Bank 332
11COR3—Option Register Bank 332
120BR4—Base Register Bank 432
124OR4—Option Register Bank 432
128BR5—Base Register Bank 532
12COR5—Option Register Bank 532
130BR6—Base Register Bank 632
134OR6—Option Register Bank 632
170MAMR—Machine A Mode Register32
174MBMR—Machine B Mode Register32
178MSTAT—Memory Status Register16
17AMPTPR—Memory Periodic Timer Prescaler16
17CMDR—Memory Data Register32
180 to 1FFRES—Reserved—
SYSTEM INTEGRATION TIMERS
200TBSCR—Timebase Status and Control Register16
204TBREFU—Timebase Reference Register Upper32
208TBREFL—Timebase Reference Register Lower32
20C to 21FRES—Reserved—
220RTCSC—Real-Time Clock Status and Control Register16
224RTC—Real-Time Clock Register32
228RTSEC—Real-Time Clock Alarm Seconds Register32
22CRTCAL—Real-Time Clock Alarm Register32
230 to 23FRES—Reserved—
240PISCR—Periodic Interrupt Status and Control Register16
244PITC—Periodic Interrupt Timer Count Register32
248PITR—Periodic Interrupt Timer Register32
24C to 27FRES—Reserved—
SIZE
(IN BITS)
PAGE NUMBER
LOCATION
15-9
15-11
15-26
15-17
15-19
15-22
15-15
15-27
15-26
—
12-16
12-15
12-15
12-18
12-19
12-20
12-21
12-23
12-24
12-25
—
MEMORY MAP
3
CLOCKS AND RESET
280SCCR—System Clock and Reset Control Register32
284PLPRCR—PLL, Low-Power and Reset Control Register32
288RSR—Reset Status Register32
950PADIR—Port A Data Direction Register1616-481
952PAPAR—Port A Pin Assignment Register1616-481
954PAODR—Port A Open-Drain Register1616-480
956PADAT—Port A Data Register1616-480
958 to 95FRES—Reserved——
960PCDIR—Port C Data Direction Register1616-493
962PCPAR—Port C Pin Assignment Register1616-494
964PCSO—Port C Special Options Register1616-494
966PCDAT—Port C Data Register1616-493
968PCINT—Port C Interrupt Control Register1616-496
96A to 96FRES—Reserved——
970PDDIR—Port D Data Direction Register1616-498
972PDPAR—Port D Pin Assignment Register1616-499
974RES—Reserved ——
976PDDAT—Port D Data Register1616-498
A20 GSMR_L—SCC2 General Mode Low Register3216-166
A24GSMR_H—SCC2 General Mode High Register3216-166
A28PSMR—SCC2 Protocol-Specific Mode Register1616-176
A2A to A2BRES—Reserved16—
A2CTODR—SCC2 Transmit-on-Demand Register1616-177
A2EDSR—SCC2 Data Synchronization Register 1616-177
2000 to 2FFFDPRAM—Dual-Port RAM4,096 bytes—
3000 to 3BFFDPRAM—Dual-Port RAM Expansion——
3C00 to 3FFFPRAM—Parameter RAM1,024 bytes—
SIZE
(IN BITS)
PAGE NUMBER
LOCATION
MEMORY MAP
3-12MPC823e REFERENCE MANUALMOTOROLA
Page 89
√
SECTION 4
RESET
The reset block of the MPC823e has a reset control logic that determines the cause of reset,
synchronizes it if necessary, and resets the appropriate logic modules. The memory
controller, system protection logic, interrupt controller, and parallel I/O pins are initialized
only on hard reset. Soft reset initializes the internal logic while maintaining the system
configuration.
Table 4-1. Possible Reset Results
RESET EFFECT
RESET
SOURCE
Power-On Reset
External Hard Reset
Loss-of-Lock
Software Watchdog
Check Stop
Debug Port Hard Reset
JTAG Reset
External Soft Reset
Debug Port Soft Reset
NOTE: √ indicates that the logic circuitry is reset or the appropriate pin is driven by the source.
— indicates that the logic circuitry is not affected.
RESET
LOGIC
AND PLL
STATE
RESET
—
—
SYSTEM
CONFIG
RESET
√√√√√√√
√√√√√√
CLOCK
MODULE
RESET
HRESET
PIN
DRIVEN
—— √√√
DEBUG
PORT
CONFIG
OTHER
INTERNAL
LOGIC
RESET
SRESET
PIN
DRIVEN
MOTOROLA
MPC823e REFERENCE MANUAL
RESET
4
4-1
Page 90
❏
❏
❏
❏
❏
❏
❏
Reset
4.1 TYPES OF RESET
The MPC823e has several types of inputs to the reset logic:
• Power-on reset
• External hard reset
• Internal hard reset
Loss of lock
Software watchdog reset
Checkstop reset
Debug port hard reset
JTAG reset
• External soft reset
• Internal soft reset
Debug port soft reset
JTAG soft reset
4
RESET
All of these reset sources are fed into the reset controller and, depending on the source of
the reset, different actions are taken. The reset status register reflects the last source to
cause a reset.
4.1.1 Power-On Reset
PORESET
low-power mode, this pin must only be activated when a voltage in the keep-alive power
(KAPWR) rail fails. When this pin is asserted, the MODCK bits are sampled and the
phase-locked loop multiplication factor and pitrtclk and tmbclk sources are changed to their
default values. When this pin is negated, internal MODCK values are unchanged. The
PORESET
assertion, the MPC823e enters the power-on reset state and stays there until the following
events occur:
• The internal PLL enters the lock state and the system clock is active
• The PORESET
When PORESET
SRESET
extension counter of 512 is reset, and the MODCK pins are sampled when POR pin is
negated. After the negation of PORESET
internal initiated HRESET
cycles. When the timer expires, which is usually after the 512 cycles, the configuration is
sampled from the data pins and the core stops driving the pins. An external pull-up resistor
should drive the HRESET
period passes before the presence of an external (hard/soft) reset is tested. Refer to
Section 4.3.1 Hard Reset for more information.
(power-on reset) is an active low input pin. In a system with power-down
pin must be asserted for a minimum of 3 microseconds. After detecting this
pin is negated
is asserted, the MPC823e enters the power-on reset (POR) state in which
and HRESET are asserted by the core. When the MPC823e remains in POR, the
and the PLL locks, the core enters the state of
and continues driving the HRESET and SRESET pins for 512
and SRESET pins high. After the pins are negated, a 16-cycle
4-2
MPC823e REFERENCE MANUAL
MOTOROLA
Page 91
4.1.2 External Hard Reset
HRESET
external assertion of HRESET
HRESET
reset) is a bidirectional, active low I/O pin. The MPC823e can only detect an external
assertion of SRESET
also an open-collector type of pin.
(hard reset) is a bidirectional, active low I/O pin. The MPC823e can only detect an
if it occurs while the MPC823e is not asserting reset. During
, SRESET is asserted. HRESET is an open-collector type of pin. SRESET (soft
if it occurs while the MPC823e is not asserting reset. The SRESET is
Reset
When an external HRESET
is asserted, the core starts driving the HRESET and SRESET
for 512 cycles. When the timer expires, after 512 cycles, the configuration is sampled from
the data pins and the core stops driving the HRESET
and SRESET pins. An external pull-up
resistor should drive the pins high and once they are negated, a 16-cycle period passes
before the presence of an external (hard/soft) reset is tested. Refer to Section 4.3.1 Hard
Reset for more information.
4.1.3 Internal Hard Reset
When the core finds a reason to assert HRESET,
pins for 512 cycles. When the timer expires, after the 512 cycles, the configuration is
sampled from data pins and the core stops driving the pins. An external pull-up resistor
should drive the HRESET
and SRESET pins high and once they are negated a 16-cycle
period passes before the presence of an external (hard/soft) reset is tested. Refer to
Section 4.3.1 Hard Reset for more information. The causes of internal hard reset are as
follows:
• Loss of lock
• Software watchdog reset
• Checkstop reset
• Debug port hard reset
• JTAG reset
4.1.3.1 LOSS OF LOCK. If the PLL detects a loss of lock, erroneous external bus operation
occurs if synchronous external devices use the core input clock. Erroneous operation could
also occur if devices with a PLL use the core clockout. This source of reset can be asserted
if the LOLRE bit in the PLL low-power and reset control register is set. The enabled PLL
loss-of-lock event generates an internal hard reset sequence.
it starts driving the HRESET and SRESET
4.1.3.2 SOFTWARE WATCHDOG RESET. After the core watchdog counts to zero, a
software watchdog reset is asserted. The enabled software watchdog event then generates
an internal hard reset sequence.
4.1.3.3 CHECKSTOP RESET. If the core enters a checkstop state and the checkstop reset
is enabled, the checkstop reset is asserted. The enabled checkstop event then generates
an internal hard reset sequence.
MOTOROLA
MPC823e REFERENCE MANUAL
4-3
RESET
4
Page 92
Reset
4.1.3.4 DEBUG PORT HARD RESET. When the development port receives a hard reset
request from the development tool, an internal hard reset sequence is generated. In this
case, the development tool must reconfigure the debug port. See
Section 20.2.1.2.6 Detecting the Trace Window End Address for more information.
4.1.3.5 JTAG RESET. When the JTAG logic asserts the JTAG soft reset signal, an internal
soft reset sequence will be generated.
4.1.4 External Soft Reset
When an external SRESET
timer expires, after 512 cycles, the debug port configuration is sampled from the DSDI and
DSCK pins and the core stops driving the pin. An external pull-up resistor should drive it high
and once it is negated a 16-cycle period passes before the presence of an external soft reset
is tested.
is asserted, the core starts driving the SRESET pin. When the
4.1.5 Internal Soft Reset
When the core finds a reason to assert SRESET,
the timer expires, after 512 cycles, the debug port configuration is sampled from the DSDI
and DSCK pins and the core stops driving the SRESET
should drive the pin high and once it is negated a 16-cycle period passes before the
presence of an external soft reset is tested. JTAG and the debug port cause an internal soft
reset.
it starts driving the SRESET pin. When
pin. An external pull-up resistor
4
RESET
Note: It is recommended that you connect TRST
to PORESET through a diode. The problem with the connection to HRESET is
that if at power up the JTAG logic bloc ks the PORESET signal from propagating
into the chip (since the logic is not initialized yet), this will prev ent HRESET from
asserting, which leaves the JTAG logic (and the whole device) uninitialized.
to ground (if you don't use JTAG) or
4.1.5.1 DEBUG PORT SOFT RESET. When the development port receives a soft reset
request from the development tool, an internal soft reset sequence is generated. In this case
the development tool must reconfigure the debug port. See Section 20.2.1.2.6 Detecting
the Trace Window End Address for more information. If the DSCK pin is asserted during
SRESET
negation, the processor will take a breakpoint exception and go directly to debug
mode, instead of fetching the reset vector.
4-4
MPC823e REFERENCE MANUAL
MOTOROLA
Page 93
Reset
4.2 RESET STATUS REGISTER
The 32-bit reset status register (RSR) is powered by the keep-alive power supply. As shown
in Section 3 Memory Map , it is memory-mapped into the MPC823e system interface unit
register map and receives its default reset values at power-on reset.
RSR
BIT
FIELD
RESET
R/W
BIT
FIELD
RESET
R/W
0123456789101112131415
EHRSESRSLLRSSWRSCSRS DBHRS DBSRS JTRS
110000000
R/WR/WR/WR/WR/WR/WR/WR/WR/W
16171819202122232425262728293031
RESERVED
0
R/W
RESERVED
EHRS—External Hard Reset Status
This bit is cleared by a power-on reset. When an external hard reset event is detected, this
bit is set and remains that way until the software clears it. The EHRS bit can be negated by
writing a 1, but a write of zero has no effect on it.
0 = No external hard reset event occurred.
1 = An external hard reset event occurred.
ESRS—External Soft Reset Status
This bit is cleared by a power-on reset. When an external soft reset event is detected, this
bit is set and remains that way until the software clears it. The ESRS bit can be negated by
writing a 1, but a write of zero has no effect on it.
0 = No external soft reset event occurred.
1 = An external soft reset event occurred.
LLRS—Loss-of-Lock Reset Status
This bit is cleared by a power-on reset. When a loss-of-lock event is enabled by the LOLRE
bit in the PLPRCR is detected, this bit is set and remains that way until the software clears
it. The LLRS bit can be negated by writing a 1, but a write of zero has no effect on it.
0 = No enabled loss-of-lock reset event occurred.
1 = An enabled loss-of-lock reset event occurred.
MOTOROLA
MPC823e REFERENCE MANUAL
RESET
4
4-5
Page 94
Reset
SWRS—Software Watchdog Reset Status
This bit is cleared by a power-on reset. When a software watchdog expire event occurs, this
bit is set and remains that way until the software clears it. The SWRS bit can be negated by
writing a 1, but a write of zero has no effect on it.
0 = No software watchdog reset event occurred.
1 = A software watchdog reset event occurred.
CSRS—Check Stop Reset Status
This bit is cleared by a power-on reset. When the core enters the checkstop state and the
checkstop reset is enabled by the CSR bit in the PLPRCR, this bit is set and remains that
way until the software clears it. The CSRS bit can be negated by writing a 1, but a write of
zero has no effect on it.
0 = No enabled checkstop reset event occurred.
1 = An enabled checkstop reset event occurred.
4
RESET
DBHRS—Debug Port Hard Reset Status
This bit is cleared by a power-on reset. When the debug port hard reset request is set, this
bit is set and remains that way until the software clears it. The DBHRS bit can be negated
by writing a 1, but a write of zero has no effect on it.
0 = No debug port hard reset request occurred.
1 = A debug port hard reset request occurred.
DBSRS—Debug Port Soft Reset Status
This bit is cleared by a power-on reset. When the debug port soft reset request is set, this
bit is set and remains that way until the software clears it. The DBSRS bit can be negated
by writing a 1, but a write of zero has no effect on it.
0 = No debug port soft reset request occurred.
1 = A debug port soft reset request occurred.
JTRS—JTAG Reset Status
This bit is cleared by a power-on reset. When the JTAG reset request is set, this bit is set
and remains that way until the software clears it. The JTRS bit can be negated by writing a
1, but a write of zero has no effect on it.
0 = No JTAG reset event occurred.
1 = A JTAG reset event occurred.
Bits 8–31—Reserved
These bits are reserved and must be set to 0.
4-6
MPC823e REFERENCE MANUAL
MOTOROLA
Page 95
Reset
4.3 HOW TO CONFIGURE RESET
In normal operation, you can configure reset with a hard reset. However, to configure the
development port you must use a soft reset.
4.3.1 Hard Reset
When a hard reset event occurs, the MPC823e reconfigures its hardware system as well as
the development port configuration. The logical value of the bits that determine its initial
mode of operation are sampled either from the data bus or from an internal default constant
(D[0:31]=x’00000000). If, at sampling time, RSTCONF
sampled from the data bus. Otherwise, it is sampled from the internal default. While
HRESET
and RSTCONF are asserted, the MPC823e pulls the data bus low through a weak
resistor (2-4k). You can overwrite this default by driving high to the appropriate bit, as shown
in Figure 4-1. Figures 4-2 through 4-4 illustrate how reset configuration works when
PORESET is asserted. While the PORESET
input signal is being asserted, the core
assumes the default reset configuration that changes when PORESET
CLKOUT signal starts oscillating. In this last case, the hardware configuration is sampled
every nine clock cycles on the rising edge of the CLKOUT. The setup time required for the
data bus is 15 cycles and the maximum rise time of HRESET
cycles. For more information, see Section 4.3.2 Soft Reset .
4.3.1.1 HARD RESET CONFIGURATION WORD. The hard reset configuration word is
sampled from the data bus. At reset, the bits will determine the default values of the
corresponding bits in the SIUMCR, IMMR, and MSR.
HARD RESET CONFIGURATION WORD
BIT
FIELD
DEFAULT
BIT
FIELD
DEFAULT
NOTE: The default value is due to the internal pull-down resistor on the data bus.
0123456789101112131415
EARBIIPRESBDISBPSRESISBDBGCDBPCEBDFRES
00000000000
16171819202122232425262728293031
RESERVED
EARB—External Arbitration
If this bit is set (1), external arbitration is assumed. If it is cleared (0), then internal arbitration
is performed. See Section 12 System Interface Unit for more information.
4
RESET
IIP—Initial Interrupt Prefix
This bit defines the initial value of the MSR
the interrupt table location. If IIP
sampled one, the MSR
initial value is zero.
IP
is zero (default), the MSR
immediately after reset. The MSR
IP
initial value is one, but if it is
IP
Bits 2, 6, and 15—Reserved
These bits are reserved and must be left open.
BDIS—Boot Disable
0 = The memory controller is activated after reset so that it matches all addresses.
1 = The memory controller is not activated after reset, but it is cleared.
BPS—Boot Port Size
This field defines the port size of the boot device.
00 = 32-bit port size.
01 = 8-bit port size.
10 = 16-bit port size.
11 = Reserved.
bit defines
IP
4-10
MPC823e REFERENCE MANUAL
MOTOROLA
Page 99
Reset
ISB—Initial Internal Space Base Select
This field defines the initial value of the IMMR bits 0-15 and determines the base address of
the internal memory space. Make sure that the IMMR is not in the interrupt address space
(IIP).
DBGC—Debug Pins Configuration
This field configures the functionality of the following pins.
00 = IP_B[0:1]/IWP[0:1]/VFLS[0:1] functions as IP_B[0:1].
IP_B3/IWP2/VF2 functions as IP_B3.
IP_B4/LWP0/VF0 functions as IP_B4.
IP_B5/LWP1/VF1 functions as P_B5.
OP2/MODCK1/STS
functions as OP2.
ALE_B/DSCK/AT1 functions as ALE_B.
IP_B2/AT2 functions as IP_B2.
IP_B6/DSDI/AT0 functions as IP_B6.
IP_B7/PTR
/AT3 functions as IP_B7.
OP3/MODCK2/DSDO functions as OP3.
01 = IP_B[0:1]/IWP[0:1]/VFLS[0:1] functions as IWP[0:1].
IP_B3/IWP2/VF2 functions as IWP2.
IP_B4/LWP0/VF0 functions as LWP0.
IP_B5/LWP1/VF1 functions as LWP1.
OP2/MODCK1/STS functions as STS
.
ALE_B/DSCK/AT1 functions as AT1.
IP_B2/AT2 functions as AT2.
IP_B6/DSDI/AT0 functions as AT0.
IP_B7/PTR
/AT3 functions as AT3.
OP3/MODCK2/DSDO functions as OP3.
10 = Reserved.
11 = IP_B[0:1]/IWP[0:1]/VFLS[0:1] functions as VFLS[0:1].
IP_B3/IWP2/VF2 functions as VF2.
IP_B4/LWP0/VF0 functions as VF0.
IP_B5/LWP1/VF1 functions as VF1.
OP2/MODCK1/STS functions as STS
.
ALE_B/DSCK/AT1 functions as AT1.
IP_B2/AT2 functions as AT2.
IP_B6/DSDI/AT0 functions as AT0.
IP_B7/PTR
/AT3 functions as AT3.
OP3/MODCK2/DSDO functions as OP3.
MOTOROLA
MPC823e REFERENCE MANUAL
RESET
4
4-11
Page 100
Reset
DBPC—Debug Port Pins Configuration
This field configures the following pins on the active development port.
00 = ALE_B/DSCK/AT1 functions as defined by DBGC.
IP_B6/DSDI/AT0 functions as defined by DBGC.
OP3/MODCK2/DSDO functions as defined by DBGC.
IP_B7/PTR
/AT3 functions as defined by DBGC.
TCK/DSCK functions as DSCK.
TDI/DSDI functions as DSDI.
TDO/DSDO functions as DSDO.
01 = ALE_B/DSCK/AT1 functions as defined by DBGC.
IP_B6/DSDI/AT0 functions as defined by DBGC.
OP3/MODCK2/DSDO functions as defined by DBGC.
IP_B7/PTR
/AT3 functions as defined by DBGC.
TCK/DSCK functions as TCK.
TDI/DSDI functions as TDI.
TDO/DSDO functions as TDO.
10 = Reserved.
11 = ALE_B/DSCK/AT1 functions as DSCK.
IP_B6/DSDI/AT0 functions as DSDI.
OP3/MODCK2/DSDO functions as DSDO.
IP_B7/PTR
/AT3 functions as PTR.
TCK/DSCK functions as TCK.
TDI/DSDI functions as TDI.
TDO/DSDO functions as TDO.
4
RESET
EBDF—External Bus Division Factor
These bits define the frequency division factor between GCLK1/GCLK2 and
GCLK1_50/GCLK2_50. CLKOUT is similar to GCLK2_50. GCLK2_50 and GCLK1_50 are
used by the system interface unit and memory controller to interface with the external
system. The EBDF bits (described in Section 5.2.1 System Clock and Reset Control
Register ) are initialized during HRESET
using the hard reset configuration mechanism.
4.3.2 Soft Reset
When a soft reset event occurs, the MPC823e reconfigures the development port.
4-12
MPC823e REFERENCE MANUAL
MOTOROLA
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.