Freescale Semiconductor, Inc.
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.
Freescale Semiconductor, Inc...
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
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
Table 1 Ordering Information
Package Type
TPU Type
Temperature
Frequency
(MHz)
16 MHz
20 MHz
–40 to +105
°
C
16 MHz
20 MHz
Package
Order
Quantity
2 pc tray
36 pc tray
2 pc tray
36 pc tray
2 pc tray
36 pc tray
2 pc tray
36 pc tray
2 pc tray
36 pc tray
20 MHz
Standard
–40 to +85
°
C
16 MHz
20 MHz
–40 to +105
°
C
16 MHz
20 MHz
–40 to +125
°
C
16 MHz
20 MHz
Std w/enhanced
PPWA
–40 to +85
°
C
16 MHz
20 MHz
–40 to +105
°
C
16 MHz
20 MHz
–40 to +125
°
C
16 MHz
20 MHz
2 pc tray
36 pc tray
2 pc tray
36 pc tray
2 pc tray
36 pc tray
2 pc tray
36 pc tray
2 pc tray
36 pc tray
2 pc tray
36 pc tray
2 pc tray
36 pc tray
2 pc tray
36 pc tray
2 pc tray
36 pc tray
2 pc tray
36 pc tray
2 pc tray
36 pc tray
2 pc tray
36 pc tray
2 pc tray
36 pc tray
Order Number
132-Pin PQFP
Motion Control
–40 to +85
°
C
SPAKMC332GCFC16
MC68332GCFC16
SPAKMC332GCFC20
MC68332GCFC20
SPAKMC332GVFC16
MC68332GVFC16
SPAKMC332GVFC20
MC68332GVFC20
SPAKMC332GMFC16
MC68332GMFC16
SPAKMC332GMFC20
MC68332GMFC20
SPAKMC332CFC16
MC68332CFC16
SPAKMC332CFC20
MC68332CFC20
SPAKMC332VFC16
MC68332VFC16
SPAKMC332VFC20
MC68332VFC20
SPAKMC332MFC16
MC68332MFC16
SPAKMC332MFC20
MC68332MFC20
SPAKMC332ACFC16
MC68332ACFC16
SPAKMC332ACFC20
MC68332ACFC20
SPAKMC332AVFC16
MC68332AVFC16
SPAKMC332AVFC20
MC68332AVFC20
SPAKMC332AMFC16
MC68332AMFC16
SPAKMC332AMFC20
MC68332AMFC20
Freescale Semiconductor, Inc...
–40 to +125
°
C
16 MHz
MOTOROLA
2
For More Information On This Product,
Go to: www.freescale.com
MC68332
MC68332TS/D
Freescale Semiconductor, Inc.
Table 1 Ordering Information (Continued)
Package Type
TPU Type
Temperature
Frequency
(MHz)
16 MHz
20 MHz
–40 to +105
°
C
16 MHz
20 MHz
–40 to +125
°
C
16 MHz
20 MHz
Standard
–40 to +85
°
C
16 MHz
20 MHz
–40 to +105
°
C
16 MHz
20 MHz
–40 to +125
°
C
16 MHz
20 MHz
Std w/enhanced
PPWA
–40 to +85
°
C
16 MHz
20 MHz
–40 to +105
°
C
16 MHz
20 MHz
–40 to +125
°
C
16 MHz
20 MHz
Package
Order
Quantity
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
2 pc tray
44 pc tray
Order Number
144-Pin QFP
Motion Control
–40 to +85
°
C
SPAKMC332GCFV16
MC68332GCFVV16
SPAKMC332GCFV20
MC68332GCFV20
SPAKMC332GVFV16
MC68332GVFV16
SPAKMC332GVFV20
MC68332GVFV20
SPAKMC332GMFV16
MC68332GMFV16
SPAKMC332GMFV20
MC68332GMFVV20
SPAKMC332CFV16
MC68332CFV16
SPAKMC332CFVV20
MC68332CFV20
SPAKMC332VFV16
MC68332VFV16
SPAKMC332VFV20
MC68332VFV20
SPAKMC332MFV16
MC68332MFV16
SPAKMC332MFV20
MC68332MFV20
SPAKMC332ACFV16
MC68332ACFV16
SPAKMC332ACFV20
MC68332ACFV20
SPAKMC332AVFV16
MC68332AVFV16
SPAKMC332AVFC20
MC68332AVFV20
SPAKMC332AMFV16
MC68332AMFV16
SPAKMC332AMFV20
MC68332AMFV20
Freescale Semiconductor, Inc...
MC68332
MC68332TS/D
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
3
Freescale Semiconductor, Inc.
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
2
2.1
2.2
2.3
2.4
2.5
3
Freescale Semiconductor, Inc...
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
8
10
Pin Characteristics .................................................................................................................... 10
MCU Power Connections .......................................................................................................... 11
MCU Driver Types ..................................................................................................................... 11
Signal Characteristics ................................................................................................................ 12
Signal Function .......................................................................................................................... 13
System Integration Module
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
Summary of Changes
86
Signal Descriptions
MOTOROLA
4
For More Information On This Product,
Go to: www.freescale.com
MC68332
MC68332TS/D
Freescale Semiconductor, Inc.
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
Freescale Semiconductor, Inc...
MC68332
MC68332TS/D
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
5