MC9S12XEP100
Reference Manual
Covers MC9S12XE Family
HCS12X
Microcontrollers
MC9S12XEP100RMV1
Rev. 1.25
02/2013
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:
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
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)
ECT and TIM sections (see ECT, TIM revision history tables)
BDM Alternate clock source defined in device overview
Added S12XEG256 option. Updated MSCAN section
Added bandgap voltage to electricals
Added new maskset and Part ID numbers
Minor updates to MSCAN,SCI and S12XINT sections
Removed BGA disclaimer
Updated MSCAN section
Formatting updates and minor corrections in PWM, CRG, BDM, DBG sections
Updated Ordering Information
Sep, 2008
1.18
Dec, 2008
1.19
Aug, 2009
1.20
Apr, 2010
May, 2010
Sep, 2010
1.21
1.22
1.23
Aug, 2012
1.24
Feb, 2013
1.25
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) . . . . . . . . . . . . . . 279
S12X Debug (S12XDBGV3) Module . . . . . . . . . . . . . . . . . . . . 305
Security (S12XE9SECV2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
XGATE (S12XGATEV3). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
S12XE Clocks and Reset Generator (S12XECRGV1) . . . . . . 469
Pierce Oscillator (S12XOSCLCPV2) . . . . . . . . . . . . . . . . . . . . 499
Analog-to-Digital Converter (ADC12B16CV1) . . . . . . . . . . . . 503
Enhanced Capture Timer (ECT16B8CV3). . . . . . . . . . . . . . . . 527
Inter-Integrated Circuit (IICV3) Block Description. . . . . . . . . 579
Scalable Controller Area Network (S12MSCANV3) . . . . . . . . 605
Periodic Interrupt Timer (S12PIT24B8CV2) . . . . . . . . . . . . . . 659
Periodic Interrupt Timer (S12PIT24B4CV2) . . . . . . . . . . . . . . 677
Pulse-Width Modulator (S12PWM8B8CV1) . . . . . . . . . . . . . . 691
Serial Communication Interface (S12SCIV5) . . . . . . . . . . . . . 723
Serial Peripheral Interface (S12SPIV5) . . . . . . . . . . . . . . . . . . 761
Timer Module (TIM16B8CV2) Block Description . . . . . . . . . . 787
Voltage Regulator (S12VREGL3V3V1) . . . . . . . . . . . . . . . . . . 815
128 KByte Flash Module (S12XFTM128K2V1) . . . . . . . . . . . . 832
256 KByte Flash Module (S12XFTM256K2V1) . . . . . . . . . . . . 891
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor
3
Chapter 26
Chapter 27
Chapter 28
Chapter 29
384 KByte Flash Module (S12XFTM384K2V1) . . . . . . . . . . . . 953
512 KByte Flash Module (S12XFTM512K3V1) . . . . . . . . . . . 1016
768 KByte Flash Module (S12XFTM768K4V2) . . . . . . . . . . . 1077
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
4
Freescale Semiconductor
Blank Page
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor
5