M68HC12B Family
Data Sheet
M68HC12
Microcontrollers
M68HC12B/D
Rev. 8
7/2003
MOTOROLA.COM/SEMICONDUCTORS
M68HC12B Family
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://motorola.com/semiconductors
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.
Motorola and the Stylized M Logo are registered trademarks of Motorola, Inc.
DigitalDNA is a trademark of Motorola, Inc.
This product incorporates SuperFlash® technology licensed from SST.
© Motorola, Inc., 2003
M68HC12B Family — Rev. 8.0
MOTOROLA
Data Sheet
3
Revision History
Revision History
Date
Revision
Level
Description
Figure 1-7. BDM Tool Connector
— Added NC (no connect) designator to
pin 3
Figure 18-16. BDM Tool Connector
— Added NC designator to pin 3
Table 14-2. Loop Mode Functions
— Corrected table header, third column,
from DDRS1 to DDS1
2.0
WOMS bit description, fifth line, changed (via DDRS0/2)
to (via DDS0/2)
SSOE bit description, second line, changed DDRS7 to DDS7
In the table notes following the SPC0 bit description, corrected bit
designators from DDRS4, DDRS5, DDRS6, and DDRS7 to DDS4, DDS5,
DDS6, and DDS7.
September,
2001
Table 13-3. Prescaler Selection
— Added value column and updated
prescale factors
19.11 EEPROM Characteristics
— Corrected minimum and maximum
values for programming and erase times
Document type changed from Advance Information to Technical Data
reflecting qualification.
Figure 3-9. Condition Code Register (CCR)
— Reset value for S bit
corrected from U to 1
14.2.3.3 SCI Control Register 2
— Removed erroneous reference to Port S
bit 3 in the definition for the transmitter enable bit (TE).
January,
2003
5.0
Figure 14-20. Port S Data Register (PORTS)
— Removed erroneous pin
function for PS3 and PS2.
Reformatted to meet publication standards
19.2 Maximum Ratings
— Corrected maximum values for V
DD
, V
DDA
,
V
DDX
, and V
In
April,
2003
6.0
19.7 ATD Maximum Ratings
— Corrected maximum values for V
RH
and
V
RL
Figure 19-1. Programming Voltage Envelope
— Corrected maximum
values for V
FP
and V
DD
May,
2003
July,
2003
7.0
19.12.1 Programming Voltage Supply Envelope
— Added subsection for
clarity.
19.12.2 Example V
FP
Protection Circuitry
— Added subsection for clarity.
8.0
19.2 Maximum Ratings
— Updated values
19.7 ATD Maximum Ratings
— Updated values
Page
Number(s)
30
334
208
208
218
218
June,
2001
183
341
N/A
65
209
221
N/A
335
339
343
342
343
335
339
3.0
April,
2002
4.0
Data Sheet
4
Revision History
M68HC12B Family — Rev. 8.0
MOTOROLA
Data Sheet — M68HC12B Family
List of Sections
Section 1. General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Section 2. Register Block. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Section 3. Central Processor Unit (CPU) . . . . . . . . . . . . . . . . . . . . . . . 61
Section 4. Resets and Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Section 5. Operating Modes and Resource Mapping . . . . . . . . . . . . . 77
Section 6. Bus Control and Input/Output (I/O) . . . . . . . . . . . . . . . . . . . 87
Section 7. EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Section 8. FLASH EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Section 9. Read-Only Memory (ROM) . . . . . . . . . . . . . . . . . . . . . . . . . 117
Section 10. Clock Generation Module (CGM). . . . . . . . . . . . . . . . . . . 119
Section 11. Pulse-Width Modulator (PWM). . . . . . . . . . . . . . . . . . . . . 133
Section 12. Standard Timer Module (TIM) . . . . . . . . . . . . . . . . . . . . . 149
Section 13. Enhanced Capture Timer (ECT) Module . . . . . . . . . . . . . 169
Section 14. Serial Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Section 15. Byte Data Link Communications (BDLC) . . . . . . . . . . . . 227
Section 16. msCAN12 Controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Section 17. Analog-to-Digital Converter (ATD) . . . . . . . . . . . . . . . . . 301
Section 18. Development Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Section 19. Electrical Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . 335
Section 20. Mechanical Specifications . . . . . . . . . . . . . . . . . . . . . . . . 359
M68HC12B Family — Rev. 8.0
MOTOROLA
List of Sections
Data Sheet
5