16-bit Microcontrollers
MC9S12A128
Target Applications
Features
Benefits
> Instrumentation
High-Performance 16-bit HCS12 CPU Core
> Energy management
> 25 MHz bus operation at 5V for 40 ns
> Opcode compatible with the 68HC11
and 68HC12
> Industrial control
minimum instruction cycle time
> Robotics
> C-optimized architecture produces extremely
compact code
> Safety equipment
> Security
On-Chip Debug Interface
> Dedicated serial debug interface
> Real-time in-circuit emulation and debug
without expensive and cumbersome
box emulators
> On-chip breakpoints
Overview
> Read/write memory and registers while running
at full speed
Freescale Semiconductor’s MC9S12A128
Flash microcontroller (MCU) is the next
generation of the highly successful
68HC12 architecture. Using Freescale’s
industry-leading 0.25 µs Flash, the A128 is
part of a pin-compatible family that scales
from 32 KB to 512 KB of Flash memory.
The MC9S12A128 provides an upward
migration path from Freescale’s 68HC08,
68HC11 and 68HC12 architectures for
applications that need larger memory,
more peripherals and higher performance.
Integrated Third-Generation Flash Memory
> In-application reprogrammable
> Flexibility to change code in the field
> Efficient end-of-line programming
> Self-timed, fast programming
• Fast Flash page erase—20 ms
(512 bytes)
> Total program time for 128 KB code is less
than five seconds
• Can program 16 bits in 20 µs while
in burst mode
> Reduces production programming cost
through ultra-fast programming
> 5V Flash program/erase/read
> No external high voltage or charge
pump required
> Flash granularity—512 byte Flash
erase/2 byte Flash program
> Virtual EEPROM implementation, Flash array
usable for EE extension
> Two independently programmable
Flash arrays
> Can erase one array while executing code
from another
> Flexible block protection and security
2 KB Integrated EEPROM
> Flexible protection scheme for protection
against accidental program or erase
> Can erase 4 bytes at a time and program
2 bytes at a time for calibration, security,
personality and diagnostic information
HCS12 CPU
128 KB Flash
> EEPROM can be programmed in 46 µs
10-bit Analog-to-Digital Converter (ADC)
2 x SCI
> Two, 8-channel ADCs
> Fast, easy conversion from analog inputs
like position sensors, analog meters and
photovoltaic cells to digital values for
CPU processing
8 KB RAM
2 KB EEPROM
> 7 µs, 10-bit single conversion time, scan mode
available
I2C
ATD0
10-bit, 8-ch.
ATD1
10-bit, 8-ch.
2 x SPI
> Can effectively have 3.5 µs conversion time
by sampling same signal with both ADCs
Up to
91 GPIO
Enhanced Capture Timer
16-bit, 8-ch.
Vreg
5V to 2.5V
PWM
16-Key Wake-Up
IRQ Ports
8-bit, 8-ch./16-bit, 4-ch.