D ts e t
aa h e
R c e t r lc r nc
o h se Ee to is
Ma u a t r dCo o e t
n fc u e
mp n n s
R c e tr b a d d c mp n ns ae
o h se rn e
o oet r
ma ua trd u ig ete dewaes
n fcue sn i r i/ fr
h
p rh s d f m te oiia s p l r
uc a e r
o h r n l u pi s
g
e
o R c e tr waes rce td f m
r o h se
fr e rae r
o
te oiia I. Al rce t n ae
h
r nl P
g
l e rai s r
o
d n wi tea p o a o teOC
o e t h p rv l f h
h
M.
P r aetse u igoiia fcoy
at r e td sn r n la tr
s
g
ts p o rmso R c e tr e eo e
e t rga
r o h se d v lp d
ts s lt n t g aa te p o u t
e t oui s o u rne
o
rd c
me t o e c e teOC d t s e t
es r x e d h
M aa h e.
Qu l yOv riw
ai
t
e ve
• IO- 0 1
S 90
•A 92 cr ct n
S 1 0 et ai
i
o
• Qu l e Ma ua trr Ls (
ai d
n fcues it QML MI- R -
) LP F
385
53
•C a sQ Mitr
ls
lay
i
•C a sVS a eL v l
ls
p c ee
• Qu l e S p l r Ls o D sr uos( L )
ai d u pi s it f it b tr QS D
e
i
•R c e trsacic l u pir oD A a d
o h se i
r ia s p l t L n
t
e
me t aln u t a dD A sa d r s
es lid sr n L tn ad .
y
R c e tr lcrnc , L i c mmi e t
o h se Ee t is L C s o
o
tdo
t
s p ligp o u t ta s t f c so r x e t-
u pyn rd cs h t ai y u tme e p ca
s
t n fr u lya daee u loto eoiial
i s o q ai n r q a t h s r n l
o
t
g
y
s p l db id sr ma ua trr.
u pi
e yn ut
y n fcues
T eoiia ma ua trr d ts e t c o a yn ti d c me t e e t tep r r n e
h r n l n fcue’ aa h e a c mp n ig hs o u n r cs h ef ma c
g
s
o
a ds e ic t n o teR c e tr n fcue v rino ti d vc . o h se Ee t n
n p c ai s f h o h se ma ua trd eso f hs e ie R c e tr lcr -
o
o
isg aa te tep r r n eo i s mio d co p o u t t teoiia OE s e ic -
c u rne s h ef ma c ft e c n u tr rd cs o h r n l M p c a
o
s
g
t n .T pc lv le aefr eee c p r o e o l. eti mii m o ma i m rt g
i s ‘y ia’ au s r o rfrn e up s s ny C r n nmu
o
a
r xmu ai s
n
ma b b s do p o u t h rceiain d sg , i lt n o s mpetsig
y e a e n rd c c aa tr t , e in smuai , r a l e t .
z o
o
n
© 2 1 R cetr l t n s LC Al i t R sre 0 1 2 1
0 3 ohs E cr i , L . lRg s eevd 7 1 0 3
e e oc
h
T l r m r, l s v iw wrcl . m
o e n oe p ae it w . e c o
a
e
s
o ec
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 1 Ordering Information
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
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
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
MOTOROLA
2
MC68332
MC68332TS/D
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
MC68332
MC68332TS/D
MOTOROLA
3
TABLE OF CONTENTS
Section
Page
1
1.1
1.2
1.3
1.4
1.5
Introduction
2
2.1
2.2
2.3
2.4
2.5
1
Features ...................................................................................................................................... 5
Block Diagram .............................................................................................................................6
Pin Assignments .......................................................................................................................... 7
Address Map ...............................................................................................................................9
Intermodule Bus .......................................................................................................................... 9
Signal Descriptions
10
Pin Characteristics .................................................................................................................... 10
MCU Power Connections .......................................................................................................... 11
MCU Driver Types ..................................................................................................................... 11
Signal Characteristics ................................................................................................................ 12
Signal Function .......................................................................................................................... 13
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
3
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
System Integration Module
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
Summary of Changes
86
MOTOROLA
4
MC68332
MC68332TS/D