HCS12X
Microcontrollers
freescale.com
MC9S12XEP100
Reference Manual
Covers MC9S12XE Family
MC9S12XEP100RMV1
Rev. 1.19
12/2008
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 verify you have the latest information available, refer
to: http://freescale.com/
This document contains information for the complete S12XE-Family and thus includes a set of separate
flash (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
Revision
Level
Description
Oct, 2007 1.12
Added alternative 80QFP S12XEA256 option
Enhanced Termperature Sensor configuration description
Nov, 2007 1.13 XEG128 derivative changed from one 128K array to two 64K arrays
Dec, 2007 1.14
Updated XEG128 D-Flash size.
Clarified unimplemented ranges
Added STOP/WAIT functionality to Vector Tables
Added further 384K derivative
Updated DBG section
Jan,2008 1.15
Added further s12XES384 derivative
Updated FTM, DBG, SCI sections
May,2008 1.16
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
Jul, 2008 1.17
Added Module Run Idd Values
Added 3.3V expansion bus timing
Corrected NVM timing parameters
Changed IIC SCL Divider note
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
MC9S12XE-Family Reference Manual , Rev. 1.19
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) . . . . . . . . . . . . . .277
Chapter 8 S12X Debug (S12XDBGV3) Module . . . . . . . . . . . . . . . . . . . .303
Chapter 9 Security (S12XE9SECV2). . . . . . . . . . . . . . . . . . . . . . . . . . . . .345
Chapter 10 XGATE (S12XGATEV3). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .351
Chapter 11 S12XE Clocks and Reset Generator (S12XECRGV1) . . . . . .467
Chapter 12 Pierce Oscillator (S12XOSCLCPV2) . . . . . . . . . . . . . . . . . . . .497
Chapter 13 Analog-to-Digital Converter (ADC12B16CV1) . . . . . . . . . . . .501
Chapter 14 Enhanced Capture Timer (ECT16B8CV3). . . . . . . . . . . . . . . .525
Chapter 15 Inter-Integrated Circuit (IICV3) . . . . . . . . . . . . . . . . . . . . . . . .577
Chapter 16 Scalable Controller Area Network (S12MSCANV3) . . . . . . . .603
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) . . . . . . . . . . . . . . . . . . . . . . . . .787
Chapter 23 Voltage Regulator (S12VREGL3V3V1) . . . . . . . . . . . . . . . . . .815
Chapter 24 128 KByte Flash Module (S12XFTM128K2V1) . . . . . . . . . . . .831
Chapter 25 256 KByte Flash Module (S12XFTM256K2V1) . . . . . . . . . . . .891
MC9S12XE-Family Reference Manual , Rev. 1.19
4 Freescale Semiconductor
Chapter 26 384 KByte Flash Module (S12XFTM384K2V1) . . . . . . . . . . . .953
Chapter 27 512 KByte Flash Module (S12XFTM512K3V1) . . . . . . . . . . .1015
Chapter 28 768 KByte Flash Module (S12XFTM768K4V2) . . . . . . . . . . .1077
Chapter 29 1024 KByte Flash Module (S12XFTM1024K5V2) . . . . . . . . .1139
Appendix A Electrical Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . .1201
Appendix B Package Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1257
Appendix C PCB Layout Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1262
Appendix D Derivative Differences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1267
Appendix E Detailed Register Address Map. . . . . . . . . . . . . . . . . . . . . . .1270
Appendix F Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1321
MC9S12XE-Family Reference Manual Rev. 1.19
Freescale Semiconductor 5
BLANK PAGE