MC9S12XEP100
Reference Manual
Covers MC9S12XE Family
HCS12X
Microcontrollers
Because of an order from the United States International Trade Commission, BGA-packaged product lines and partnumbers
indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010
MC9S12XEP100RMV1
1Rev. 1.21
04/2010
freescale.com
To provide the most up-to-date information, the document revision on the World Wide Web is the most
current. A printed copy may be an earlier revision. To verif, refer to: http://freescale.com/
This document contains information for the complete S12XE-Family and thus includes a set of separate
FTM module sections to cover the whole family. A full list of family members and options is included in
the appendices.
This document contains information for all constituent modules, with the exception of the S12X CPU. For
S12X CPU information please refer to CPU12XV2 in the CPU12/CPU12X Reference Manual.
Revision History
Date
Jan,2008
Revision
1.15
Description
Added further s12XES384 derivative
Updated FTM, DBG, SCI sections
Figure B-3
Θ1
value corrected.
Added LVR minimum assert level
Enhanced RESET pin description.
IIC register name corrected
Corrected D-Flash size reference for XEG128
Changed module revision history tables to a unified format
Corrected corrupted formats
Added Module Run Idd Values
Added 3.3V expansion bus timing
Corrected NVM timing parameters
Changed IIC SCL Divider note
Updated NVM timing parameter section for brownout case
Specified time delay from RESET to start of CPU code execution
Added NVM patch Part IDs
Enhanced ECT GPIO / timer function transitioning description
Updated 208MAPBGA thermal parameters
Revised TIM flag clearing procedure
Corrected CRG register address
Added maskset identifier suffix for ATMC fab
Fixed typos
Added 208MAPBGA disclaimer
Added VREAPI to PT5. Added LVR Note to electricals.
Updates to TIM/ECT/XGATE/SCI/MSCAN (see embedded rev. history)
FTM section (see FTM revision history)
PIM section (see PIM revision history)
May,2008
1.16
Jul, 2008
1.17
Sep, 2008
1.18
Dec, 2008
1.19
Aug, 2009
1.20
Apr,2010
1.21
Because of an order from the United States International Trade Commission, BGA-packaged product lines and partnumbers
indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Chapter 14
Chapter 15
Chapter 16
Chapter 17
Chapter 18
Chapter 19
Chapter 20
Chapter 21
Chapter 22
Chapter 23
Chapter 24
Chapter 25
Device Overview MC9S12XE-Family. . . . . . . . . . . . . . . . . . . . . 27
Port Integration Module (S12XEP100PIMV1) . . . . . . . . . . . . . . 89
Memory Mapping Control (S12XMMCV4) . . . . . . . . . . . . . . . . 187
Memory Protection Unit (S12XMPUV1) . . . . . . . . . . . . . . . . . 227
External Bus Interface (S12XEBIV4) . . . . . . . . . . . . . . . . . . . . 241
Interrupt (S12XINTV2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Background Debug Module (S12XBDMV2) . . . . . . . . . . . . . . 277
S12X Debug (S12XDBGV3) Module . . . . . . . . . . . . . . . . . . . . 303
Security (S12XE9SECV2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
XGATE (S12XGATEV3). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
S12XE Clocks and Reset Generator (S12XECRGV1) . . . . . . 467
Pierce Oscillator (S12XOSCLCPV2) . . . . . . . . . . . . . . . . . . . . 497
Analog-to-Digital Converter (ADC12B16CV1) . . . . . . . . . . . . 501
Enhanced Capture Timer (ECT16B8CV3). . . . . . . . . . . . . . . . 525
Inter-Integrated Circuit (IICV3) Block Description. . . . . . . . . 577
Scalable Controller Area Network (S12MSCANV3) . . . . . . . . 603
Periodic Interrupt Timer (S12PIT24B8CV2) . . . . . . . . . . . . . . 657
Periodic Interrupt Timer (S12PIT24B4CV2) . . . . . . . . . . . . . . 675
Pulse-Width Modulator (S12PWM8B8CV1) . . . . . . . . . . . . . . 689
Serial Communication Interface (S12SCIV5) . . . . . . . . . . . . . 721
Serial Peripheral Interface (S12SPIV5) . . . . . . . . . . . . . . . . . . 759
Timer Module (TIM16B8CV2) Block Description . . . . . . . . . . 785
Voltage Regulator (S12VREGL3V3V1) . . . . . . . . . . . . . . . . . . 813
128 KByte Flash Module (S12XFTM128K2V1) . . . . . . . . . . . . 829
256 KByte Flash Module (S12XFTM256K2V1) . . . . . . . . . . . . 889
MC9S12XE-Family Reference Manual , Rev. 1.21
Freescale Semiconductor
3
Because of an order from the United States International Trade Commission, BGA-packaged product lines and partnumbers
indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010
Chapter 26
Chapter 27
Chapter 28
Chapter 29
384 KByte Flash Module (S12XFTM384K2V1) . . . . . . . . . . . . 951
512 KByte Flash Module (S12XFTM512K3V1) . . . . . . . . . . . 1013
768 KByte Flash Module (S12XFTM768K4V2) . . . . . . . . . . . 1075
1024 KByte Flash Module (S12XFTM1024K5V2) . . . . . . . . . 1137
Appendix A Electrical Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1199
Appendix B Package Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1255
Appendix C PCB Layout Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1260
Appendix D Derivative Differences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1265
Appendix E Detailed Register Address Map. . . . . . . . . . . . . . . . . . . . . . . 1268
Appendix F Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1319
MC9S12XE-Family Reference Manual , Rev. 1.21
4
Freescale Semiconductor
Because of an order from the United States International Trade Commission, BGA-packaged product lines and partnumbers
indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010
Blank Page
MC9S12XE-Family Reference Manual Rev. 1.21
Freescale Semiconductor
5
Because of an order from the United States International Trade Commission, BGA-packaged product lines and partnumbers
indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010