HCS12X
Microcontrollers
freescale.com
MC9S12XEP100
Reference Manual
Covers MC9S12XE Family
MC9S12XEP100RMV1
Rev. 1.25
02/2013
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:
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. Refer to module section revision history tables for more information.
Date Revision Description
Sep, 2008 1.18
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
Dec, 2008 1.19
Updated 208MAPBGA thermal parameters
Revised TIM flag clearing procedure
Corrected CRG register address
Added maskset identifier suffix for ATMC fab
Fixed typos
Aug, 2009 1.20
Added 208MAPBGA disclaimer
Added VREAPI to PT5. Added LVR Note to electricals.
Updates to TIM/ECT/XGATE/SCI/MSCAN (see embedded rev. history)
Apr, 2010 1.21
FTM section (see FTM revision history)
PIM section (see PIM revision history)
May, 2010 1.22
ECT and TIM sections (see ECT, TIM revision history tables)
BDM Alternate clock source defined in device overview
Sep, 2010 1.23 Added S12XEG256 option. Updated MSCAN section
Aug, 2012 1.24
Added bandgap voltage to electricals
Added new maskset and Part ID numbers
Minor updates to MSCAN,SCI and S12XINT sections
Removed BGA disclaimer
Feb, 2013 1.25
Updated MSCAN section
Formatting updates and minor corrections in PWM, CRG, BDM, DBG sections
Updated Ordering Information
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor 3
Chapter 1 Device Overview MC9S12XE-Family. . . . . . . . . . . . . . . . . . . . .27
Chapter 2 Port Integration Module (S12XEP100PIMV1) . . . . . . . . . . . . . .89
Chapter 3 Memory Mapping Control (S12XMMCV4). . . . . . . . . . . . . . . .187
Chapter 4 Memory Protection Unit (S12XMPUV1) . . . . . . . . . . . . . . . . .227
Chapter 5 External Bus Interface (S12XEBIV4). . . . . . . . . . . . . . . . . . . .241
Chapter 6 Interrupt (S12XINTV2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .261
Chapter 7 Background Debug Module (S12XBDMV2) . . . . . . . . . . . . . .279
Chapter 8 S12X Debug (S12XDBGV3) Module . . . . . . . . . . . . . . . . . . . .305
Chapter 9 Security (S12XE9SECV2). . . . . . . . . . . . . . . . . . . . . . . . . . . . .347
Chapter 10 XGATE (S12XGATEV3). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .353
Chapter 11 S12XE Clocks and Reset Generator (S12XECRGV1) . . . . . .469
Chapter 12 Pierce Oscillator (S12XOSCLCPV2) . . . . . . . . . . . . . . . . . . . .499
Chapter 13 Analog-to-Digital Converter (ADC12B16CV1) . . . . . . . . . . . .503
Chapter 14 Enhanced Capture Timer (ECT16B8CV3). . . . . . . . . . . . . . . .527
Chapter 15 Inter-Integrated Circuit (IICV3) Block Description. . . . . . . . .579
Chapter 16 Scalable Controller Area Network (S12MSCANV3) . . . . . . . .605
Chapter 17 Periodic Interrupt Timer (S12PIT24B8CV2) . . . . . . . . . . . . . .659
Chapter 18 Periodic Interrupt Timer (S12PIT24B4CV2) . . . . . . . . . . . . . .677
Chapter 19 Pulse-Width Modulator (S12PWM8B8CV1) . . . . . . . . . . . . . .691
Chapter 20 Serial Communication Interface (S12SCIV5) . . . . . . . . . . . . .723
Chapter 21 Serial Peripheral Interface (S12SPIV5) . . . . . . . . . . . . . . . . . .761
Chapter 22 Timer Module (TIM16B8CV2) Block Description . . . . . . . . . .787
Chapter 23 Voltage Regulator (S12VREGL3V3V1) . . . . . . . . . . . . . . . . . .815
Chapter 24 128 KByte Flash Module (S12XFTM128K2V1) . . . . . . . . . . . .832
Chapter 25 256 KByte Flash Module (S12XFTM256K2V1) . . . . . . . . . . . .891
MC9S12XE-Family Reference Manual Rev. 1.25
4 Freescale Semiconductor
Chapter 26 384 KByte Flash Module (S12XFTM384K2V1) . . . . . . . . . . . .953
Chapter 27 512 KByte Flash Module (S12XFTM512K3V1) . . . . . . . . . . .1016
Chapter 28 768 KByte Flash Module (S12XFTM768K4V2) . . . . . . . . . . .1077
Chapter 29 1024 KByte Flash Module (S12XFTM1024K5V2) . . . . . . . . .1140
Appendix A Electrical Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . .1201
Appendix B Package Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1258
Appendix C PCB Layout Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1260
Appendix D Derivative Differences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1268
Appendix E Detailed Register Address Map. . . . . . . . . . . . . . . . . . . . . . .1271
Appendix F Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1322
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor 5
Blank Page