Revision History
To provide the most up-to-date information, the revision of our documents on the World Wide Web will
be the most current. Your printed copy may be an earlier revision. To verify you have the latest information
available, refer to:
http://freescale.com
The following revision history table summarizes changes contained in this document.
Version
Number
1.07
1.08
1.09
1.10
Revision
Date
2/4/2004
4/22/2004
7/7/2004
8/11/2004
Description of Changes
Initial external release.
Changes to Table C-6 in electricals section.
Added Table C-4; changes to Table C-6; changed to Freescale
format
Removed BRK bit 13 and TXINV, which are not available on this
module version; fixed typo in Figure 13-2; corrected the SPTEF
description in section 12.3
This product contains SuperFlash
®
technology licensed from SST.
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc.
© Freescale Semiconductor, Inc., 2004. All rights reserved.
SoC Guide — MC9S08RG60/D Rev 1.10
List of Chapters
Chapter 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Chapter 2 Pins and Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Chapter 3 Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Chapter 4 Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Chapter 5 Resets, Interrupts, and System Configuration . . . . . . . . . . . . . . . 57
Chapter 6 Central Processor Unit (CPU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Chapter 7 Carrier Modulator Timer (CMT) Module . . . . . . . . . . . . . . . . . . . . . 93
Chapter 8 Parallel Input/Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Chapter 9 Keyboard Interrupt (KBI) Module . . . . . . . . . . . . . . . . . . . . . . . . . 121
Chapter 10 Timer/PWM Module (TPM) Module . . . . . . . . . . . . . . . . . . . . . . . 127
Chapter 11 Serial Communications Interface (SCI) Module . . . . . . . . . . . . 143
Chapter 12 Serial Peripheral Interface (SPI) Module . . . . . . . . . . . . . . . . . . 161
Chapter 13 Analog Comparator (ACMP) Module . . . . . . . . . . . . . . . . . . . . . 177
Chapter 14 Development Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Appendix C Electrical Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Appendix D Ordering Information and Mechanical Drawings . . . . . . . . . . 223
Freescale Semiconductor
MC9S08RC/RD/RE/RG
5