16-bit Microcontrollers MC9S12A256 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 > Industrial control minimum instruction cycle time and 68HC12 > Robotics > C-optimized architecture produces extremely > Safety equipment compact code > Security On-Chip Debug Interface > Dedicated serial debug interface > Real-time in-circuit emulation and debug without expensive and cumbersome > On-chip breakpoints box emulators Overview > Read/write memory and registers while running Freescale Semiconductors MC9S12A256 at full speed Flash microcontroller (MCU) is the next Integrated Third-Generation Flash Memory generation of the highly successful 68HC12 > In-application reprogrammable > Flexibility to change code in the field architecture. Using Freescales industry-leading > Self-timed, fast programming > Efficient end-of-line programming 0.25 s Flash, the A256 is part of a Fast Flash page erase20 ms > Total program time for 256 KB code is less pin-compatible family that scales from (512 bytes) than 10 seconds 32 KB to 512 KB of Flash memory. The Can program 16 bits in 20 s while > Reduces production programming cost in burst mode through ultra-fast programming MC9S12A256 provides an upward migration > 5V Flash program/erase/read > No external high voltage or charge path from Freescales 68HC08, 68HC11 pump required and 68HC12 architectures for applications > Flash granularity512 byte Flash erase/2 byte Flash program > Virtual EEPROM implementation, Flash array that need larger memory, more peripherals usable for EE extension > Four independently programmable and higher performance. Flash arrays > Can erase one array while executing code from another > Flexible block protection and security 4 KB Integrated EEPROM > Flexible protection scheme for protection > Can erase 4 bytes at a time and program against accidental program or erase 2 bytes at a time for calibration, security, HCS12 CPU personality and diagnostic information > EEPROM can be programmed in 46 s 256 KB Flash 10-bit Analog-to-Digital Converter (ADC) > Two, 8-channel ADCs > Fast, easy conversion from analog inputs 2 x SCI 12 KB RAM 4 KB EEPROM like position sensors, analog meters and > 7 s, 10-bit single conversion time, photovoltaic cells to digital values for 2 I C scan mode available CPU processing ATD0 ATD1 > ADCs run in parallel for a 7 s conversion for 10-bit, 8-ch. 10-bit, 8-ch. 3 x SPI two 10-bits or, in other words, 3.5 s for 10-bits Enhanced Capture Timer 16-bit, 8-ch. Vreg 5V to 2.5V PWM 16-Key Wake-Up 8-bit, 8-ch./16-bit, 4-ch. IRQ Ports Internal BusData Sheets 9S12DP256BDGV2 MC9S12A256 Device Guide Features Benefits S12DP256BPIMV2 MC9S12A256 Port Integration Module Clock Generation Module with Phase-Lock Loop (PLL) Block Guide > Clock monitor with limp home mode in case of > Reliable, robust operation S12ATD10B8CV2 HCS12 10-bit 8-channel Analog to Digital Block Guide no external clock > Provides high performance using low-cost S12BDMV4 HCS12 Background Debug (BDM) > Programmable clock frequency with 1024 reference crystals Block Guide options ranging from divide by 16 to multiply S12BKVD1 HCS12 Breakpoint (BKP) Block Guide > Reduces generated noise by 64 form base oscillator S12CPUV2 HCS12 CPU Reference Manual > Reduces power consumption > Slow mode divider S12CRGV2 HCS12 Clock Reset Generator Block Guide > Easily able to implement real-time clock > Real-time interrupt S12ECT16B8CV1 HCS12 16-bit 8-channel Enhanced Capture Timer Block Guide > Watchdog S12EETS4KV2 HCS12 4K EEPROM Block Guide S12FTS256KV2 HCS12 256K Flash Block Guide Enhanced Capture Timer 2 S12IICV2 HCS12 I C Block Guide > 8-channel, 16-bit with input capture, output > Flexible, programmable timer system S12INTV1 HCS12 Interrupt (INT) Block Guide compare and pulse accumulator S12MEBIV3 HCS12 Multiplexed External Bus > 16-bit modulus down counter Interface (MEBI) Block Guide S12MMCV4 HCS12 Module Mapping Control (MMC) Block Guide 8-bit or 16-bit Pulse-Wide Modulation (PWM) S12PWM8B8CV1 HCS12 8-bit 8-channel Pulse-Width Modulator Block Guide > 8-channel, 8-bit or 4-channel, 16-bit PWM > Efficiently implement motor control, battery charging or digital-to-analog (DAC) functions S12SCIV2 HCS12 Serial Communications > PWM supports center-aligned operation Interface Block Guide S12SPIV2 HCS12 Serial Peripheral Interface Block Guide Two Serial Communications Interfaces S12VREGV1 HCS12 Voltage Regulator Block Guide > Asynchronous communication between the MCU and a terminal, computer or a network of MCUs Cost-Effective Development Tools For more information on development tools, please refer to Three Serial Peripheral Interfaces the Freescale Development Tool Selector Guide (SG1011). > High-speed synchronous communication M68KIT912DP256 Evaluation kit for development and between multiple MCUs or between MCU and 495 evaluation of HCS12 application serial peripherals code that includes the M68EVB912DP256 and USBMULTILINKBDM 2 Inter IC (I C) Bus M68CYCLONEPRO HC08/HCS08/HC12/HCS12 499 stand-alone Flash programmer or > Provides a simple, efficient method in-circuit emulator, debugger, Flash of data exchange between devices programmer USB, serial or Ethernet interface options > Minimizes the need for large numbers USBMULTILINKBDM Universal HCS08/HCS12 in-circuit of connections between devices and 99 emulator, debugger, and Flash eliminates the need for an address decoder programmer USB PC interface CWX-H12-SE CodeWarrior Special Edition for Free HCS12 MCUs includes integrated Up to 91 Input/Output (I/O) Lines development environment (IDE), > Programmable pull-ups/pull-downs > Reduce system cost linker, debugger, unlimited assembler, Processor Expert > Dual drive capability > Able to tailor application for minimum EMC or auto-code generator, full-chip simulation and limited C compiler high current loads Package Options Application Notes and Engineering Bulletins Part Number Package Temp. Range AN2206 Security and Protection on the HCS12 Family MC9S12A256CFU 80 QFP -40C to +85C MC9S12A256CPV 112 LQFP -40C to +85C AN2213 Using Cosmic Softwares M68HC12 Compiler for MC9S12DP256 Software Development 80-Lead LQFP 112-Lead LQFP AN2216 MC9S12DP256 Software Development Using Metrowerks CodeWarrior AN2250 Audio Reproduction on HCS12 Microcontrollers EB386 HCS12 D-Family Compatibility Learn More: For more information about Freescale products, please visit www.freescale.com. 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: MC9S12A256FS REV 4