Product Summary

The MC9S12XD family will retain the low cost, power consumption, EMC and code-size efficiency
advantages currently enjoyed by users of Freescale's existing 16-Bit MC9S12 MCU Family.
Based around an enhanced S12 core, the MC9S12XD family will deliver 2 to 5 times the performance of
a 25-MHz S12 whilst retaining a high degree of pin and code compatibility with the S12.
The MC9S12XD family introduces the performance boosting XGATE module. Using enhanced DMA
functionality, this parallel processing module offloads the CPU by providing high-speed data processing
and transfer between peripheral modules, RAM, Flash EEPROM and I/O ports. Providing up to 80 MIPS
of performance additional to the CPU, the XGATE can access all peripherals, Flash EEPROM and the
RAM block.
The MC9S12XD family is composed of standard on-chip peripherals including up to 512 Kbytes of Flash
EEPROM, 32 Kbytes of RAM, 4 Kbytes of EEPROM, six asynchronous serial communications interfaces
(SCI), three serial peripheral interfaces (SPI), an 8-channel IC/OC enhanced capture timer, an 8-channel,
10-bit analog-to-digital converter, a 16-channel, 10-bit analog-to-digital converter, an 8-channel
pulse-width modulator (PWM), five CAN 2.0 A, B software compatible modules (MSCAN12), two
inter-IC bus blocks, and a periodic interrupt timer. The MC9S12XD family has full 16-bit data paths
throughout.
The non-multiplexed expanded bus interface available on the 144-pin versions allows an easy interface to
external memories
The inclusion of a PLL circuit allows power consumption and performance to be adjusted to suit
operational requirements. System power consumption can be further improved with the new“fast exit from
stop mode” feature.
In addition to the I/O ports available in each module, up to 25 further I/O ports are available with interrupt
capability allowing wake-up from stop or wait mode.
Family members in 144-pin LQFP will be available with external bus interface and parts in 112-pin LQFP
or 80-pin QFP package without external bus interface. See Appendix E Derivative Differences for package
options.

Features

MC9S12XD/B/A Family Features
This section lists the features which are available on
MC9S12XDP512RMV2. See Appendix E Derivative Differences for
availability of features and memory sizes on other family members.
? HCS12X Core
— 16-bit HCS12X CPU
– Upward compatible with MC9S12 instruction set
– Interrupt stacking and programmer’s model identical to MC9S12
– Instruction queue
– Enhanced indexed addressing
– Enhanced instruction set
— EBI (external bus interface)
— MMC (module mapping control)
— INT (interrupt controller)
— DBG (debug module to monitor HCS12X CPU and XGATE bus activity)
— BDM (background debug mode)
? XGATE (peripheral coprocessor)
— Parallel processing module off loads the CPU by providing high-speed data processing and
transfer
— Data transfer between Flash EEPROM, RAM, peripheral modules, and I/O ports
? PIT (periodic interrupt timer)
— Four timers with independent time-out periods
— Time-out periods selectable between 1 and 224 bus clock cycles
? CRG (clock and reset generator)
— Low noise/low power Pierce oscillator
— PLL
— COP watchdog
— Real time interrupt
— Clock monitor
— Fast wake-up from stop mode
? Port H & Port J with interrupt functionality
— Digital filtering
— Programmable rising or falling edge trigger
? Memory
— 512, 256 and 128-Kbyte Flash EEPROM
— 4 and 2-Kbyte EEPROM
— 32, 16 and 12-Kbyte RAM
? One 16-channel and one 8-channel ADC (analog-to-digital converter)
Chapter 1 Device Overview MC9S12XD-Family
MC9S12XDP512 Data Sheet, Rev. 2.21
Freescale Semiconductor 33
— 10-bit resolution
— External and internal conversion trigger capabilityFiveFourTwo 1M bit per second,
CAN 2.0 A, B software compatible modules
— Five receive and three transmit buffers
— Flexible identifier filter programmable as 2 x 32 bit, 4 x 16 bit, or 8 x 8 bit
— Four separate interrupt channels for Rx, Tx, error, and wake-up
— Low-pass filter wake-up function
— Loop-back for self-test operation
? ECT (enhanced capture timer)
— 16-bit main counter with 7-bit prescaler
— 8 programmable input capture or output compare channels
— Four 8-bit or two 16-bit pulse accumulators
? 8 PWM (pulse-width modulator) channels
— Programmable period and duty cycle
— 8-bit 8-channel or 16-bit 4-channel
— Separate control for each pulse width and duty cycle
— Center-aligned or left-aligned outputs
— Programmable clock select logic with a wide range of frequencies
— Fast emergency shutdown input
? Serial interfaces
— SixFourTwo asynchronous serial communication interfaces (SCI) with additional LIN support
and selectable IrDA 1.4 return-to-zero-inverted (RZI) format with programmable pulse width
— ThreeTwo Synchronous Serial Peripheral Interfaces (SPI)
? TwoOne IIC (Inter-IC bus) Modules
— Compatible with IIC bus standard
— Multi-master operation
— Software programmable for one of 256 different serial clock frequencies
? On-Chip Voltage Regulator
— Two parallel, linear voltage regulators with bandgap reference
— Low-voltage detect (LVD) with low-voltage interrupt (LVI)
— Power-on reset (POR) circuit
— 3.3-V–5.5-V operation
— Low-voltage reset (LVR)
— Ultra low-power wake-up timer
? 144-pin LQFP, 112-pin LQFP, and 80-pin QFP packages
— I/O lines with 5-V input and drive capability
— Input threshold on external bus interface inputs switchable for 3.3-V or 5-V operation
— 5-V A/D converter inputs
— Operation at 80 MHz equivalent to 40-MHz bus speed
Chapter 1 Device Overview MC9S12XD-Family
MC9S12XDP512 Data Sheet, Rev. 2.21
34 Freescale Semiconductor
? Development support
— Single-wire background debug? mode (BDM)
— Four on-chip hardware breakpoints

Diagrams

Image Part No Mfg Description Data Sheet Download Pricing
(USD)
Quantity
MC9S12XDT256CAL
MC9S12XDT256CAL

Freescale Semiconductor

16-bit Microcontrollers (MCU) 9S12XDT256TSMC3 GENERAL

Data Sheet

0-1: $8.15
1-25: $7.36
25-50: $6.31
50-100: $5.11
Image Part No Mfg Description Data Sheet Download Pricing
(USD)
Quantity
MC9S08AC128CFGE
MC9S08AC128CFGE

Freescale Semiconductor

8-bit Microcontrollers (MCU) 8 Bit 128K FLASH 8K RAM

Data Sheet

0-1: $2.56
1-25: $2.32
25-50: $1.99
50-100: $1.61
MC9S08AC128CFUE
MC9S08AC128CFUE

Freescale Semiconductor

8-bit Microcontrollers (MCU) 8 Bit 128K FLASH 8K RAM

Data Sheet

0-1: $2.75
1-25: $2.48
25-50: $2.13
50-100: $1.73
MC9S08AC128CLKE
MC9S08AC128CLKE

Freescale Semiconductor

8-bit Microcontrollers (MCU) 8 Bit 128K FLASH 8K RAM

Data Sheet

0-1: $2.77
1-25: $2.51
25-50: $2.14
50-100: $1.74
MC9S08AC128MLKE
MC9S08AC128MLKE

Freescale Semiconductor

8-bit Microcontrollers (MCU) 128K FLASH, 8K RAM

Data Sheet

0-1: $3.25
1-25: $3.06
25-100: $1.91
MC9S08AC128MFGE
MC9S08AC128MFGE

Freescale Semiconductor

8-bit Microcontrollers (MCU) 128K FLASH, 8K RAM

Data Sheet

0-1: $3.00
1-25: $2.83
25-100: $1.77
MC9S08AC128MFUE
MC9S08AC128MFUE

Freescale Semiconductor

8-bit Microcontrollers (MCU) 128K FLASH 8K RAM

Data Sheet

0-1: $3.20
1-25: $3.02
25-100: $1.89