Summary of the content on the page No. 1
DOCUMENT NUMBER
9S12C128DGV1/D
MC9S12C Family
Device User Guide
V01.05
Covers also
MC9S12GC Family
Original Release Date: 25 JAN 2003
Revised: 11 FEBRUARY 2004
Motorola, Inc.
Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability of its
products for any particular purpose, nor does Motorola assume any liability arising out of the application or use of any product or circuit, and
Summary of the content on the page No. 2
Device User Guide — 9S12C128DGV1/D V01.05 Revision History Version Revision Effective Author Description of Changes Number Date Date 00.01 25.JAN.03 25.JAN.03 Original Version. Based on C32 user guide version 01.12 Enhanced PortK description 00.02 07.FEB.03 07.FEB.03 Part number table revision in preface QFP112 Emulation pinout correction 00.03 25.FEB.03 25.FEB.03 Enhanced part number explanation in preface Reduced pseudo STOP current spec. for C64,C96,C128 Enhanced PortAD signal description 00.
Summary of the content on the page No. 3
Device User Guide — 9S12C128DGV1/D V01.05 Table of Contents Section 1 Introduction 1.1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 1.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 1.3 Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 1.4 Block Diagram . . . . . .
Summary of the content on the page No. 4
Device User Guide — 9S12C128DGV1/D V01.05 2.3.20 PJ[7:6] / KWJ[7:6] — Port J I/O Pins [7:6] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 2.3.21 PM5 / SCK — Port M I/O Pin 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 2.3.22 PM4 / MOSI — Port M I/O Pin 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 2.3.23 PM3 / SS — Port M I/O Pin 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Summary of the content on the page No. 5
Device User Guide — 9S12C128DGV1/D V01.05 5.1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 5.2 Vectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 5.2.1 Vector Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 5.3 Resets . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Summary of the content on the page No. 6
Device User Guide — 9S12C128DGV1/D V01.05 Section 16 RAM Block Description Section 17 Pulse Width Modulator (PWM) Block Description Section 18 MSCAN Block Description Section 19 Port Integration Module (PIM) Block Description Appendix A Electrical Characteristics A.1 General. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 A.1.1 Parameter Classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Summary of the content on the page No. 7
Device User Guide — 9S12C128DGV1/D V01.05 B.6 Reset, Oscillator and PLL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 B.6.1 Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 B.6.2 Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 B.6.3 Phase Locked Loop . . . . . . . . . . . . . . . . . . . . . . . . . . .
Summary of the content on the page No. 8
Device User Guide — 9S12C128DGV1/D V01.05 8
Summary of the content on the page No. 9
Device User Guide — 9S12C128DGV1/D V01.05 List of Figures Figure 0-1 Order Part number Coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Figure 1-1 MC9S12C-Family Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Figure 1-2 MC9S12C128 and MC9S12GC128 User configurable Memory Map . . . . . . 29 Figure 1-3 MC9S12C96 User Configurable Memory Map . . . . . . . . . . . . . . . . . . . . . . . 30 Figure 1-4 MC9S12C64 and MC9S12GC64 U
Summary of the content on the page No. 10
Device User Guide — 9S12C128DGV1/D V01.05 Figure D-3 48-pin LQFP Mechanical Dimensions (case no.932-03 ISSUE F) . . . . . . 130 Figure 19-1 Pin Assignments in 112-pin LQFP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Figure 19-2 112-pin LQFP mechanical dimensions (case no. 987)80-pin QFP Mechanical Di- mensions (case no. 841B)133 10
Summary of the content on the page No. 11
Device User Guide — 9S12C128DGV1/D V01.05 List of Tables Table 0-2 MC9S12C-Family Package Option Summary . . . . . . . . . . . . . . . . . . . . . . . . . 15 Table 0-1 List of MC9S12C and MC9S12GC Family members. . . . . . . . . . . . . . . . . . . . 15 Table 0-3 MC9S12C-Family Part Number Coding. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Table 0-4 MC9S12GC-Family Part Number Coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Table 0-5 Document References . . .
Summary of the content on the page No. 12
Device User Guide — 9S12C128DGV1/D V01.05 $0180 - $023F Reserved 47 $0240 - $027F PIM (Port Interface Module) 47 $0280 - $03FF Reserved space 50 Table 1-3 Assigned Part ID Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Table 1-4 Memory size registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Table 2-1 Signal Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Summary of the content on the page No. 13
Device User Guide — 9S12C128DGV1/D V01.05 Table C-2 SPI Master Mode Timing Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 Table C-3 SPI Slave Mode Timing Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 Table C-4 Expanded Bus Timing Characteristics (5V Range). . . . . . . . . . . . . . . . . . . . 124 Table C-5 Expanded Bus Timing Characteristics (3.3V Range) . . . . . . . . . . . . . . . . . . 125 13
Summary of the content on the page No. 14
Device User Guide — 9S12C128DGV1/D V01.05 14
Summary of the content on the page No. 15
Device User Guide — 9S12C128DGV1/D V01.05 Preface The Device User Guide provides information about the MC9S12C-Family as well the MC9S12GC-Family devices made up of standard HCS12 blocks and the HCS12 processor core. This document is part of the customer documentation. A complete set of device manuals also includes the HCS12 Core User Guide and all the individual Block User Guides of the implemented modules. In an effort to reduce redundancy all module specific information is located only in the
Summary of the content on the page No. 16
Device User Guide — 9S12C128DGV1/D V01.05 1 2 Mask Temp. 3 4 Package Device Part Number Flash RAM I/O , set Options 48LQFP MC9S12C64 MC9S12C64 TBD M, V, C 31 52LQFP MC9S12C64 MC9S12C64 TBD M, V, C 64K 4K 35 80QFP MC9S12C64 MC9S12C64 TBD M, V, C 60 48LQFP MC9S12C32 MC9S12C32 1L45J M, V, C 31 52LQFP MC9S12C32 MC9S12C32 1L45J M, V, C 32K 2K 35 80QFP MC9S12C32 MC9S12C32 1L45J M, V, C 60 48LQFP MC9S12GC128 MC9S12GC128 0L09S M, V, C 31 52LQFP MC9S12GC128 MC9S12GC128 0L09S M, V, C 128K 4K 35 80QFP MC9S
Summary of the content on the page No. 17
Device User Guide — 9S12C128DGV1/D V01.05 Mask Part Number Temp. Package Speed Description set MC9S12C128CPB16 TBD -40˚C, 85˚C 52LQFP 16MHz C128 die MC9S12C128CFU16 TBD -40˚C, 85˚C 80QFP 16MHz C128 die MC9S12C128VFA16 TBD -40˚C,105˚C 48LQFP 16MHz C128 die MC9S12C128VPB16 TBD -40˚C,105˚C 52LQFP 16MHz C128 die MC9S12C128VFU16 TBD -40˚C, 105˚C 80QFP 16MHz C128 die MC9S12C128MFA16 TBD -40˚C,125˚C 48LQFP 16MHz C128 die MC9S12C128MPB16 TBD -40˚C,125˚C 52LQFP 16MHz C128 die MC9S12C128MFU16 TBD -40˚C, 1
Summary of the content on the page No. 18
Device User Guide — 9S12C128DGV1/D V01.05 Mask Part Number Temp. Package Speed Description set MC9S12C96VFA25 TBD -40˚C,105˚C 48LQFP 25MHz Final C96 using C96 die MC9S12C96VPB25 TBD -40˚C,105˚C 52LQFP 25MHz Final C96 using C96 die MC9S12C96VFU25 TBD -40˚C, 105˚C 80QFP 25MHz Final C96 using C96 die MC9S12C96PMFA25 0L09S -40˚C, 125˚C 48LQFP 25MHz Preliminary C96 using C128 die MC9S12C96PMPB25 0L09S -40˚C, 125˚C 52LQFP 25MHz Preliminary C96 using C128 die MC9S12C96PMFU25 0L09S -40˚C, 125˚C 80QFP 25
Summary of the content on the page No. 19
Device User Guide — 9S12C128DGV1/D V01.05 Mask Part Number Temp. Package Speed Description set MC9S12C64MFU25 TBD -40˚C, 125˚C 80QFP 25MHz Final C64 using C64 die MC9S12C32CFA16 1L45J -40˚C, 85˚C 48LQFP 16MHz C32 die MC9S12C32CPB16 1L45J -40˚C, 85˚C 52LQFP 16MHz C32 die MC9S12C32CFU16 1L45J -40˚C, 85˚C 80QFP 16MHz C32 die MC9S12C32VFA16 1L45J -40˚C,105˚C 48LQFP 16MHz C32 die MC9S12C32VPB16 1L45J -40˚C,105˚C 52LQFP 16MHz C32 die MC9S12C32VFU16 1L45J -40˚C, 105˚C 80QFP 16MHz C32 die MC9S12C32MFA16
Summary of the content on the page No. 20
Device User Guide — 9S12C128DGV1/D V01.05 Mask Part Number Temp. Package Speed Description set MC9S12GC64CFA25 TBD -40˚C, 85˚C 48LQFP 25MHz Final GC64 using GC64 die MC9S12GC64CPB25 TBD -40˚C, 85˚C 52LQFP 25MHz Final GC64 using GC64 die MC9S12GC64CFU25 TBD -40˚C, 85˚C 80QFP 25MHz Final GC64 using GC64 die MC9S12GC64PVFA25 0L09S -40˚C, 105˚C 48LQFP 25MHz Preliminary GC64 using C128 die MC9S12GC64PVPB25 0L09S -40˚C, 105˚C 52LQFP 25MHz Preliminary GC64 using C128 die MC9S12GC64PVFU25 0L09S -40˚C, 1