MC68HC908AP64
MC68HC908AP32
MC68HC908AP16
MC68HC908AP8
Data Sheet
M68HC08
Microcontrollers
MC68HC908AP64
Rev. 4
01/2007
freescale.com
MC68HC908AP64
MC68HC908AP32
MC68HC908AP16
MC68HC908AP8
Data Sheet
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://www.freescale.com
The following revision history table summarizes changes contained in this document. For your
convenience, the page number designators have been linked to the appropriate location.
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc.
This product incorporates SuperFlash® technology licensed from SST.
© Freescale Semiconductor, Inc., 2005, 2007. All rights reserved.
MC68HC908AP Family Data Sheet, Rev. 4
Freescale Semiconductor
3
Revision History
Date
Revision
Level
Description
15.7.2 ADC Clock Control Register
— Changed “The ADC clock should
be set to between 500kHz and 2MHz” to “The ADC clock should be set
to between 500kHz and 1MHz”
Table 22-4 . DC Electrical Characteristics (5V)
— Updated V
OL
values.
August 2005
3
Table 22-6 . Oscillator Specifications (5V)
and
Table 22-10 . Oscillator
Specifications (3V)
— Corrected internal oscillator clock frequency,
f
ICLK
. Updated crystal oscillator component values C
L
, C
1
, C
2
, R
B
, and
R
S
.
Added MC68HC908AP16/AP8 information throughout.
October 2003
2.5
Section 10. Monitor ROM (MON)
— Corrected RAM address to $60.
Section 24. Electrical Specifications
— Added run and wait I
DD
data for
8MHz at 3V.
August 2003
2.4
Section 24. Electrical Specifications
— Updated stop I
DD
data.
Removed MC68HC908AP16 references throughout.
Table 1-2 . Pin Functions
— Added footnote for V
REG
.
5.3 Configuration Register 1 (CONFIG1)
— Clarified LVIPWRD and
LVIREGD bits.
July 2003
2.3
Section 8. Clock Generator Module (CGM), 8.7.2 Stop Mode
— Updated
BSC bit behavior.
10.5 ROM-Resident Routines
— Corrected data size limits and control
byte size for EE_READ and EE_WRITE.
Figure 12-2 . Timebase Control Register (TBCR)
— Corrected register
address.
Section 24. Electrical Specifications
— Updated.
Updated for f
NOM
= 125kHz and filter components
in CGM section.
Updated electricals.
Page
Number(s)
254
299
January 2007
4
301, 305
—
167
421
417, 421
—
30
67
125
168–193
207
415
101
415
May 2003
2.2
MC68HC908AP Family Data Sheet, Rev. 4
4
Freescale Semiconductor
List of Chapters
Chapter 1 General Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Chapter 2 Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
Chapter 3 Configuration & Mask Option Registers (CONFIG & MOR) . . . . . . . . . . . . . . . .49
Chapter 4 Central Processor Unit (CPU). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
Chapter 5 Oscillator (OSC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
Chapter 6 Clock Generator Module (CGM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
Chapter 7 System Integration Module (SIM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97
Chapter 8 Monitor ROM (MON) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115
Chapter 9 Timer Interface Module (TIM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .135
Chapter 10 Timebase Module (TBM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .151
Chapter 11 Serial Communications Interface Module (SCI) . . . . . . . . . . . . . . . . . . . . . . .155
Chapter 12 Infrared Serial Communications Interface Module (IRSCI) . . . . . . . . . . . . . .181
Chapter 13 Serial Peripheral Interface Module (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .209
Chapter 14 Multi-Master IIC Interface (MMIIC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .229
Chapter 15 Analog-to-Digital Converter (ADC). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .247
Chapter 16 Input/Output (I/O) Ports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .259
Chapter 17 External Interrupt (IRQ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .271
Chapter 18 Keyboard Interrupt Module (KBI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .277
Chapter 19 Computer Operating Properly (COP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .283
Chapter 20 Low-Voltage Inhibit (LVI). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .287
Chapter 21 Break Module (BRK) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .291
Chapter 22 Electrical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .297
Chapter 23 Mechanical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .315
Chapter 24 Ordering Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .319
MC68HC908AP Family Data Sheet, Rev. 4
Freescale Semiconductor
5