MC9S12HZ256
Data Sheet
HCS12
Microcontrollers
MC9S12HZ256
Rev. 2.01
10/2005
freescale.com
MC9S12HZ256 Data Sheet
MC9S12HZ256V2
Rev. 2.01
10/2005
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.
Revision History
Date
October 10, 2005
Revision
Level
02.01
New Data Sheet
Description
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc.
This product incorporates SuperFlash® technology licensed from SST.
© Freescale Semiconductor, Inc., 2005. All rights reserved.
MC9S12HZ256 Data Sheet, Rev. 2.01
4
Freescale Semiconductor
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Chapter 14
Chapter 15
Chapter 16
Chapter 17
Chapter 18
Chapter 19
Chapter 20
Chapter 21
Chapter 22
MC9S12HZ256 Device Overview (MC9S12HZ256V2). . . . . . . . 21
256 Kbyte Flash Module (FTS256K2V1) . . . . . . . . . . . . . . . . . . 87
2 Kbyte EEPROM Module (EETS2KV1). . . . . . . . . . . . . . . . . . 125
Port Integration Module (PIM9HZ256V2) . . . . . . . . . . . . . . . . 145
Clocks and Reset Generator (CRGV4) . . . . . . . . . . . . . . . . . . 197
Oscillator (OSCV2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Analog-to-Digital Converter (ATD10B16CV4) . . . . . . . . . . . . 237
Liquid Crystal Display (LCD32F4BV1) . . . . . . . . . . . . . . . . . . 271
Motor Controller (MC10B8CV1). . . . . . . . . . . . . . . . . . . . . . . . 289
Stepper Stall Detector (SSDV1). . . . . . . . . . . . . . . . . . . . . . . . 321
Inter-Integrated Circuit (IICV2) . . . . . . . . . . . . . . . . . . . . . . . . 339
Freescale’s Scalable Controller Area Network (MSCANV2) . 363
Serial Communication Interface (SCIV4) . . . . . . . . . . . . . . . . 417
Serial Peripheral Interface (SPIV3) . . . . . . . . . . . . . . . . . . . . . 449
Pulse-Width Modulator (PWM8B6CV1). . . . . . . . . . . . . . . . . . 471
Timer Module (TIM16B8CV1) . . . . . . . . . . . . . . . . . . . . . . . . . . 505
Dual Output Voltage Regulator (VREG3V3V2). . . . . . . . . . . . 531
Background Debug Module (BDMV4). . . . . . . . . . . . . . . . . . . 539
Debug Module (DBGV1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565
Interrupt (INTV1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597
Multiplexed External Bus Interface (MEBIV3) . . . . . . . . . . . . 605
Module Mapping Control (MMCV4) . . . . . . . . . . . . . . . . . . . . . 633
Appendix A Electrical Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 653
Appendix B Recommended PCB Layout . . . . . . . . . . . . . . . . . . . . . . . . . . 685
Appendix C Package Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687
MC9S12HZ256 Data Sheet, Rev. 2.01
Freescale Semiconductor
5