MC9S12DP512CPVE Freescale, MC9S12DP512CPVE Datasheet

no-image

MC9S12DP512CPVE

Manufacturer Part Number
MC9S12DP512CPVE
Description
Manufacturer
Freescale
Datasheet

Specifications of MC9S12DP512CPVE

Cpu Family
HCS12
Device Core Size
16b
Frequency (max)
25MHz
Interface Type
CAN/I2C/SCI/SPI
Total Internal Ram Size
14KB
Number Of Timers - General Purpose
8
Operating Supply Voltage (typ)
2.5/5V
Operating Supply Voltage (max)
2.75/5.25V
Operating Supply Voltage (min)
2.35/4.5V
On-chip Adc
2(8-chx10-bit)
Instruction Set Architecture
CISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
112
Package Type
LQFP
Program Memory Type
Flash
Program Memory Size
512KB
Lead Free Status / RoHS Status
Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC9S12DP512CPVE
Manufacturer:
JAE
Quantity:
1 000
Part Number:
MC9S12DP512CPVE
Manufacturer:
FREESCAL
Quantity:
316
Part Number:
MC9S12DP512CPVE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC9S12DP512CPVE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
MC9S12DP512CPVER
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Freescale Semiconductor
DOCUMENT NUMBER
9S12DP512DGV1/D
MC9S12DP512
Device Guide
V01.25
Covers also
MC9S12DT512, MC9S12DJ512,
MC9S12A512
Original Release Date: 27 Nov 2001
Revised: 05 Jul 2005
Freescale Semiconductor, Inc.
© Freescale Semiconductor, Inc., 2004. All rights reserved.
1

Related parts for MC9S12DP512CPVE

MC9S12DP512CPVE Summary of contents

Page 1

... Freescale Semiconductor MC9S12DT512, MC9S12DJ512, Original Release Date: 27 Nov 2001 © Freescale Semiconductor, Inc., 2004. All rights reserved. MC9S12DP512 Device Guide V01.25 Covers also MC9S12A512 Revised: 05 Jul 2005 Freescale Semiconductor, Inc. DOCUMENT NUMBER 9S12DP512DGV1/D 1 ...

Page 2

... Freescale product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale products for any such unintended or unauthorized ...

Page 3

Version Revision Effective Number Date Date 24 Jul 24 Jul V01.06 2002 2002 29 Jul 05 Aug V01.07 2002 2002 21 Aug 21 Aug V01.08 2002 2002 24 Sep 24 Sep V01.09 2002 2002 18 Oct 18 Oct V01.10 2002 ...

Page 4

MC9S12DP512 Device Guide V01.25 Version Revision Effective Number Date Date 31 Mar 31 Mar V01.16 2003 2003 30 May 30 May V01.17 2003 2003 23 Jul 23 Jul V01.18 2003 2003 24 Jul 24 Jul V01.19 2003 2003 01 Sep ...

Page 5

Table of Contents Section 1 Introduction 1.1 Overview ...

Page 6

MC9S12DP512 Device Guide V01.25 2.3.20 PE0 / XIRQ — Port E Input Pin ...

Page 7

PS1 / TXD0 — Port S I/O Pin ...

Page 8

MC9S12DP512 Device Guide V01.25 6.1 CPU12 Block Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 9

Section 20 Port Integration Module (PIM) Block Description Section 21 Voltage Regulator (VREG) Block Description Section 22 Printed Circuit Board Layout Proposal Appendix A Electrical Characteristics A.1 General ...

Page 10

MC9S12DP512 Device Guide V01.25 Appendix B Package Information B.1 General ...

Page 11

List of Figures Figure 0-1 Order Part Number Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 12

MC9S12DP512 Device Guide V01.25 ...

Page 13

... Reserved for RAM Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 $0120 - $013F ATD1 (Analog to Digital Converter 10 Bit 8 Channel .40 $0140 - $017F CAN0 (Freescale Scalable CAN - FSCAN .41 Table 1-2 Detailed MSCAN Foreground Receive and Transmit Buffer Layout .42 $0180 - $01BF CAN1 (Freescale Scalable CAN - FSCAN .43 MC9S12DP512 Device Guide V01.25 13 ...

Page 14

... CAN2 (Freescale Scalable CAN - FSCAN .44 $0200 - $023F CAN3 (Freescale Scalable CAN - FSCAN .45 $0240 - $027F PIM (Port Integration Module PIM_9DP256 .46 $0280 - $02BF CAN4 (Freescale Scalable CAN - FSCAN .48 $02C0 - $03FF Reserved . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49 Table 1-3 Assigned Part ID Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49 Table 1-4 Memory size registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49 Table 2-1 Signal Properties ...

Page 15

Derivative Differences and Document References Derivative Differences Table 0-1 shows the availability of peripheral modules on the various derivatives. For details about the compatibility within the MC9S12D-Family refer also to engineering bulletin EB386. Modules MC9S12DP512 # of CANs ✓ CAN0 ...

Page 16

MC9S12DP512 Device Guide V01.25 The following items should be considered when using a derivative (Table 0-1): • Registers – Do not write or read CAN0 registers (after reset: address range $0140 - $017F), if using a derivative without CAN0. – ...

Page 17

... Byte Flash (FTS512K4) Block Guide 4K Byte EEPROM (EETS4K) Block Guide Byte Level Data Link Controller -J1850 (BDLC) Block Guide Freescale Scalable CAN (MSCAN) Block Guide Voltage Regulator (VREG) Block Guide Port Integration Module (PIM_9DP256) Block Guide Table 0-2 Document References ...

Page 18

MC9S12DP512 Device Guide V01.25 NOTES: 1. Reused due to functional equivalence. ...

Page 19

Section 1 Introduction 1.1 Overview The MC9S12DP512 microcontroller unit (MCU 16-bit device composed of standard on-chip peripherals including a 16-bit central processing unit (HCS12 CPU), 512K bytes of Flash EEPROM, 14K bytes of RAM, 4K bytes of EEPROM, ...

Page 20

MC9S12DP512 Device Guide V01.25 – Digital filtering – Programmable rising or falling edge trigger • Memory – 512K Flash EEPROM – 4K byte EEPROM – 14K byte RAM • Two 8-channel Analog-to-Digital Converters – 10-bit resolution – External conversion trigger ...

Page 21

... Emulation Expanded Narrow Mode • Special Operating Modes – Special Single-Chip Mode with active Background Debug Mode – Special Test Mode (Freescale use only) – Special Peripheral Mode (Freescale use only) Low power modes • Stop Mode • Pseudo Stop Mode • ...

Page 22

MC9S12DP512 Device Guide V01.25 1.4 Block Diagram Figure 1-1 shows a block diagram of the MC9S12DP512 device. ...

Page 23

Figure 1-1 MC9S12DP512 Block Diagram 512K Byte Flash EEPROM 14K Byte RAM 4K Byte EEPROM VDDR VSSR Voltage Regulator VREGEN VDD1,2 VSS1,2 Single-wire Background BKGD CPU12 Debug Module XFC Clock and VDDPLL Reset PLL Periodic Interrupt VSSPLL Generation COP Watchdog ...

Page 24

... Serial Peripheral Interface (SPI2) $0100- $010F $0110 - $011B $011C - $011F Reserved $0120 - $013F $0140 - $017F $0180 - $01BF Freescale Scalable Ca $01C0 - $01FF Freescale Scalable Can (CAN $0200 - $023F $0240 - $027F $0280 - $02BF $02C0 - $03FF Reserved $0000 - $0FFF EEPROM array $0800 - $3FFF RAM array ...

Page 25

Table 1-1 Device Memory Map Address $8000 - $BFFF Flash EEPROM Page Window Fixed Flash EEPROM array $C000 - $FFFF incl. 2K, 4K 16K Protected Sector at end and 256 bytes of Vector Space at $FF80 - $FFFF ...

Page 26

MC9S12DP512 Device Guide V01.25 Figure 1-2 MC9S12DP512 Memory Map $0000 $0400 $0800 $4000 $8000 EXTERN $C000 $FF00 VECTORS VECTORS $FFFF EXPANDED* NORMAL SINGLE CHIP * Assuming that a ‘0’ was driven onto port K bit 7 during MCU is reset ...

Page 27

Detailed Register Map $0000 - $000F Address Name Read: $0000 PORTA Write: Read: $0001 PORTB Write: Read: $0002 DDRA Write: Read: $0003 DDRB Write: $0004 - Read: Reserved $0007 Write: Read: $0008 PORTE Write: Read: $0009 DDRE Write: Read: ...

Page 28

MC9S12DP512 Device Guide V01.25 $0015 - $0016 Address Name Read: $0015 ITCR Write: Read: $0016 ITEST Write: $0017 - $0019 Address Name Read: $0017- Reserved $0019 Write: $001A - $001B Address Name Read: $001A PARTIDH Write: Read: $001B PARTIDL Write: ...

Page 29

BKP (HCS12 Breakpoint) Address Name Bit 7 Read: $0028 BKPCT0 BKEN Write: Read: $0029 BKPCT1 BK0MBH BK0MBL BK1MBH BK1MBL BK0RWE BK0RW BK1RWE BK1RW Write: Read: $002A BKP0X Write: Read: $002B BKP0H Bit 15 Write: Read: $002C BKP0L ...

Page 30

MC9S12DP512 Device Guide V01.25 $0034 - $003F Address Name Read: $0039 CLKSEL Write: Read: $003A PLLCTL Write: Read: $003B RTICTL Write: Read: $003C COPCTL Write: Read: FORBYP $003D Test Only Write: Read: CTCTL $003E Test Only Write: Read: $003F ARMCOP ...

Page 31

ECT (Enhanced Capture Timer 16 Bit 8 Channels) Address Name Bit 7 Read: $004F TFLG2 TOF Write: Read: $0050 TC0 (hi) Bit 15 Write: Read: $0051 TC0 (lo) Bit 7 Write: Read: $0052 TC1 (hi) Bit 15 ...

Page 32

MC9S12DP512 Device Guide V01.25 $0040 - $007F Address Name Read: $0068 ICPAR Write: Read: $0069 DLYCT Write: Read: $006A ICOVW Write: Read: $006B ICSYS Write: Read: $006C Reserved Write: Read: TIMTST $006D Test Only Write: Read: $006E - Reserved $006F ...

Page 33

ATD0 (Analog to Digital Converter 10 Bit 8 Channel) Address Name Bit 7 Read: $0080 ATD0CTL0 Write: Read: $0081 ATD0CTL1 Write: Read: $0082 ATD0CTL2 ADPU Write: Read: $0083 ATD0CTL3 Write: Read: $0084 ATD0CTL4 SRES8 Write: Read: $0085 ...

Page 34

MC9S12DP512 Device Guide V01.25 $0080 - $009F Address Name Read: $0099 ATD0DR4L Write: Read: $009A ATD0DR5H Write: Read: $009B ATD0DR5L Write: Read: $009C ATD0DR6H Write: Read: $009D ATD0DR6L Write: Read: $009E ATD0DR7H Write: Read: $009F ATD0DR7L Write: $00A0 - $00C7 ...

Page 35

PWM (Pulse Width Modulator 8 Bit 8 Channel) Address Name Bit 7 Read: Bit 7 $00AF PWMCNT3 Write: Read: Bit 7 $00B0 PWMCNT4 Write: Read: Bit 7 $00B1 PWMCNT5 Write: Read: Bit 7 $00B2 PWMCNT6 Write: Read: ...

Page 36

MC9S12DP512 Device Guide V01.25 $00C8 - $00CF Address Name Read: $00C8 SCI0BDH Write: Read: $00C9 SCI0BDL Write: Read: $00CA SC0CR1 Write: Read: $00CB SCI0CR2 Write: Read: $00CC SCI0SR1 Write: Read: $00CD SC0SR2 Write: Read: $00CE SCI0DRH Write: Read: $00CF SCI0DRL ...

Page 37

SPI0 (Serial Peripheral Interface) Address Name Bit 7 Read: $00DC Reserved Write: Read: $00DD SPI0DR Bit 7 Write: Read: $00DE - Reserved $00DF Write: $00E0 - $00E7 IIC (Inter IC Bus) Address Name Bit 7 Read: $00E0 ...

Page 38

MC9S12DP512 Device Guide V01.25 $00F0 - $00F7 Address Name Read: $00F0 SPI1CR1 Write: Read: $00F1 SPI1CR2 Write: Read: $00F2 SPI1BR Write: Read: $00F3 SPI1SR Write: Read: $00F4 Reserved Write: Read: $00F5 SPI1DR Write: Read: $00F6 - Reserved $00F7 Write: $00F8 ...

Page 39

Flash Control Register (fts512k4) Address Name Bit 7 Read: $0106 FCMD Write: Read: $0107 Reserved Write: Read: $0108 FADDRHI Bit 15 Write: Read: $0109 FADDRLO Bit 7 Write: Read: $010A FDATAHI Bit 15 Write: Read: $010B FDATALO ...

Page 40

MC9S12DP512 Device Guide V01.25 $0120 - $013F Address Name Read: $0120 ATD1CTL0 Write: Read: $0121 ATD1CTL1 Write: Read: $0122 ATD1CTL2 Write: Read: $0123 ATD1CTL3 Write: Read: $0124 ATD1CTL4 Write: Read: $0125 ATD1CTL5 Write: Read: $0126 ATD1STAT0 Write: Read: $0127 Reserved ...

Page 41

... ATD1DR6H Write: Read: Bit 7 $013D ATD1DR6L Write: Read: Bit 15 $013E ATD1DR7H Write: Read: Bit 7 $013F ATD1DR7L Write: $0140 - $017F CAN0 (Freescale Scalable CAN - FSCAN) Address Name Bit 7 Read: $0140 CAN0CTL0 RXFRM Write: Read: $0141 CAN0CTL1 CANE Write: Read: $0142 CAN0BTR0 SJW1 ...

Page 42

... Write: Extended ID Read: CANxTIDR1 Write: $xx11 Standard ID Read: Write: Extended ID Read: CANxTIDR2 Write: $xx12 Standard ID Read: Write: CAN0 (Freescale Scalable CAN - MSCAN) Bit 7 Bit 6 Bit 5 Bit 4 AM7 AM6 AM5 AM4 AC7 AC6 AC5 AC4 AM7 AM6 AM5 AM4 FOREGROUND RECEIVE BUFFER see Table 1-2 ...

Page 43

... CANxTDLR Write: Read: $xx1D CANxTTBPR PRIO7 Write: Read: TSR15 $xx1E CANxTTSRH Write: Read: TSR7 $xx1F CANxTTSRL Write: $0180 - $01BF CAN1 (Freescale Scalable CAN - FSCAN) Address Name Bit 7 Read: $0180 CAN1CTL0 RXFRM Write: Read: $0181 CAN1CTL1 CANE Write: Read: $0182 CAN1BTR0 SJW1 ...

Page 44

... AM6 AM5 AM4 AC7 AC6 AC5 AC4 AM7 AM6 AM5 AM4 FOREGROUND RECEIVE BUFFER see Table 1-2 FOREGROUND TRANSMIT BUFFER see Table 1-2 CAN2 (Freescale Scalable CAN - FSCAN) Bit 7 Bit 6 Bit 5 Bit 4 RXACT SYNCH RXFRM CSWAI CANE CLKSRC LOOPB LISTEN SJW1 ...

Page 45

... Read: $01DC - CAN2IDMR4 - AM7 $01DF CAN2IDMR7 Write: Read: $01E0 - CAN2RXFG $01EF Write: Read: $01F0 - CAN2TXFG $01FF Write: $0200 - $023F CAN3 (Freescale Scalable CAN - FSCAN) Address Name Bit 7 Read: $0200 CAN3CTL0 RXFRM Write: Read: $0201 CAN3CTL1 CANE Write: Read: $0202 CAN3BTR0 SJW1 ...

Page 46

... PTIM Write: Read: $0252 DDRM Write: Read: $0253 RDRM Write: CAN3 (Freescale Scalable CAN - FSCAN) Bit 7 Bit 6 Bit 5 Bit 4 AM7 AM6 AM5 AM4 FOREGROUND RECEIVE BUFFER see Table 1-2 FOREGROUND TRANSMIT BUFFER see Table 1-2 PIM (Port Integration Module PIM_9DP256) ...

Page 47

PIM (Port Integration Module PIM_9DP256) Address Name Bit 7 Read: $0254 PERM PERM7 Write: Read: $0255 PPSM PPSM7 Write: Read: $0256 WOMM WOMM7 WOMM6 WOMM5 WOMM4 WOMM3 WOMM2 WOMM1 WOMM0 Write: Read: $0257 MODRR Write: Read: $0258 ...

Page 48

... PIM (Port Integration Module PIM_9DP256) Bit 7 Bit 6 Bit 5 Bit PPSJ7 PPSJ6 0 0 PIEJ7 PIEJ6 0 0 PIFJ7 PIFJ6 CAN4 (Freescale Scalable CAN - FSCAN) Bit 7 Bit 6 Bit 5 Bit 4 RXACT SYNCH RXFRM CSWAI CANE CLKSRC LOOPB LISTEN SJW1 SJW0 BRP5 BRP4 SAMP TSEG22 TSEG21 TSEG20 TSEG13 TSEG12 TSEG11 TSEG10 ...

Page 49

... The device memory sizes are located in two 8-bit registers MEMSIZ0 and MEMSIZ1 (addresses $001C and $001D after reset). Table 1-4 shows the read-only values of these registers. Refer to HCS12 Module Mapping Control (MMC) Block Guide for further details. CAN4 (Freescale Scalable CAN - FSCAN) Bit 7 Bit 6 ...

Page 50

MC9S12DP512 Device Guide V01.25 ...

Page 51

Section 2 Signal Description This section describes signals that connect off-chip. It includes a pinout diagram, a table of signal properties, and detailed discussion of signals built from the signal description sections of the Block Guides of the ...

Page 52

MC9S12DP512 Device Guide V01.25 2.1 Device Pinout The MC9S12DP512 is available in a 112-pin low profile quad flat pack (LQFP). Most pins perform two or more functions, as described in the Signal Descriptions. Figure 2-1 shows the pin assignments. SS1/PWM3/KWP3/PP3 ...

Page 53

Signal Properties Summary Table 2-1 summarizes the pin functionality. Pin Name Pin Name Pin Name Funct. 1 Funct. 2 Funct. 3 EXTAL — — XTAL — — RESET — — TEST — — VREGEN — — XFC — — ...

Page 54

MC9S12DP512 Device Guide V01.25 Pin Name Pin Name Pin Name Funct. 1 Funct. 2 Funct. 3 PH7 KWH7 SS2 PH6 KWH6 SCK2 PH5 KWH5 MOSI2 PH4 KWH4 MISO2 PH3 KWH3 SS1 PH2 KWH2 SCK1 PH1 KWH1 MOSI1 PH0 KWH0 MISO1 ...

Page 55

Pin Name Pin Name Pin Name Funct. 1 Funct. 2 Funct. 3 PS7 SS0 — PS6 SCK0 — PS5 MOSI0 — PS4 MISO0 — PS3 TXD1 — PS2 RXD1 — PS1 TXD0 — PS0 RXD0 — PT[7:0] IOC[7:0] — 2.3 ...

Page 56

... MC9S12DP512 Device Guide V01.25 2.3.5 XFC — PLL Loop Filter Pin PLL loop filter. Please ask your Freescale representative for the interactive application note to compute PLL loop filter elements. Any current leakage on this pin must be avoided. Figure 2-2 PLL Loop Filter Connections 2.3.6 BKGD / TAGHI / MODC — ...

Page 57

PA[7:0] / ADDR[15:8] / DATA[15:8] — Port A I/O Pins PA7-PA0 are general purpose input or output pins. In MCU expanded modes of operation, these pins are used for the multiplexed external address and data bus. 2.3.12 PB[7:0] / ...

Page 58

MC9S12DP512 Device Guide V01.25 MCU * Rs can be zero (shorted) when used with higher frequency crystals. Refer to manufacturer’s data. Figure 2-4 Pierce Oscillator Connections (PE7=0) MCU Figure 2-5 External Clock Connections (PE7=0) 2.3.14 PE6 / MODB / IPIPE1 ...

Page 59

PE3 / LSTRB / TAGLO — Port E I/O Pin 3 PE3 is a general purpose input or output pin. In MCU expanded modes of operation, LSTRB can be used for the low-byte strobe function to indicate the type ...

Page 60

... PJ6 is a general purpose input or output pin. It can be configured to generate an interrupt causing the MCU to exit STOP or WAIT mode. It can be configured as the receive pin RXCAN for the Freescale Scalable Controller Area Network controller (CAN 0 or CAN4) or the serial data pin SDA of the IIC module. ...

Page 61

... PM3 / TXCAN1 / TXCAN0 / SS0 — Port M I/O Pin 3 PM3 is a general purpose input or output pin. It can be configured as the transmit pin TXCAN of the Freescale Scalable Controller Area Network controllers (CAN1 or CAN0). It can be configured as the slave select pin SS of the Serial Peripheral Interface 0 (SPI0). ...

Page 62

... PM0 / RXCAN0 / RXB — Port M I/O Pin 0 PM0 is a general purpose input or output pin. It can be configured as the receive pin RXCAN of the Freescale Scalable Controller Area Network controller 0 (CAN0). It can be configured as the receive pin RXB of the BDLC. 2.3.42 PP7 / KWP7 / PWM7 / SCK2 — Port P I/O Pin 7 PP7 is a general purpose input or output pin ...

Page 63

PP2 / KWP2 / PWM2 / SCK1 — Port P I/O Pin 2 PP2 is a general purpose input or output pin. It can be configured to generate an interrupt causing the MCU to exit STOP or WAIT mode. ...

Page 64

MC9S12DP512 Device Guide V01.25 2.3.55 PS2 / RXD1 — Port S I/O Pin 2 PS2 is a general purpose input or output pin. It can be configured as the receive pin RXD of Serial Communication Interface 1 (SCI1). 2.3.56 PS1 ...

Page 65

NOTE: All VSS pins must be connected together in the application. 2.4.1 VDDX,VSSX — Power & Ground Pins for I/O Drivers External power and ground for I/O drivers. Because fast signal transitions place high, short-duration current demands on the power ...

Page 66

MC9S12DP512 Device Guide V01.25 2.4.7 VREGEN — On Chip Voltage Regulator Enable Enables the internal 5V to 2.5V voltage regulator. If this pin is tied low, VDD1,2 and VDDPLL must be supplied externally. ...

Page 67

Section 3 System Clock Description 3.1 Overview The Clock and Reset Generator provides the internal clock signals for the core and all peripheral modules. Figure 3-1 shows the clock connections from the CRG to all modules. Consult the CRG Block ...

Page 68

MC9S12DP512 Device Guide V01.25 ...

Page 69

Section 4 Modes of Operation 4.1 Overview Eight possible modes determine the operating configuration of the MC9S12DP512. Each mode has an associated default memory map and external bus configuration controlled by a further pin. Three low power modes exist for ...

Page 70

MC9S12DP512 Device Guide V01.25 Table 4-2 Clock Selection Based on PE7 PE7 = XCLKS 1 0 Table 4-3 Voltage Regulator VREGEN VREGEN 1 0 4.3 Security The device will make available a security feature preventing the unauthorized read and write ...

Page 71

Executing from External Memory The user may wish to execute from external space with a secured microcontroller. This is accomplished by resetting directly into expanded mode. The internal FLASH and EEPROM will be disabled. BDM operations will be blocked. ...

Page 72

MC9S12DP512 Device Guide V01.25 4.4.4 Run Although this is not a low power mode, unused peripheral modules should not be enabled in order to save power. ...

Page 73

Section 5 Resets and Interrupts 5.1 Overview Consult the Exception Processing section of the CPU12 Reference Manual for information on resets and interrupts. 5.2 Vectors 5.2.1 Vector Table Table 5-1 lists interrupt sources and vectors in default order of priority. ...

Page 74

MC9S12DP512 Device Guide V01.25 $FFCA, $FFCB Modulus Down Counter underflow $FFC8, $FFC9 Pulse Accumulator B Overflow $FFC6, $FFC7 CRG PLL lock $FFC4, $FFC5 CRG Self Clock Mode $FFC2, $FFC3 $FFC0, $FFC1 $FFBE, $FFBF $FFBC, $FFBD $FFBA, $FFBB $FFB8, $FFB9 $FFB6, ...

Page 75

Memory Refer to Table 1-1 for locations of the memories depending on the operating mode after reset. The RAM array is not automatically initialized out of reset. MC9S12DP512 Device Guide V01.25 75 ...

Page 76

MC9S12DP512 Device Guide V01.25 ...

Page 77

Section 6 HCS12 Core Block Description 6.1 CPU12 Block Description Consult the HCS12 CPU Reference Manual for information on the CPU. 6.1.1 Device-specific information When the HCS12 CPU Reference Manual refers to cycles this is equivalent to Bus Clock periods. ...

Page 78

MC9S12DP512 Device Guide V01.25 6.5 HCS12 Background Debug (BDM) Block Description Consult the BDM Block Guide for information on the HCS12 Background Debug module. 6.5.1 Device-specific information When the BDM Block Guide refers to alternate clock this is equivalent to ...

Page 79

There are two Analog to Digital Converters (ATD1 and ATD0) implemented on the MC9S12DP512. Consult the ATD_10B8C Block Guide for information about each Analog to Digital Converter module. When the ATD_10B8C Block Guide refers to freeze mode this is equivalent ...

Page 80

... There are five MSCAN modules (CAN4, CAN3, CAN2, CAN1 and CAN0) implemented on the MC9S12DP512. Consult the MSCAN Block Guide for information about the Freescale Scalable CAN Module. Section 20 Port Integration Module (PIM) Block Description Consult the functionally equivalent PIM_9DP256 Block Guide for information about the Port Integration Module ...

Page 81

Section 22 Printed Circuit Board Layout Proposal Table 22-1 Suggested External Component Values Component C10 / C P C11 / ...

Page 82

MC9S12DP512 Device Guide V01.25 Figure 22-1 Recommended PCB Layout for 112LQFP Colpitts Oscillator VDD1 C1 VSS1 VSSA VSSX VSSR VDDR Q1 VSSPLL VDDPLL R1 C3 VDDA VSS2 C2 VDD2 ...

Page 83

Figure 22-2 Recommended PCB Layout for 112LQFP Pierce Oscillator VSSX VDD1 C1 VSS1 VSSR VDDR VDDPLL MC9S12DP512 Device Guide V01.25 VSSA C3 VSSPLL VDDA VSS2 C2 VDD2 83 ...

Page 84

MC9S12DP512 Device Guide V01.25 ...

Page 85

... A.1 General NOTE: The electrical characteristics given in this section are preliminary and should be used as a guide only. Values cannot be guaranteed by Freescale and are subject to change without notice. This supplement contains the most accurate electrical information for the MC9S12DP512 microcontroller available at the time of publication. The information should be considered to change ...

Page 86

MC9S12DP512 Device Guide V01.25 The VDDX, VSSX, VDDR and VSSR pairs supply the I/O pins, VDDR supplies also the internal voltage regulator. VDD1, VSS1, VDD2 and VSS2 are the supply pins for the digital logic, VDDPLL, VSSPLL supply the oscillator ...

Page 87

A.1.4 Current Injection Power supply must maintain regulation within operating V operating maximum current conditions. If positive injection current (V injection current may flow out of VDD5 and could result in external power supply going out of regulation. Ensure external ...

Page 88

MC9S12DP512 Device Guide V01.25 2. The device contains an internal voltage regulator to generate the logic and PLL supply out of the I/O supply. The absolute maximum ratings apply when the device is powered from an external source. 3. All ...

Page 89

A.1.7 Operating Conditions This chapter describes the operating conditions of the device. Unless otherwise noted those conditions apply to all the following data. NOTE: Please refer to the temperature rating of the device ( with regards to the ...

Page 90

MC9S12DP512 Device Guide V01. Junction Temperature Ambient Temperature Total Chip Power Dissipation, [W] = Package Thermal Resistance, [ C/W] JA The total power dissipation can be calculated ...

Page 91

Table A-5 Thermal Package Characteristics Num C Rating 1 T Thermal Resistance LQFP112, single sided PCB Thermal Resistance LQFP112, double sided PCB with 2 internal planes NOTES: 1. The values for thermal resistance are achieved by package ...

Page 92

MC9S12DP512 Device Guide V01.25 Conditions are shown in Table A-4 unless otherwise noted Num C Rating 1 P Input High Voltage T Input High Voltage 2 P Input Low Voltage T Input Low Voltage 3 C Input Hysteresis Input Leakage ...

Page 93

A.1.10.1 Measurement Conditions All measurements are without output loads. Unless otherwise noted the currents are measured in single chip mode, internal voltage regulator enabled and at 25MHz bus frequency using a 4MHz oscillator in Colpitts mode. Production testing is performed ...

Page 94

MC9S12DP512 Device Guide V01.25 NOTES: 1. PLL off 2. At those low power dissipation levels can be assumed J A ...

Page 95

A.2 ATD Characteristics This section describes the characteristics of the analog to digital converter. A.2.1 ATD Operating Characteristics The Table A-8 shows conditions under which the ATD operates. The following constraints exist to obtain full-scale, full range results ...

Page 96

MC9S12DP512 Device Guide V01.25 specifies results in an error of less than 1/2 LSB (2.5mV) at the maximum leakage current. If device or operating conditions are less than worst case or leakage-induced error is acceptable, larger values of source resistance ...

Page 97

A.2.3 ATD accuracy Table A-10 specifies the ATD conversion performance excluding any errors due to current injection, input capacitance and source resistance. Table A-10 ATD Conversion Performance Conditions are shown in Table A-4 unless otherwise noted ...

Page 98

MC9S12DP512 Device Guide V01.25 DNL LSB V i-1 $3FF $3FE $3FD $3FC $3FB $3FA $3F9 $3F8 $3F7 $3F6 $3F5 $3F4 $3F3 Figure A-1 ATD ...

Page 99

A.3 NVM, Flash and EEPROM NOTE: Unless otherwise noted the abbreviation NVM (Non Volatile Memory) is used for both Flash and EEPROM. A.3.1 NVM timing The time base for all NVM program or erase operations is derived from the oscillator. ...

Page 100

MC9S12DP512 Device Guide V01.25 The setup time can be ignored for this operation. A.3.1.4 Mass Erase Erasing a NVM block takes: The setup time can be ignored for this operation. A.3.1.5 Blank Check The time it takes to perform a ...

Page 101

... Typical data retention values are based on intrinsic capability of the technology measured at high temperature and de-rated using the Arrhenius equation. For additional information on how Freescale defines Typical Data Retention, please refer to Engineering Bulletin EB618. 3. Spec table quotes typical endurance evaluated for this product family, typical endurance at various temperature can be estimated using the graph below ...

Page 102

MC9S12DP512 Device Guide V01.25 Figure A-2 Typical Endurance vs Temperature 500 450 400 350 300 250 200 150 100 50 0 -40 -20 ------ Flash ------ EEPROM Operating Temperature T J 120 100 140 [ ...

Page 103

A.4 Voltage Regulator The on-chip voltage regulator is intended to supply the internal logic and oscillator circuits. No external DC load is allowed. Table A-13 Voltage Regulator Recommended Load Capacitances Rating Load Capacitance on VDD1, 2 Load Capacitance on VDDPLL ...

Page 104

MC9S12DP512 Device Guide V01.25 ...

Page 105

A.5 Reset, Oscillator and PLL This section summarizes the electrical characteristics of the various startup scenarios for Oscillator and Phase-Locked-Loop (PLL). A.5.1 Startup Table A-14 summarizes several startup characteristics explained in this section. Detailed description of the startup behavior can ...

Page 106

MC9S12DP512 Device Guide V01.25 A.5.1.5 Pseudo Stop and Wait Recovery The recovery from Pseudo STOP and Wait are essentially the same since the oscillator was not stopped in both modes. The controller can be woken up by internal or external ...

Page 107

NOTES: 1. Depending on the crystal a damping series resistor might be necessary 4MHz 22pF. osc 3. Maximum value is for extreme cases using high Q, low frequency crystals 4. Only valid if Pierce oscillator/external ...

Page 108

MC9S12DP512 Device Guide V01.25 The phase detector relationship is given by the current in tracking mode. ch The loop bandwidth f should be chosen to fulfill the Gardner’s stability criteria by at least a factor of 10, ...

Page 109

The relative deviation its maximum for one clock period, and decreases towards zero for larger nom number of clock periods (N). Defining the jitter as For ...

Page 110

MC9S12DP512 Device Guide V01.25 This is very important to notice with respect to timers, serial modules where a pre-scaler will eliminate the effect of the jitter to a large extent. Conditions are shown in Table A-4 unless otherwise noted Num ...

Page 111

A.6 MSCAN Table A-17 MSCAN Wake-up Pulse Characteristics Conditions are shown in Table A-4 unless otherwise noted Num C Rating 1 P MSCAN Wake-up dominant pulse filtered 2 P MSCAN Wake-up dominant pulse pass MC9S12DP512 Device Guide V01.25 Symbol Min ...

Page 112

MC9S12DP512 Device Guide V01.25 ...

Page 113

A.7 SPI This section provides electrical parametrics and ratings for the SPI. In Table A-18 the measurement conditions are listed. Table A-18 Measurement Conditions Description Drive mode Load capacitance C LOAD, on all outputs Thresholds for delay measurement points A.7.1 ...

Page 114

MC9S12DP512 Device Guide V01. (OUTPUT SCK (CPOL 0) (OUTPUT) 4 SCK (CPOL 1) (OUTPUT) 5 MISO MSB IN (INPUT) 9 MOSI PORT DATA MASTER MSB OUT (OUTPUT) 1.If configured as output 2. LSBF = 0. For ...

Page 115

A.7.2 Slave Mode In Figure A-8 the timing diagram for slave mode with transmission format CPHA=0 is depicted. SS (INPUT) SCK (CPOL 0) (INPUT) 2 SCK (CPOL 1) 10 (INPUT) 7 MISO see SLAVE MSB (OUTPUT) note 5 MOSI MSB ...

Page 116

MC9S12DP512 Device Guide V01.25 SS (INPUT SCK (CPOL 0) (INPUT) 4 SCK (CPOL 1) (INPUT) 9 MISO see SLAVE note (OUTPUT MOSI MSB IN (INPUT) NOTE: Not defined! Figure A-9 SPI Slave Timing (CPHA=1) In Table ...

Page 117

A.8 External Bus Timing A timing diagram of the external multiplexed-bus is illustrated in Figure A-10 with the actual timing values shown on table Table A-21. All major bus signals are included in the diagram. While both a data write ...

Page 118

MC9S12DP512 Device Guide V01.25 ECLK PE4 5 9 Addr/Data data (read) PA, PB Addr/Data data (write) PA Non-Multiplexed Addresses PK5:0 ECS PK7 24 R/W PE2 27 LSTRB PE3 30 NOACC PE7 33 IPIPE0 IPIPE1, PE6,5 Figure A-10 General ...

Page 119

Table A-21 Expanded Bus Timing Characteristics Conditions are shown in Table A-4 unless otherwise noted, C Num C Rating 1 P Frequency of operation (E-clock Cycle time 3 D Pulse width, E low Pulse width, ...

Page 120

MC9S12DP512 Device Guide V01.25 Table A-21 Expanded Bus Timing Characteristics Conditions are shown in Table A-4 unless otherwise noted, C Num C Rating 32 D NOACC hold time 33 D IPIPE[1:0] delay time D IPIPE[1:0] valid time to E rise ...

Page 121

Appendix B Package Information B.1 General This section provides the physical dimensions of the MC9S12DP512 packages. MC9S12DP512 Device Guide V01.25 121 ...

Page 122

MC9S12DP512 Device Guide V01.25 B.2 112-pin LQFP package 0. PIN 1 112 IDENT 1 VIEW 0.050 C1 VIEW AB Figure B-1 112-pin LQFP mechanical dimensions (case ...

Page 123

User Guide End Sheet MC9S12DP512 Device Guide V01.25 123 ...

Page 124

... Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer ...

Related keywords