MOTOROLA
SEMICONDUCTOR
TECHNICAL DATA
Order this document
by MC68332TS/D Rev. 2
MC68332
Technical Summary
32-Bit Modular Microcontroller
1 Introduction
The MC68332, a highly-integrated 32-bit microcontroller, combines high-performance data manipula-
tion capabilities with powerful peripheral subsystems. The MCU is built up from standard modules that
interface through a common intermodule bus (IMB). Standardization facilitates rapid development of
devices tailored for specific applications.
The MCU incorporates a 32-bit CPU (CPU32), a system integration module (SIM), a time processor unit
(TPU), a queued serial module (QSM), and a 2-Kbyte static RAM module with TPU emulation capability
(TPURAM).
The MCU can either synthesize an internal clock signal from an external reference or use an external
clock input directly. Operation with a 32.768-kHz reference frequency is standard. The maximum sys-
tem clock speed is 20.97 MHz. System hardware and software allow changes in clock rate during op-
eration. Because MCU operation is fully static, register and memory contents are not affected by clock
rate changes.
High-density complementary metal-oxide semiconductor (HCMOS) architecture makes the basic power
consumption of the MCU low. Power consumption can be minimized by stopping the system clock. The
CPU32 instruction set includes a low-power stop (LPSTOP) command that efficiently implements this
capability.
This document contains information on a new product. Specifications and information herein are subject to change without notice.
© MOTOROLA INC., 1993, 1996
TABLE OF CONTENTS
Section
Page
1
1.1
1.2
1.3
1.4
1.5
Introduction
1
Features ...................................................................................................................................... 5
Block Diagram .............................................................................................................................6
Pin Assignments .......................................................................................................................... 7
Address Map ...............................................................................................................................9
Intermodule Bus .......................................................................................................................... 9
10
Pin Characteristics .................................................................................................................... 10
MCU Power Connections .......................................................................................................... 11
MCU Driver Types ..................................................................................................................... 11
Signal Characteristics ................................................................................................................ 12
Signal Function .......................................................................................................................... 13
2
2.1
2.2
2.3
2.4
2.5
Signal Descriptions
3
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
4
4.1
4.2
4.3
4.4
4.5
4.6
4.7
5
5.1
5.2
5.3
5.4
5.5
6
6.1
6.2
6.3
6.4
6.5
6.6
7
7.1
7.2
7.3
7.4
15
Overview ................................................................................................................................... 15
System Configuration and Protection ........................................................................................ 17
System Clock ............................................................................................................................23
External Bus Interface ............................................................................................................... 26
Chip Selects ..............................................................................................................................29
General-Purpose Input/Output .................................................................................................. 36
Resets ....................................................................................................................................... 38
Interrupts ................................................................................................................................... 41
Factory Test Block .....................................................................................................................43
Central Processor Unit
44
Overview ................................................................................................................................... 44
Programming Model ..................................................................................................................44
Status Register ..........................................................................................................................46
Data Types ................................................................................................................................ 46
Addressing Modes ..................................................................................................................... 46
Instruction Set Summary ........................................................................................................... 47
Background Debugging Mode ...................................................................................................51
Time Processor Unit
52
MC68332 and MC68332A Time Functions ............................................................................... 52
MC68332G Time Functions ...................................................................................................... 55
Programmer's Model .................................................................................................................57
Parameter RAM .........................................................................................................................58
TPU Registers ...........................................................................................................................58
Queued Serial Module
64
Overview ................................................................................................................................... 64
Address Map ............................................................................................................................. 65
Pin Function .............................................................................................................................. 66
QSM Registers .......................................................................................................................... 66
QSPI Submodule .......................................................................................................................71
SCI Submodule .........................................................................................................................79
Standby RAM with TPU Emulation RAM
84
Overview ................................................................................................................................... 84
TPURAM Register Block ........................................................................................................... 84
TPURAM Registers ................................................................................................................... 84
TPURAM Operation .................................................................................................................. 85
System Integration Module
8
Summary of Changes
86
MOTOROLA
4
MC68332
MC68332TS/D
1.1 Features
• Central Processing Unit (CPU32)
— 32-Bit Architecture
— Virtual Memory Implementation
— Table Lookup and Interpolate Instruction
— Improved Exception Handling for Controller Applications
— High-Level Language Support
— Background Debugging Mode
— Fully Static Operation
• System Integration Module (SIM)
— External Bus Support
— Programmable Chip-Select Outputs
— System Protection Logic
— Watchdog Timer, Clock Monitor, and Bus Monitor
— Two 8-Bit Dual Function Input/Output Ports
— One 7-Bit Dual Function Output Port
— Phase-Locked Loop (PLL) Clock System
• Time Processor Unit (TPU)
— Dedicated Microengine Operating Independently of CPU32
— 16 Independent, Programmable Channels and Pins
— Any Channel can Perform any Time Function
— Two Timer Count Registers with Programmable Prescalers
— Selectable Channel Priority Levels
• Queued Serial Module (QSM)
— Enhanced Serial Communication Interface
— Queued Serial Peripheral Interface
— One 8-Bit Dual Function Port
• Static RAM Module with TPU Emulation Capability (TPURAM)
— 2-Kbytes of Static RAM
— May be Used as Normal RAM or TPU Microcode Emulation RAM
MC68332
MC68332TS/D
MOTOROLA
5