Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names
are the property of their respective owners. This product incorporates SuperFlash®technology licensed from SST.
© Freescale Semiconductor, Inc. 2005
Document Number: MC9S12A128FS
REV 4
Learn More: For more information about Freescale products, please visit www.freescale.com.
Features Benefits
Clock Generation Module with Phase-Lock Loop (PLL)
> Clock monitor with limp home mode in case of
no external clock
> Programmable clock frequency with 1024
options ranging from divide by 16 to multiply
by 64 form base oscillator
> Real-time interrupt
> Watchdog
> Reliable, robust operation
> Provides high performance using low-cost
reference crystals
> Reduces generated noise
> Reduces power consumption
> Easily able to implement real-time clock
Enhanced Capture Timer
> 8-channel, 16-bit with input capture, output
compare and pulse accumulator
> 16-bit modulus down counter
> Flexible, programmable timer system
8-bit or 16-bit Pulse-Wide Modulation (PWM)
> 8-channel, 8-bit or 4-channel, 16-bit PWM
> PWM supports center-aligned operation
> Efficiently implement motor control, battery
charging or digital-to-analog (DAC) functions
Two Serial Communications Interfaces
> 8192 prescaler option > Asynchronous communication between the
MCU and a terminal, computer or
a network of MCUs
Two Serial Peripheral Interfaces
> 256 clock rate options > High-speed synchronous communication
between multiple MCUs or between MCU and
serial peripherals
Application Notes and Engineering Bulletins
AN2206 Security and Protection on the HCS12 Family
AN2213 Using Cosmic Software’s M68HC12 Compiler for MC9S12DP256 Software Development
AN2216 MC9S12DP256 Software Development Using Metrowerks CodeWarrior™
AN2250 Audio Reproduction on HCS12 Microcontrollers
EB386 HCS12 D-Family Compatibility
Inter IC (I2C) Bus
> Provides a simple, efficient method
of data exchange between devices
> Minimizes the need for large numbers
of connections between devices and
eliminates the need for an address decoder
Up to 91 Input/Output (I/O) Lines
> Programmable pull-ups/pull-downs
> Dual drive capability
> Reduce system cost
> Able to tailor application for minimum EMC or
high current loads
112-Lead LQFP80-Lead LQFP
Package Options
Part Number Package Temp. Range
MC9S12A128CFU 80 QFP -40°C to +85°C
MC9S12A128CPV 112 LQFP -40°C to +85°C
Cost-Effective Development Tools
For more information on development tools, please refer to
the Freescale Development Tool Selector Guide (SG1011).
M68KIT912DP256 Evaluation kit for development and
$495 evaluation of HCS12 application
code that includes the
M68EVB912DP256 and
USBMULTILINKBDM
M68CYCLONEPRO HC08/HCS08/HC12/HCS12
$499 stand-alone Flash programmer or
in-circuit emulator, debugger, Flash
programmer; USB, serial or Ethernet
interface options
USBMULTILINKBDM Universal HCS08/HCS12 in-circuit
$99 emulator, debugger, and Flash
programmer; USB PC interface
CWX-H12-SE CodeWarrior™ Special Edition for
Free HCS12 MCUs; includes integrated
development environment (IDE),
linker, debugger, unlimited
assembler, Processor Expert™
auto-code generator, full-chip
simulation and limited C compiler
Data Sheets
S12DT128DGV2 MC9S12A128 Device Guide
S12DT128PIMV1 MC9S12A128 Port Integration Module
Block Guide
S12ATD10B8CV2 HCS12 10-bit 8-channel Analog to
Digital Block Guide
S12BDMV4 HCS12 Background Debug (BDM)
Block Guide
S12BKVD1 HCS12 Breakpoint (BKP) Block Guide
S12CPUV2 HCS12 CPU Reference Manual
S12CRGV3 HCS12 Clock Reset Generator
Block Guide
S12EETS2KV1 HCS12 2K EEPROM Block Guide
S12FTS128KV1 HCS12 128K Flash Block Guide
S12IICV2 HCS12 I2C Block Guide
S12INTV1 HCS12 Interrupt (INT) Block Guide
S12MEBIV3 HCS12 Multiplexed External Bus
Interface (MEBI) Block Guide
S12MMCV4 HCS12 Module Mapping Control
(MMC) Block Guide
S12PWM8B8CV1 HCS12 8-bit 8-channel Pulse-Width
Modulator Block Guide
S12SCIV2 HCS12 Serial Communications
Interface Block Guide
S12SPIV2 HCS12 Serial Peripheral Interface
Block Guide
S12TIM16B8CV1 HCS12 16-bit 8-channel Timer
Block Guide
S12VREGV1 HCS12 Voltage Regulator Block Guide