Document Number 9S12C128DGV1/D
Revision History
Device User Guide 9S12C128DGV1/D
Table of Contents
Resets and Interrupts
System Clock Description Modes of Operation
HCS12 Core Block Description
Voltage Regulator Vreg Block Description
Appendix B Electrical Specifications
Appendix C Electrical Specifications
Appendix D Package Information
Appendix E Emulation Information
Device User Guide 9S12C128DGV1/D
List of Figures
Device User Guide 9S12C128DGV1/D
List of Tables
Device User Guide 9S12C128DGV1/D
Device User Guide 9S12C128DGV1/D
Device User Guide 9S12C128DGV1/D
MC9S12C-Family Package Option Summary
Preface
List of MC9S12C and MC9S12GC Family members
Package Device Part Number Mask Temp Flash
Speed Options 25 = 25MHz bus 16 = 16MHz bus
Part Number Mask Temp Package Speed Description Set
TBD 48LQFP
MC9S12C96PCFU16
MC9S12C96PCFA16
MC9S12C96PCPB16
MC9S12C96PVFA16
MC9S12C96PMFU25
MC9S12C96PMFA25
MC9S12C96PMPB25
MC9S12C64PCFA16
MC9S12GC-Family Part Number Coding
MC9S12GC64CFU25 TBD
MC9S12GC64CFA25 TBD
MC9S12GC64CPB25 TBD
MC9S12GC64PVFA25
Terminology
Document References
User Guide Version Document Order Number
Device User Guide 9S12C128DGV1/D
Features
Introduction
Overview
Device User Guide 9S12C128DGV1/D
Modes of Operation
Special Test ModeMotorola use only
Block Diagram
MC9S12C-Family Block Diagram
Device Memory Map
Device Register Map Overview
Address Module Size
MC9S12C128 and MC9S12GC128 User configurable Memory Map
MC9S12C96 User Configurable Memory Map
MC9S12C64 and MC9S12GC64 User Configurable Memory Map
MC9S12C32 and MC9S12GC32 User Configurable Memory Map
MC9S12GC16 User Configurable Memory Map
Detailed Register Map
$0010 $0014 MMC map 1 of 4 HCS12 Module Mapping Control
Ivis
$0018 $0018
$0015 $0016 INT map 1 of 2 HCS12 Interrupt
$0017 $0017 MMC map 2 of 4 HCS12 Module Mapping Control
Miscellaneous Peripherals Device User Guide
$001F $001F INT map 2 of 2 HCS12 Interrupt
$0020 $002F DBG including BKP map 1 of 1 HCS12 Debug
$0034 $003F CRG Clock and Reset Generator
$0030 $0031 MMC map 4 of 4 HCS12 Module Mapping Control
$0040 $006F TIM Timer 16 Bit 8 Channels
$0050
$0070 $007F
$00A0 $00C7
Reserved
Reserved $00D8 $00DF SPI Serial Peripheral Interface
$00C8 $00CF SCI Asynchronous Serial Interface
$00D0 $00D7
TIE
$00E0 $00FF PWM Pulse Width Modulator
$0100 $010F Flash Control Register
$0110 $013F
$0140 $017F Reserved Can Motorola Scalable can MSCAN1
Time
$0140 $017F Can Motorola Scalable can MSCAN1
PRIO7 PRIO6 PRIO5 PRIO4 PRIO3 PRIO2 PRIO1 PRIO0
$0180 $023F
Reserved $0240 $027F PIM Port Interface Module
MODRR4 MODRR3 MODRR2 MODRR1 MODRR0
Ptis
DDRAD7
PTAD7 PTAD6 PTAD5 PTAD4 PTAD3 PTAD2 PTAD1 PTAD0
PTIAD7 PTIAD6 PTIAD5 PTIAD4 PTIAD3 PTIAD2 PTIAD1 PTIJ7
DDRAD2
Assigned Part ID Numbers
Part ID Assignments
$0280 $03FF Reserved space
Memory size registers
MC9S12C32, MC9S12GC32
Signal Description
Device Pinout
PW0/IOC0/PT0 PW1/IOC1/PT1 PW2/IOC2/PT2 PW3/IOC3/PT3
PW4/IOC4/PT4
Pin Assignments in 48 Lqfp for MC9S12C-Family
Internal Pull
Signal Properties Summary
Signal Properties
Resistor Description Function Domain
Pin Initialization for 48 & 52 Pin Lqfp bond-out versions
Device User Guide 9S12C128DGV1/D Internal Pull Pin Name
Reset External Reset Pin
Detailed Signal Descriptions
EXTAL, Xtal Oscillator Pins
Test / VPP Test Pin
7 PB70 / ADDR70 / DATA70 Port B I/O Pins
Bkgd / Taghi / Modc Background Debug, Tag High & Mode Pin
6 PA70 / ADDR158 / DATA158 Port a I/O Pins
8 PE7 / Noacc / Xclks Port E I/O Pin
Colpitts Oscillator Connections PE7=1
Pierce Oscillator Connections PE7=0
11 PE4 / ECLK- Port E I/O Pin 4 / E-Clock Output
9 PE6 / Modb / IPIPE1 Port E I/O Pin
10 PE5 / Moda / IPIPE0 Port E I/O Pin
12 PE3 / Lstrb Port E I/O Pin 3 / Low-Byte Strobe Lstrb
17 PP7 / KWP7 Port P I/O Pin
16 PAD70 / AN70 Port AD I/O Pins
14 PE1 / IRQ Port E input Pin 1 / Maskable Interrupt Pin
18 PP6 / KWP6/ROMCTL Port P I/O Pin
21 PM5 / SCK Port M I/O Pin
19 PP50 / KWP50 / PW50 Port P I/O Pins
20 PJ76 / KWJ76 Port J I/O Pins
22 PM4 / Mosi Port M I/O Pin
Power Supply Pins
VDDPLL, Vsspll Power Supply Pins for PLL
VDDA, Vssa Power Supply Pins for ATD and Vreg
5 VRH, VRL ATD Reference Voltage Input Pins
MC9S12C-Family Power and Ground Connection Summary
Chip Configuration Summary
Modes of Operation
Mode Selection
Security
Clock Selection Based on PE7
Operation of the Secured Microcontroller
Low Power Modes
Securing the Microcontroller
Unsecuring the Microcontroller
Resets and Interrupts
Vectors
Resets
HCS12 Core Block Description
Reset Summary Table
Effects of Reset
Device-specific information
Extended Address Range Emulation Implications
Device Visible with Ppage contents
BDM alternate clock
Device Specific Flash page Mapping
Vregen
Voltage Regulator Vreg Block Description
Recommended Printed Circuit Board Layout
2 VDD1, VDD2, VSS1, VSS2
Recommended External Component Values
Component Purpose Type Value
Recommended PCB Layout 48 Lqfp
Recommended PCB Layout 52 Lqfp
Recommended PCB Layout 80 QFP
VSS2
Recommended PCB Layout for 48 Lqfp Pierce Oscillator
Recommended PCB Layout for 52 Lqfp Pierce Oscillator
Clock Reset Generator CRG Block Description
Recommended PCB Layout for 80QFP Pierce Oscillator
Analog to Digital Converter ATD Block Description
Timer TIM Block Description
Oscillator OSC Block Description
Serial Communications Interface SCI Block Description
Pulse Width Modulator PWM Block Description
Flash Block Description
RAM Block Description
Mscan Block Description
Device User Guide 9S12C128DGV1/D
General
Appendix a Electrical Characteristics
Power Supply
Parameter Classification
Pins
Current Injection
Num Rating Symbol Min Max Unit
Absolute Maximum Ratings
Table A-1 Absolute Maximum Ratings
ESD Protection and Latch-up Immunity
Table A-3 ESD and Latch-Up Protection Characteristics
Model Description Symbol Value Unit
Operating Conditions
Power Dissipation and Thermal Characteristics
Rating Symbol Min Typ Max Unit
Table A-4 Operating Conditions
Pint = IDD ⋅ VDD + Iddpll ⋅ Vddpll + Idda ⋅ Vdda
9 I/O Characteristics
Table A-5 Thermal Package Characteristics1
Num Rating Symbol Min Typ Max Unit
Table A-6 5V I/O Characteristics
Table A-7 3.3V I/O Characteristics
Num Rating Symbol Min Typ
Supply Currents
Measurement Conditions
Additional Remarks
Table A-8 Supply Current Characteristics for MC9S12C32
Stop Current 40 C 27 C
Voltage Regulator Operating Conditions
Appendix B Electrical Specifications
Characteristic Symbol Min Typical Max Unit
Table B-1 Voltage Regulator Electrical Parameters
Resistive Loads
Chip Power-up and LVI/LVR graphical explanation
Output Loads
LVI
Num Characteristic Symbol Min Typical Max Unit
Capacitive Loads
Table B-2 Voltage Regulator Capacitive Loads
Device User Guide 9S12C128DGV1/D
ATD Operating Characteristics In 3.3V Range
ATD Characteristics
ATD Operating Characteristics In 5V Range
Table B-3 ATD Operating Characteristics
Source Resistance
Table B-4 ATD Operating Characteristics
Factors influencing accuracy
Source capacitance
Table B-5 ATD Electrical Characteristics
Current injection
Table B-6 ATD Conversion Performance
ATD accuracy 5V Range
ATD accuracy 3.3V Range
Table B-7 ATD Conversion Performance
1LSB
Figure B-2 ATD Accuracy Definitions
Single Word Programming
NVM, Flash and Eeprom
NVM timing
Row Programming
Table B-8 NVM Timing Characteristics
Sector Erase
Mass Erase
Table B-9 NVM Reliability Characteristics
NVM Reliability
108
Reset, Oscillator and PLL
Startup
Pseudo Stop and Wait Recovery
External Reset
Stop Recovery
Oscillator
Phase Locked Loop
Table B-11 Oscillator Characteristics
XFC Component Selection
Figure B-3 Basic PLL functional diagram
XFC Pin
⋅ synr +
Jitter Information
= max ⎜ ⋅ t nom
Table B-12 PLL Characteristics
116
Table B-13 Mscan Wake-up Pulse Characteristics
Num Rating Symbol Min Typ Max
118
Table C-1 Measurement Conditions
Appendix C Electrical Specifications
Master Mode
Description Value Unit
Mosi Port Data
Table C-2 SPI Master Mode Timing Characteristics
Num Characteristic Symbol Unit Min Typ Max
LSB Master LSB OUT
Input Miso
Slave Mode
Input SCK
Slave MSB
Mosi Input Slave MSB OUT
Table C-3 SPI Slave Mode Timing Characteristics
Num Characteristic Symbol Unit Min Typ
Slave LSB OUT
Eclk PE4
External Bus Timing
General Muxed Bus Timing
PE2 Lstrb PE3 Noacc PE7 PIPO0 PIPO1, PE6,5
Table C-4 Expanded Bus Timing Characteristics 5V Range
Pweh
Table C-5 Expanded Bus Timing Characteristics 3.3V Range
126
Appendix D Package Information
Figure D-1 80-pin QFP Mechanical Dimensions case no B
80-pin QFP package
Figure D-2 52-pin Lqfp Mechanical Dimensions case no D-03
52-pin Lqfp package
48-pin Lqfp package
Section AE-AE Detail AD
Appendix E Emulation Information
1 PK20 / XADDR1614
112-pin Lqfp package
134
Device User Guide End Sheet
136