MC9S12DG128B, MC9S12DJ128B MC9S12DB128B
MC9S12DT128B Device User Guide V01.07 Covers also
Original Release Date 18 June Revised 16 Aug Motorola, Inc
提供单片机解密、IC解密、芯片解密业务 010-62245566
DOCUMENT NUMBER 9S12DT128BDGV1/D
Revision History
Version
Revision
Table of Contents
Section 2 Signal Description
Section 1 Introduction
2.3.21 PH6 / KWH6 - Port H I/O Pin 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 2.3.22 PH5 / KWH5 - Port H I/O Pin 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 2.3.23 PH4 / KWH4 - Port H I/O Pin 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 2.3.24 PH3 / KWH3 / SS1 - Port H I/O Pin 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 2.3.25 PH2 / KWH2 / SCK1 - Port H I/O Pin 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 2.3.26 PH1 / KWH1 / MOSI1 - Port H I/O Pin 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 2.3.27 PH0 / KWH0 / MISO1 - Port H I/O Pin 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 2.3.28 PJ7 / KWJ7 / TXCAN4 / SCL - PORT J I/O Pin 7 . . . . . . . . . . . . . . . . . . . . . . . . . .57 2.3.29 PJ6 / KWJ6 / RXCAN4 / SDA - PORT J I/O Pin 6 . . . . . . . . . . . . . . . . . . . . . . . . . .58 2.3.30 PJ10 / KWJ10 - Port J I/O Pins 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58 2.3.31 PK7 / ECS / ROMCTL - Port K I/O Pin 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58 2.3.32 PK50 / XADDR1914 - Port K I/O Pins 50 . . . . . . . . . . . . . . . . . . . . . . . . . . . .58 2.3.33 PM7 / BFPSLM / TXCAN4 - Port M I/O Pin 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . .58 2.3.34 PM6 / BFPERR / RXCAN4 - Port M I/O Pin 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . .58 2.3.35 PM5 / BFPROK / TXCAN0 / TXCAN4 / SCK0 - Port M I/O Pin 5 . . . . . . . . . . . . .58 2.3.36 PM4 / BFPSYN / RXCAN0 / RXCAN4/ MOSI0 - Port M I/O Pin 4. . . . . . . . . . . . .59 2.3.37 PM3 / TXBF / TXCAN1 / TXCAN0 / SS0 - Port M I/O Pin 3 . . . . . . . . . . . . . . . . .59 2.3.38 PM2 / RXBF / RXCAN1 / RXCAN0 / MISO0 - Port M I/O Pin 2. . . . . . . . . . . . . . .59 2.3.39 PM1 / TXCAN0 / TXB - Port M I/O Pin 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 2.3.40 PM0 / RXCAN0 / RXB - Port M I/O Pin 0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 2.3.41 PP7 / KWP7 / PWM7 - Port P I/O Pin 7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 2.3.42 PP6 / KWP6 / PWM6 - Port P I/O Pin 6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 2.3.43 PP5 / KWP5 / PWM5 - Port P I/O Pin 5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 2.3.44 PP4 / KWP4 / PWM4 - Port P I/O Pin 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 2.3.45 PP3 / KWP3 / PWM3 / SS1 - Port P I/O Pin 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 2.3.46 PP2 / KWP2 / PWM2 / SCK1 - Port P I/O Pin 2 . . . . . . . . . . . . . . . . . . . . . . . . . . .60 2.3.47 PP1 / KWP1 / PWM1 / MOSI1 - Port P I/O Pin 1. . . . . . . . . . . . . . . . . . . . . . . . . . .60 2.3.48 PP0 / KWP0 / PWM0 / MISO1 - Port P I/O Pin 0. . . . . . . . . . . . . . . . . . . . . . . . . . .60 2.3.49 PS7 / SS0 - Port S I/O Pin 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 2.3.50 PS6 / SCK0 - Port S I/O Pin 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 2.3.51 PS5 / MOSI0 - Port S I/O Pin 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 2.3.52 PS4 / MISO0 - Port S I/O Pin 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 2.3.53 PS3 / TXD1 - Port S I/O Pin 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 2.3.54 PS2 / RXD1 - Port S I/O Pin 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 2.3.55 PS1 / TXD0 - Port S I/O Pin 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 2.3.56 PS0 / RXD0 - Port S I/O Pin 0
Section 3 System Clock Description
Section 5 Resets and Interrupts
Section 4 Modes of Operation
Section 6 HCS12 Core Block Description
Section 7 Clock and Reset Generator CRG Block Description
A.1 General A.1.1 Parameter Classification A.1.2 Power Supply
7.1 Device-specific information 7.1.1 XCLKS
Appendix B Package Information
提供单片机解密、IC解密、芯片解密业务 010-62245566
MC9S12DT128B Device User Guide
List of Figures
提供单片机解密、IC解密、芯片解密业务 010-62245566
MC9S12DT128B Device User Guide
List of Tables
$01C0 - $01FF Reserved
Table 0-1 Derivative Differences1
Preface
Temperature Options
Package Option Temperature Option Device Title Controller Family
MC9S12 DJ128B C FU
Package Options FU = 80QFP PV = 112LQFP
1.2 Features
Section 1 Introduction
1.1 Overview
Digital filtering Programmable rising or falling edge trigger Memory
1.3 Modes of Operation
1.4 Block Diagram
Figure 1-1 shows a block diagram of the MC9S12DT128B device
提供单片机解密、IC解密、芯片解密业务 010-62245566
提供单片机解密、IC解密、芯片解密业务 010-62245566
Figure 1-1 MC9S12DT128B Block Diagram
1.5 Device Memory Map
Table 1-1 Device Memory Map
提供单片机解密、IC解密、芯片解密业务 010-62245566
Figure 1-2 MC9S12DT128B Memory Map
Table 1-1 Device Memory Map
提供单片机解密、IC解密、芯片解密业务 010-62245566
$0000
$0000 - $000F
1.5.1 Detailed Register Map
MEBI map 1 of 3 Core User Guide
$0010 - $0014
INT map 1 of 2 Core User Guide
$0015 - $0016
$0017 - $0017
MMC map 2 of 4 Core User Guide
$0028 - $002F
$0020 - $0027Reserved
BKP Core User Guide
$0030 - $0031
ECT Enhanced Capture Timer 16 Bit 8 Channels
CRG Clock and Reset Generator
$0034 - $003F
$0040 - $007F
$0040 - $007F
ECT Enhanced Capture Timer 16 Bit 8 Channels
MC9S12DT128B Device User Guide
提供单片机解密、IC解密、芯片解密业务 010-62245566
$0040 - $007F
ECT Enhanced Capture Timer 16 Bit 8 Channels
MC9S12DT128B Device User Guide
提供单片机解密、IC解密、芯片解密业务 010-62245566
$0040 - $007F
ECT Enhanced Capture Timer 16 Bit 8 Channels
$0080 - $009F
ATD0 Analog to Digital Converter 10 Bit 8 Channel
ATD0 Analog to Digital Converter 10 Bit 8 Channel
$0080 - $009F
$00A0 - $00C7
PWM Pulse Width Modulator 8 Bit 8 Channel
PWM Pulse Width Modulator 8 Bit 8 Channel
$00A0 - $00C7
MC9S12DT128B Device User Guide
提供单片机解密、IC解密、芯片解密业务 010-62245566
PWM Pulse Width Modulator 8 Bit 8 Channel
$00A0 - $00C7
SCI0 Asynchronous Serial Interface
$00D0 - $00D7
SPI0 Serial Peripheral Interface
SCI1 Asynchronous Serial Interface
$00E0 - $00E7
IIC Inter IC Bus
BDLC Byte Level Data Link Controller J1850
$00E8 - $00EF
$00F0 - $00F7
SPI1 Serial Peripheral Interface
Flash Control Register fts128k2
$0100 - $010F
$0110 - $011B
EEPROM Control Register eets2k
EEPROM Control Register eets2k
$0110 - $011B
$011C - $011F
Reserved for RAM Control Register
ATD1 Analog to Digital Converter 10 Bit 8 Channel
$0120 - $013F
$0140 - $017F
CAN0 Motorola Scalable CAN - MSCAN
CAN0 Motorola Scalable CAN - MSCAN
$0140 - $017F
MC9S12DT128B Device User Guide
提供单片机解密、IC解密、芯片解密业务 010-62245566
CAN1 Motorola Scalable CAN - MSCAN
$0180 - $01BF
MC9S12DT128B Device User Guide
提供单片机解密、IC解密、芯片解密业务 010-62245566
CAN1 Motorola Scalable CAN - MSCAN
$0180 - $01BF
$01C0 - $01FFReserved
$0200 - $023FReserved
PIM Port Integration Module
$0240 - $027F
MC9S12DT128B Device User Guide
提供单片机解密、IC解密、芯片解密业务 010-62245566
PIM Port Integration Module
$0240 - $027F
MC9S12DT128B Device User Guide
提供单片机解密、IC解密、芯片解密业务 010-62245566
CAN4 Motorola Scalable CAN - MSCAN
$0280 - $02BF
MC9S12DT128B Device User Guide
提供单片机解密、IC解密、芯片解密业务 010-62245566
$0300 - $035F
$02C0 - $02FFReserved
Byteflight
MC9S12DT128B Device User Guide
Byteflight
$0300 - $035F
MC9S12DT128B Device User Guide
提供单片机解密、IC解密、芯片解密业务 010-62245566
$0360 - $03FFReserved
1.6 Part ID Assignments
Table 1-3 Assigned Part ID Numbers
Table 1-4 Memory size registers
提供单片机解密、IC解密、芯片解密业务 010-62245566
MC9S12DT128B Device User Guide
2.1 Device Pinout
Section 2 Signal Description
MC9S12DJ128B, MC9S12DB128B
Figure 2-1 Pin assignments 112 LQFP for MC9S12DT128B,MC9S12DG128B
提供单片机解密、IC解密、芯片解密业务 010-62245566
PAD14/AN14
提供单片机解密、IC解密、芯片解密业务 010-62245566
MC9S12DT128B Device User Guide
2.2 Signal Properties Summary
Signal Properties
提供单片机解密、IC解密、芯片解密业务 010-62245566
Pin Name
MC9S12DT128B Device User Guide
Description
Function
Description
MC9S12DT128B Device User Guide
Function
Function
2.3.1 EXTAL, XTAL - Oscillator Pins
2.3 Detailed Signal Descriptions
2.3.2 RESET - External Reset Pin
2.3.5 BKGD / TAGHI / MODC - Background Debug, Tag High, and Mode Pin
2.3.9 PAD60 / AN060 - Port AD Input Pins
2.3.7 PAD148 / AN160 - Port AD Input Pins
2.3.10 PA70 / ADDR158 / DATA158 - Port A I/O Pins
2.3.11 PB70 / ADDR70 / DATA70 - Port B I/O Pins
Figure 2-5 Pierce Oscillator Connections PE7=0
Figure 2-4 Colpitts Oscillator Connections PE7=1
Figure 2-6 External Clock Connections PE7=0
提供单片机解密、IC解密、芯片解密业务 010-62245566
2.3.14 PE5 / MODA / IPIPE0 - Port E I/O Pin
2.3.13 PE6 / MODB / IPIPE1 - Port E I/O Pin
2.3.15 PE4 / ECLK - Port E I/O Pin
2.3.16 PE3 / LSTRB / TAGLO - Port E I/O Pin
2.3.22 PH5 / KWH5 - Port H I/O Pin
2.3.21 PH6 / KWH6 - Port H I/O Pin
2.3.23 PH4 / KWH4 - Port H I/O Pin
2.3.24 PH3 / KWH3 / SS1 - Port H I/O Pin
2.3.32 PK50 / XADDR1914 - Port K I/O Pins
2.3.30 PJ10 / KWJ10 - Port J I/O Pins
2.3.29 PJ6 / KWJ6 / RXCAN4 / SDA - PORT J I/O Pin
2.3.31 PK7 / ECS / ROMCTL - Port K I/O Pin
2.3.37 PM3 / TXBF / TXCAN1 / TXCAN0 / SS0 - Port M I/O Pin
2.3.36 PM4 / BFPSYN / RXCAN0 / RXCAN4/ MOSI0 - Port M I/O Pin
2.3.38 PM2 / RXBF / RXCAN1 / RXCAN0 / MISO0 - Port M I/O Pin
2.3.39 PM1 / TXCAN0 / TXB - Port M I/O Pin
2.3.44 PP4 / KWP4 / PWM4 - Port P I/O Pin
2.3.43 PP5 / KWP5 / PWM5 - Port P I/O Pin
2.3.45 PP3 / KWP3 / PWM3 / SS1 - Port P I/O Pin
2.3.46 PP2 / KWP2 / PWM2 / SCK1 - Port P I/O Pin
2.3.57 PT70 / IOC70 - Port T I/O Pins
2.4 Power Supply Pins
2.3.51 PS5 / MOSI0 - Port S I/O Pin
2.3.52 PS4 / MISO0 - Port S I/O Pin
2.4.3 VDD1, VDD2, VSS1, VSS2 - Core Power Pins
2.4.1 VDDX,VSSX - Power & Ground Pins for I/O Drivers
NOTE All VSS pins must be connected together in the application
NOTE No load allowed except for bypass capacitors
2.4.5 VRH, VRL - ATD Reference Voltage Input Pins
2.4.4 VDDA, VSSA - Power Supply Pins for ATD and VREG
2.4.6 VDDPLL, VSSPLL - Power Supply Pins for PLL
2.4.7 VREGEN - On Chip Voltage Regulator Enable
提供单片机解密、IC解密、芯片解密业务 010-62245566
MC9S12DT128B Device User Guide
Section 3 System Clock Description
3.1 Overview
Figure 3-1 Clock Connections
提供单片机解密、IC解密、芯片解密业务 010-62245566
MC9S12DT128B Device User Guide
Section 4 Modes of Operation
4.2 Chip Configuration Summary
4.1 Overview
Table 4-1 Mode Selection
4.3.1 Securing the Microcontroller
4.3 Security
4.3.2 Operation of the Secured Microcontroller
4.3.2.1 Normal Single Chip Mode
4.3.3 Unsecuring the Microcontroller
4.4 Low Power Modes
4.4.1 Stop
4.4.2 Pseudo Stop
提供单片机解密、IC解密、芯片解密业务 010-62245566
MC9S12DT128B Device User Guide
5.1 Overview
Section 5 Resets and Interrupts
5.2 Vectors
5.2.1 Vector Table
5.3.1 I/O pins
5.3 Effects of Reset
The RAM array is not automatically initialized out of reset
5.3.2 Memory
提供单片机解密、IC解密、芯片解密业务 010-62245566
MC9S12DT128B Device User Guide
Section 8 Enhanced Capture Timer ECT Block Description
Section 7 Clock and Reset Generator CRG Block Description
Section 6 HCS12 Core Block Description
Section 9 Analog to Digital Converter ATD Block Description
Section 12 Serial Peripheral Interface SPI Block Description
Description
Section 13 J1850 BDLC Block Description
Section 14 Byteflight BF Block Description
Section 19 MSCAN Block Description
Section 18 RAM Block Description
Section 20 Port Integration Module PIM Block Description
Section 21 Voltage Regulator VREG Block Description
Table 22-1 Suggested External Component Values
Section 22 Printed Circuit Board Layout Proposal
提供单片机解密、IC解密、芯片解密业务 010-62245566
Figure 22-1 Recommended PCB Layout for 112LQFP Colpitts Oscillator
提供单片机解密、IC解密、芯片解密业务 010-62245566
Figure 22-2 Recommended PCB Layout for 80QFP Colpitts Oscillator
Figure 22-3 Recommended PCB Layout for 112LQFP Pierce Oscillator
提供单片机解密、IC解密、芯片解密业务 010-62245566
C1 VSS1
Figure 22-4 Recommended PCB Layout for 80QFP Pierce Oscillator
MC9S12DT128B Device User Guide
提供单片机解密、IC解密、芯片解密业务 010-62245566
A.1.2 Power Supply
Appendix A Electrical Characteristics
A.1 General
A.1.1 Parameter Classification
A.1.4 Current Injection
A.1.3 Pins
A.1.3.1 5V I/O pins
VDD is used for VDD1, VDD2 and VDDPLL, VSS is used for VSS1, VSS2 and
A.1.5 Absolute Maximum Ratings
A.1.6 ESD Protection and Latch-up Immunity
Table A-1 Absolute Maximum Ratings1
A.1.7 Operating Conditions
Table A-3 ESD and Latch-Up Protection Characteristics
Table A-2 ESD and Latch-up Test Conditions
A.1.8 Power Dissipation and Thermal Characteristics
Table A-4 Operating Conditions
提供单片机解密、IC解密、芯片解密业务 010-62245566
The total power dissipation can be calculated from
A.1.9 I/O Characteristics
Table A-5 Thermal Package Characteristics1
提供单片机解密、IC解密、芯片解密业务 010-62245566
Table A-6 5V I/O Characteristics
提供单片机解密、IC解密、芯片解密业务 010-62245566
2. Refer to Section A.1.4 Current Injection, for more details
A.1.10 Supply Currents
A.1.10.1 Measurement Conditions
A.1.10.2 Additional Remarks
提供单片机解密、IC解密、芯片解密业务 010-62245566
Table A-7 Supply Current Characteristics
A.2.1 ATD Operating Characteristics
A.2 ATD Characteristics
A.2.2 Factors influencing accuracy
Table A-8 ATD Operating Characteristics
A.2.2.2 Source capacitance
Table A-9 ATD Electrical Characteristics
A.2.2.3 Current injection
≥ 1024 * C
1LSB
A.2.3 ATD accuracy
INLn = ∑ DNLi = Vn -V0 -n
1LSB
Figure A-1 ATD Accuracy Definitions
Resolution
Vi-1 LSB
Vin mV
A.3.1 NVM timing
A.3 NVM, Flash and EEPROM
A.3.1.1 Single Word Programming
A.3.1.2 Burst Programming
tcheck ≈ location ⋅ tcyc + 10 ⋅ tcyc
t mass ≈
Table A-11 NVM Timing Characteristics
A.3.1.3 Sector Erase
Table A-12 NVM Reliability Characteristics
A.3.2 NVM Reliability
提供单片机解密、IC解密、芯片解密业务 010-62245566
MC9S12DT128B Device User Guide
A.4 Voltage Regulator
Table A-13 Voltage Regulator Recommended Load Capacitances
提供单片机解密、IC解密、芯片解密业务 010-62245566
提供单片机解密、IC解密、芯片解密业务 010-62245566
MC9S12DT128B Device User Guide
A.5.1 Startup
A.5 Reset, Oscillator and PLL
Table A-14 Startup Characteristics
A.5.1.3 External Reset
A.5.2 Oscillator
A.5.1.5 Pseudo Stop and Wait Recovery
Table A-15 Oscillator Characteristics
XFC Pin
A.5.3 Phase Locked Loop
K V = K 1 ⋅ e
KΦ = -ich ⋅ KV
→ f C
2 ⋅ ζ ⋅ f ref
ζ =
ζ +
N ⋅ t nom
J N = max ⎜
JN = j1 + j
N ⋅ t nom
提供单片机解密、IC解密、芯片解密业务 010-62245566
Table A-16 PLL Characteristics
Δtrk
ΔLock
A.6 MSCAN
Table A-17 MSCAN Wake-up Pulse Characteristics
提供单片机解密、IC解密、芯片解密业务 010-62245566
提供单片机解密、IC解密、芯片解密业务 010-62245566
MC9S12DT128B Device User Guide
A.7 SPI
A.7.1 Master Mode
Figure A-5 SPI Master Timing CPHA =
提供单片机解密、IC解密、芯片解密业务 010-62245566
Figure A-6 SPI Master Timing CPHA =1
Table A-18 SPI Master Mode Timing Characteristics1
提供单片机解密、IC解密、芯片解密业务 010-62245566
2. LSBF = 0. For LSBF = 1, bit order is LSB, bit 1, ..., bit 6, MSB
Figure A-7 SPI Slave Timing CPHA =
A.7.2 Slave Mode
Figure A-8 SPI Slave Timing CPHA =1
提供单片机解密、IC解密、芯片解密业务 010-62245566
Symbol
Table A-19 SPI Slave Mode Timing Characteristics
MC9S12DT128B Device User Guide
Rating
A.8.1 General Muxed Bus Timing
A.8 External Bus Timing
Figure A-9 General External Bus Timing
MC9S12DT128B Device User Guide
提供单片机解密、IC解密、芯片解密业务 010-62245566
提供单片机解密、IC解密、芯片解密业务 010-62245566
Table A-20 Expanded Bus Timing Characteristics
Table A-20 Expanded Bus Timing Characteristics
提供单片机解密、IC解密、芯片解密业务 010-62245566
tNOH
Appendix B Package Information
B.1 General
提供单片机解密、IC解密、芯片解密业务 010-62245566
B.2 112-pin LQFP package
Figure 22-5 112-pin LQFP mechanical dimensions case no
提供单片机解密、IC解密、芯片解密业务 010-62245566
B.3 80-pin QFP package
Figure 1 80-pin QFP Mechanical Dimensions case no. 841B
提供单片机解密、IC解密、芯片解密业务 010-62245566
提供单片机解密、IC解密、芯片解密业务 010-62245566
MC9S12DT128B Device User Guide
User Guide End Sheet
MC9S12DT128B Device User Guide
提供单片机解密、IC解密、芯片解密业务 010-62245566
FINAL PAGE OF 124 PAGES
MC9S12DT128B Device User Guide
提供单片机解密、IC解密、芯片解密业务 010-62245566