S12A: S12A Automotive and Industrial Microcontrollers (MCUs)

The MC9S12A512 MCU is a 16-bit device composed of standard on-chip peripherals, including a HCS12 CPU.

System resource mapping, clock generation, interrupt control and bus interfacing are managed by the system integration module (SIM).

The MC9S12A512 has full 16-bit data paths throughout, however the external bus can operate in an 8-bit narrow mode so single 8-bit wide memory can be interfaced for lower cost systems.

The inclusion of a phase-lock loop (PLL) circuit allows power consumption and performance to be adjusted.

NXP® S12A Microcontroller Block Diagram
特性
  • 16-bit HCS12 CPU
  • Upward compatible with M68HC11 instruction set
  • Interrupt stacking and programmer's model identical to M68HC11
  • Instruction pipe
  • Enhanced indexed addressing
  • Multiplexed external bus
  • Memory
  • 512 KB flash EEPROM
  • 4 KB EEPROM
  • 14 KB RAM
  • Two asynchronous serial communications interfaces (SCI)
  • Three serial peripheral interfaces (SPI)
  • Two 8-channel ADCs
  • 8-channel pulse-width modulator (PWM)
  • 29 discrete digital I/O channels (Port A, Port B, Port K and Port E)
  • 20 discrete digital I/O lines with interrupt and wake-up capability
  • Inter-IC Bus
  • 10-bit resolution
  • Software-compatible modules
Data Sheets (6)
Name/DescriptionModified Date
MC9S12DT256 Data Sheet and Reference Manual, zip format. Covers also the MC9S12A256, MC9S12DJ256, and MC9S12DG256 (REV 6) ZIP (5.1 MB) 9S12DT256_ZIP08 Jul 2010
MC9S12DT128 Data Sheet and Reference Manual, zipped format. Also covers MC9S12DT128E, MC9S12DG128, MC9S12DG128E,... (REV 15) ZIP (6.1 MB) 9S12DT128_ZIP07 Jun 2010
MC9S12DJ64 Data Sheet and Reference Manual zip format. Covers also MC9S12D64, MC9S12A64, MC9S12D32, and MC9S12A32 (REV 8) ZIP (5.3 MB) 9S12DJ64_ZIP07 May 2010
MC9S12DP256B Data Sheet and Reference Manual, zip format. Also covers MC9S12DT256C, MC9S12DJ256C, MC9S12DG256C,... (REV 2.16) ZIP (3.9 MB) 9S12DP256B_ZIP07 May 2010
MC9S12DP512 Data Sheet and Reference Manual, zip format. Covers also the MC9S12DT512, MC9S12DJ512, and MC9S12A512 (REV 117) ZIP (4.6 MB) 9S12DP512_ZIP07 May 2010
HCS12 Document Methodology - Data Sheet (REV 0.2) PDF (229.9 kB) READ-ME_HCS1209 Jul 2003
Errata (7)
Name/DescriptionModified Date
MSE9S12DP512_0L00M Mask Set Errata (REV 01.06) HTM (55.9 kB) MSE9S12DP512_0L00M13 Feb 2011
MSE9S12DP512_1L00M Mask Set Errata (REV 01.06) HTM (56.5 kB) MSE9S12DP512_1L00M13 Feb 2011
MSE9S12DP512_2L00M Mask Set Errata (REV 01.06) HTM (55.5 kB) MSE9S12DP512_2L00M13 Feb 2011
MSE9S12DP512_3L00M Mask Set Errata (REV 01.06) HTM (51.3 kB) MSE9S12DP512_3L00M13 Feb 2011
MSE9S12DP512_4L00M Mask Set Errata (REV 01.06) HTM (50.1 kB) MSE9S12DP512_4L00M13 Feb 2011
MC9S12A128 8-Bit Microcontroller Unit: Mask Set Errata - Errata (REV 0) PDF (70.3 kB) 9S12A128MSE114 Mar 2002
9S12A256MSE1, MC9S12A256 8-Bit Microcontroller Unit: Mask Set Errata - Errata (REV 0) PDF (273.6 kB) 9S12A256MSE114 Mar 2002
Application Notes (35)
Name/DescriptionModified Date
AN4483, Emulated EEPROM Routines for the S12P Family - Application Notes (REV 1) PDF (203.0 kB) AN448316 Mar 2012
A Utility for Programming Single FLASH Array HCS12 MCUs, with Minimum RAM Overhead (REV 2) PDF (120.5 kB) AN272025 Apr 2008
AN3391, LFAE Bootloader Example and Interface for use with AN2546 - Application Notes (REV 0) PDF (106.6 kB) AN339112 Jan 2007
PWM Generation Using HCS12 Timer Channels (REV 1) PDF (59.7 kB) AN261212 Jan 2006
Examples of HCS12 External Bus Design; A Companion Note to AN2287/D (REV 2.1) PDF (310.7 kB) AN240810 Oct 2005
Using the HCS12 NVM Standard Software Drivers with the Cosmic Compiler (REV 0.1) PDF (104.8 kB) AN267820 Sep 2005
AN2974, Quick Start for Beginners to Drive a Stepper Motor - Application Notes (REV 1) PDF (181.2 kB) AN297422 Jun 2005
HCS12 Load RAM and Execute Bootloader User Guide (REV 1) PDF (215.1 kB) AN254622 Dec 2004
Designing Hardware for the HCS12 D-Family (REV 0) PDF (490.7 kB) AN272715 Dec 2004
HCS12 External Bus Design (REV 1) PDF (591.8 kB) AN228727 Aug 2004
A Software Interrupt Priority Scheme for HCS12 Microcontrollers (REV 0) PDF (521.7 kB) AN261710 Feb 2004
Using the MC9S12E128 to Implement an IrDA Interface (REV 0) PDF (810.5 kB) AN259717 Oct 2003
Serial Monitor Program for HCS12 MCUs (REV 0) PDF (797.8 kB) AN254811 Sep 2003
HCS12 Software Stationery (REV 0) PDF (3.0 MB) AN248526 Aug 2003
HCS12 NVM Guidelines (REV 3) PDF (3.4 MB) AN240030 Jul 2003
An Overview of the HCS12 ATD Module (REV 0) PDF (592.7 kB) AN242802 Apr 2003
Interfacing to the HCS12 ATD Module (REV 0) PDF (1.8 MB) AN242919 Mar 2003
ADC Definitions and Specifications (REV 0) PDF (2.4 MB) AN243821 Feb 2003
Low Power Management using HCS12 and SBC devices (REV 0) PDF (1.6 MB) AN246107 Feb 2003
Implementation of a UDP/IP Stack on HCS12 Microcontrollers (REV 0) PDF (4.2 MB) AN230421 Oct 2002
Opto Isolation Circuits For In Circuit Debugging of 68HC9(S)12 and 68HC908 Microcontrollers (REV 0) PDF (1.0 MB) AN234225 Sep 2002
Using the I2C Bus with HCS12 Microcontrollers (REV 0) PDF (795.4 kB) AN231814 Aug 2002
Fast NVM Programming for the MC9S12DP256 (REV 1) PDF (1.7 MB) AN220404 Feb 2002
Audio Reproduction on HCS12 Microcontrollers (REV 0) PDF (525.9 kB) AN225023 Jan 2002
Using Cosmic Software's M68HC12 Compiler for MC9S12DP256 (REV 0) PDF (577.1 kB) AN221301 Sep 2001
A Serial Bootloader for Reprogramming the MC9S12DP256 FLASH Memory (REV 0) PDF (1.1 MB) AN215328 Jun 2001
Designing for Electromagnetic Compatibility (EMC) with HCMOS Microcontrollers (REV 0) PDF (456.1 kB) AN105001 Jan 2000
Expanding Digital Input with an A/D Converter (REV 1) PDF (803.4 kB) AN177501 Jan 1998
Using the Callable Routines in D-Bug12 (REV 0) PDF (1.1 MB) AN1280A01 Jan 1997
Using M68HC12 Indexed Indirect Addressing (REV 1) PDF (386.6 kB) AN171601 Jan 1997
Using and Extending D-Bug12 Routines (REV 0) PDF (613.3 kB) AN128001 Jan 1996
Transporting M68HC11 Code to M68HC12 Devices (REV 0) PDF (1.7 MB) AN128401 Jan 1996
System Design and Layout Techniques for Noise Reduction in MCU-Based Systems (REV 0) PDF (599.8 kB) AN125901 Jan 1995
Designing for Electromagnetic Compatibility with Single-Chip Microcontrollers (REV 0) PDF (283.9 kB) AN126301 Jan 1995
Engineering Bulletins (2)
Name/DescriptionModified Date
MISRA Compliance in NXP® Automotive C Language Header Files - Engineering Bulletin (REV 1) PDF (197.0 kB) EB79328 May 2013
Use of OSC2/XTAL as a Clock Output on NXP® Semiconductors Microcontrollers (REV 0) PDF (225.4 kB) EB39619 Jun 2002
Fact Sheets (6)
Name/DescriptionModified Date
MC9S12A64 - Fact Sheet (REV 0) PDF (69.9 kB) MC9S12A64FS08 Mar 2006
MC9S12A256 - Fact Sheet (REV 0) PDF (82.8 kB) MC9S12A32FS14 Feb 2006
MC9S12A128 - Fact Sheet (REV 4) PDF (87.6 kB) MC9S12A128FS08 Mar 2005
MC9S12A256 - Fact sheet (REV 4) PDF (86.7 kB) MC9S12A256FS08 Mar 2005
MC9S12A512 Microcontroller (REV 0) PDF (85.5 kB) MC9S12A512FS01 Dec 2003
MC9S12A512 16-BIT MICROCONTROLLER (REV 0) PDF (297.3 kB) MC9S12A51217 Nov 2003
Product Change Notices (5)
Name/DescriptionModified Date
Copper Wire Conversion for Microcontroller and Microprocessor Devices (REV 0) HTM (311.5 kB) PCN1623520 May 2014
TSPG 8/16 BIT TRIO TECH B/I CAPACITY (REV 0) HTM (110.1 kB) PCN1030207 Oct 2004
MC QUAL OF MC9S12DP512 (WHALESHARK) (REV 0) HTM (7.9 kB) PCN1028228 Sep 2004
S9FSD512 WHALESHARK TEST SITE TRANSFER (REV 0) HTM (13.9 kB) PCN948330 Jan 2004
20X20 LQFP ASSY MOVE FROM SHC TO KLM (REV 0) HTM (24.6 kB) PCN791719 Aug 2002
Supporting Information (1)
Name/DescriptionModified Date
S12X Training Fact Sheet (REV 1) PDF (151.9 kB) S12XTRAININGFS09 Dec 2008
Programmers (Flash, etc.)
Debuggers and Runtime Analysis
  • D-Bug12XZ (REV 6.0.0b17) ZIP D-Bug12XZ 2/26/2016
  • DB12v4FW (REV 4.0.0b36) ZIP DB12v4FW 9/28/2011
Snippets, Boot Code, Headers, Monitors, etc.
Archived
Ordering Information
ProductStatusStatusQualification TierPackage Type and Termination CountInternal Flash (KB)Internal RAM (KB)EEPROM (KB)ADCPWMOperating Frequency (Max) (MHz)CANSCISPISupply Voltage (Min-Max) (V)Ambient Operating Temperature (Min-Max) (°C)GPIOsAdditional FeaturesCo Processor TypeVideo/Display featuresBudgetary Price excluding tax(US$)
MC9S12A512CPVERActive10-YEARS APPLICATION LIFELQFP 1125121448-ch. 10-bit4-ch. 8-bit21-40 to 855910K @ US$14.05
MC9S12A512CPVEActive10-YEARS APPLICATION LIFELQFP 1125121448-ch. 10-bit8-ch. 16-bit2523-40 to 855910K @ US$14.05
MC9S12A64CPVEActive10-YEARS APPLICATION LIFELQFP 11264418-ch. 10-bit8-ch. 8-bit2521-40 to 855910K @ US$7.14
MC9S12A128CPVEActive10-YEARS APPLICATION LIFELQFP 112128828-ch. 10-bit4-ch. 8-bit2522-40 to 8559External Memory Controller10K @ US$9.85
MC9S12A256VPVEActive10-YEARS APPLICATION LIFELQFP 1122561248-ch. 10-bit4-ch. 8-bit23-40 to 1059110K @ US$12.57
MC9S12A256CPVEActive10-YEARS APPLICATION LIFELQFP 1122561248-ch. 10-bit8-ch. 16-bit2523-40 to 8591External Memory Controller10K @ US$11.97
MC9S12A32CFUEActive10-YEARS APPLICATION LIFEQFP 8032418-ch. 10-bit7-ch. 8-bit2521-40 to 859110K @ US$5.18
MC9S12A256CFUEActive10-YEARS APPLICATION LIFEQFP 802561248-ch. 10-bit8-ch. 8-bit2523-40 to 10591External Memory Controller, Low Voltage Detect10K @ US$11.66
MC9S12A128CFUEActive10-YEARS APPLICATION LIFEQFP 80128828-ch. 10-bit4-ch. 8-bit2522-40 to 8559External Memory Controller10K @ US$9.55
MC9S12A64CFUEActive10-YEARS APPLICATION LIFEQFP 8064418-ch. 10-bit8-ch. 8-bit2521-40 to 859110K @ US$7.05
MC9S12A256MPVEActive10-YEARS APPLICATION LIFELQFP 1122561248-ch. 10-bit8-ch. 8-bit23-40 to 12591External Memory Controller, Low Voltage Detect10K @ US$13.18
MC9S12A256BCFUENo Longer ManufacturedAUTO; >=10 YEARS APPLICATION LIFE25612
MC9S12A128BCFUNo Longer Manufactured12882-40 to 8559External Memory Controller
MC9S12A128BCPVNo Longer ManufacturedQFP 11212882-40 to 8591External Memory Controller
MC9S12A32CFUERNo Longer ManufacturedAUTO; >=10 YEARS APPLICATION LIFEQFP 803241-40 to 8591
MC9S12A256BCPVENo Longer ManufacturedAUTO; >=10 YEARS APPLICATION LIFE
Package Information
Package DescriptionOutline VersionPackingProduct StatusPart NumberChemical ContentRoHS / Pb FreeChina RoHS LookupMSLPPT (°C)
LQFP 112 20*20*1.4P0.6598ASS23330WMPQ - 500 REELPOQ - 500 BOXActiveMC9S12A512CPVERMC9S12A512CPVER.pdf3260
MPQ - 300 BRICKPOQ - 300 BOXActiveMC9S12A512CPVEMC9S12A512CPVE.pdf3260
MPQ - 300 BRICKPOQ - 600 BOXActiveMC9S12A64CPVEMC9S12A64CPVE.pdf3260
MPQ - 300 BRICKPOQ - 600 BOXActiveMC9S12A128CPVEMC9S12A128CPVE.pdf3260
MPQ - 300 BRICKPOQ - 600 BOXActiveMC9S12A256MPVEMC9S12A256MPVE.pdf3260
MPQ - 60 TRAYPOQ - 300 BOXActiveMC9S12A256VPVEMC9S12A256VPVE.pdf3260
MPQ - 300 BRICKPOQ - 300 BOXActiveMC9S12A256CPVEMC9S12A256CPVE.pdf3260
No Longer ManufacturedMC9S12A128BCPVMC9S12A128BCPV.pdfROHS = No   Pb-free = No
ROHS = No   Pb-free = No
3220
No Longer ManufacturedMC9S12A256BCPVEMC9S12A256BCPVE.pdf3260
QFP 80 14*14*2.2P0.6598ASB42846BMPQ - 420 BRICKPOQ - 420 BRICKActiveMC9S12A32CFUEMC9S12A32CFUE.pdf3260
MPQ - 420 BRICKPOQ - 840 BOXActiveMC9S12A64CFUEMC9S12A64CFUE.pdf3260
MPQ - 420 BRICKPOQ - 840 BOXActiveMC9S12A128CFUEMC9S12A128CFUE.pdf3260
MPQ - 420 BRICKPOQ - 420 BRICKActiveMC9S12A256CFUEMC9S12A256CFUE.pdf3260
No Longer ManufacturedMC9S12A32CFUERMC9S12A32CFUER.pdf3260
No Longer ManufacturedMC9S12A128BCFUMC9S12A128BCFU.pdf3220
No Longer ManufacturedMC9S12A256BCFUEMC9S12A256BCFUE.pdf3260
MC9S12DT256 Data Sheet and Reference Manual, zip format. Covers also the MC9S12A256, MC9S12DJ256, and MC9S12DG256 S12D
MC9S12DT128 Data Sheet and Reference Manual, zipped format. Also covers MC9S12DT128E, MC9S12DG128, MC9S12DG128E,... S12D
MC9S12DJ64 Data Sheet and Reference Manual zip format. Covers also MC9S12D64, MC9S12A64, MC9S12D32, and MC9S12A32 S12D
MC9S12DP256B Data Sheet and Reference Manual, zip format. Also covers MC9S12DT256C, MC9S12DJ256C, MC9S12DG256C,... S12D
MC9S12DP512 Data Sheet and Reference Manual, zip format. Covers also the MC9S12DT512, MC9S12DJ512, and MC9S12A512 S12D
HCS12 Document Methodology - Data Sheet S12E
9S12A256MSE1, MC9S12A256 8-Bit Microcontroller Unit: Mask Set Errata - Errata S12A
MSE9S12DP512_0L00M Mask Set Errata S12D
MSE9S12DP512_1L00M Mask Set Errata S12D
MSE9S12DP512_2L00M Mask Set Errata S12D
MSE9S12DP512_3L00M Mask Set Errata S12D
MSE9S12DP512_4L00M Mask Set Errata S12D
MC9S12A128 8-Bit Microcontroller Unit: Mask Set Errata - Errata S12A
AN4483, Emulated EEPROM Routines for the S12P Family - Application Notes S12XS
A Utility for Programming Single FLASH Array HCS12 MCUs, with Minimum RAM Overhead S12K
AN3391, LFAE Bootloader Example and Interface for use with AN2546 - Application Notes S12K
PWM Generation Using HCS12 Timer Channels S12XD
Examples of HCS12 External Bus Design; A Companion Note to AN2287/D S12K
Using the HCS12 NVM Standard Software Drivers with the Cosmic Compiler S12K
AN2974, Quick Start for Beginners to Drive a Stepper Motor - Application Notes S08D
HCS12 Load RAM and Execute Bootloader User Guide S12K
Designing Hardware for the HCS12 D-Family S12K
HCS12 External Bus Design S12K
A Software Interrupt Priority Scheme for HCS12 Microcontrollers S12K
Using the MC9S12E128 to Implement an IrDA Interface S12K
Serial Monitor Program for HCS12 MCUs S12K
HCS12 Software Stationery S12K
HCS12 NVM Guidelines S12K
An Overview of the HCS12 ATD Module S12K
Interfacing to the HCS12 ATD Module S12K
ADC Definitions and Specifications S08SC4
Low Power Management using HCS12 and SBC devices S12K
Implementation of a UDP/IP Stack on HCS12 Microcontrollers S12K
Opto Isolation Circuits For In Circuit Debugging of 68HC9(S)12 and 68HC908 Microcontrollers S12K
Using the I2C Bus with HCS12 Microcontrollers S12K
Fast NVM Programming for the MC9S12DP256 S12GC
Audio Reproduction on HCS12 Microcontrollers S12K
Using Cosmic Software's M68HC12 Compiler for MC9S12DP256 S12GC
A Serial Bootloader for Reprogramming the MC9S12DP256 FLASH Memory S12GC
Designing for Electromagnetic Compatibility (EMC) with HCMOS Microcontrollers S08SL
Expanding Digital Input with an A/D Converter S12XD
Using the Callable Routines in D-Bug12 S12GC
Using M68HC12 Indexed Indirect Addressing S12GC
Using and Extending D-Bug12 Routines S12GC
Transporting M68HC11 Code to M68HC12 Devices S12GC
System Design and Layout Techniques for Noise Reduction in MCU-Based Systems S08D
Designing for Electromagnetic Compatibility with Single-Chip Microcontrollers S08D
MISRA Compliance in NXP® Automotive C Language Header Files - Engineering Bulletin S12ZVL
Use of OSC2/XTAL as a Clock Output on NXP® Semiconductors Microcontrollers S12XD
MC9S12A64 - Fact Sheet S12A
MC9S12A256 - Fact Sheet S12A
MC9S12A128 - Fact Sheet S12A
MC9S12A256 - Fact sheet S12A
MC9S12A512 Microcontroller S12A
MC9S12A512 16-BIT MICROCONTROLLER S12A
Copper Wire Conversion for Microcontroller and Microprocessor Devices S08SL
TSPG 8/16 BIT TRIO TECH B/I CAPACITY S12D
MC QUAL OF MC9S12DP512 (WHALESHARK) S12D
S9FSD512 WHALESHARK TEST SITE TRANSFER S12D
20X20 LQFP ASSY MOVE FROM SHC TO KLM S12D
S12X Training Fact Sheet S12XS
LFBDMPGMRS12FW s12q
D-Bug12XZ s12zvm
DB12v4FW s12vr
Equate File for MC9S12A128B s12a
[Archive]:Assembly examples from training course s12q
[Archive]:HCS12 PLL Component Calculator Utility s12q
98ASS23330W MCF5223X
MC9S12A512CPVER.pdf s12a
MC9S12A512CPVE.pdf s12a
MC9S12A64CPVE.pdf s12a
MC9S12A128CPVE.pdf s12a
MC9S12A256MPVE.pdf s12a
MC9S12A256VPVE.pdf s12a
MC9S12A256CPVE.pdf s12a
MC9S12A128BCPV.pdf s12a
MC9S12A256BCPVE.pdf s12a
98ASB42846B s12q
MC9S12A32CFUE.pdf s12a
MC9S12A64CFUE.pdf s12a
MC9S12A128CFUE.pdf s12a
MC9S12A256CFUE.pdf s12a
MC9S12A32CFUER.pdf s12a
MC9S12A128BCFU.pdf s12a
MC9S12A256BCFUE.pdf s12a