MC9S12DG256BVPV Freescale Semiconductor, MC9S12DG256BVPV Datasheet

no-image

MC9S12DG256BVPV

Manufacturer Part Number
MC9S12DG256BVPV
Description
IC MCU 256K FLASH 25MHZ 112-LQFP
Manufacturer
Freescale Semiconductor
Series
HCS12r
Datasheet

Specifications of MC9S12DG256BVPV

Core Processor
HCS12
Core Size
16-Bit
Speed
25MHz
Connectivity
CAN, I²C, SCI, SPI
Peripherals
PWM, WDT
Number Of I /o
91
Program Memory Size
256KB (256K x 8)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
12K x 8
Voltage - Supply (vcc/vdd)
2.35 V ~ 5.25 V
Data Converters
A/D 16x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
112-LQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC9S12DG256BVPV
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC9S12DG256BVPV
Manufacturer:
FREESCALE
Quantity:
20 000
Freescale Semiconductor, Inc.
DOCUMENT NUMBER
9S12DP256BDGV2/D
MC9S12DP256B
Device User Guide
V02.14
Covers also
MC9S12DT256C, MC9S12DJ256C,
MC9S12DG256C, MC9S12DT256B,
MC9S12DJ256B, MC9S12DG256B
MC9S12A256B
Original Release Date: 29 Mar 2001
Revised: Mar 5, 2003
Motorola, Inc
Motorola reserves the right to make changes without further notice to any products herein to improve reliability, function or
design. Motorola does not assume any liability arising out of the application or use of any product or circuit described herein;
neither does it convey any license under its patent rights nor the rights of others. Motorola products are not designed, intended,
or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to
support or sustain life, or for any other application in which the failure of the Motorola product could create a situation where
personal injury or death may occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized
application, Buyer shall indemnify and hold Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless
against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of
personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Motorola was
negligent regarding the design or manufacture of the part.
1
For More Information On This Product,
Go to: www.freescale.com

Related parts for MC9S12DG256BVPV

MC9S12DG256BVPV Summary of contents

Page 1

... Freescale Semiconductor, Inc. Device User Guide MC9S12DT256C, MC9S12DJ256C, MC9S12DG256C, MC9S12DT256B, MC9S12DJ256B, MC9S12DG256B Original Release Date: 29 Mar 2001 Motorola reserves the right to make changes without further notice to any products herein to improve reliability, function or design. Motorola does not assume any liability arising out of the application or use of any product or circuit described herein; ...

Page 2

... Freescale Semiconductor, Inc. Revision History Version Revision Effective Number Date Date 29 MAR 29 MAR V01.00 2001 2001 8 MAY 8 MAY V01.01 2001 2001 16 May 16 May V02.00 2001 2001 5 June V02.01 2001 14 June V02.02 2001 18 June V02.03 2001 26 June V02.04 2001 11 July V02.05 2001 17 July V02 ...

Page 3

... Freescale Semiconductor, Inc. Version Revision Effective Number Date Date 24 August V02.08 2001 12 Nov V02.09 2001 28 Feb V02.10 2002 26 Mar V02.11 2002 12Aug V02.12 2002 25Sep V02.13 2002 28Feb V02.14 2003 For More Information On This Product, MC9S12DP256B Device User Guide — 9S12DP256BDGV2/D V02.14 ...

Page 4

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — 9S12DP256BDGV2/D V02.14 4 For More Information On This Product, Go to: www.freescale.com ...

Page 5

... Freescale Semiconductor, Inc. Table of Contents Section 1 Introduction 1.1 Overview .17 1.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17 1.3 Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19 1.4 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20 1.5 Device Memory Map .22 1.6 Detailed Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25 1.7 Part ID Assignments .51 Section 2 Signal Description 2.1 Device Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 2.2 Signal Properties Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56 2.3 Detailed Signal Descriptions .59 2.3.1 EXTAL, XTAL — ...

Page 6

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 2.3.21 PH7 / KWH7 / SS2 — Port H I/O Pin .62 2.3.22 PH6 / KWH6 / SCK2 — Port H I/O Pin .62 2.3.23 PH5 / KWH5 / MOSI2 — Port H I/O Pin .63 2.3.24 PH4 / KWH4 / MISO2 — Port H I/O Pin .63 2.3.25 PH3 / KWH3 / SS1 — ...

Page 7

... Freescale Semiconductor, Inc. 2.3.57 PS0 / RXD0 — Port S I/O Pin .67 2.3.58 PT[7:0] / IOC[7:0] — Port T I/O Pins [7: .67 2.4 Power Supply Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67 2.4.1 VDDX,VSSX — Power & Ground Pins for I/O Drivers . . . . . . . . . . . . . . . . . . . . . . . .68 2.4.2 VDDR, VSSR — Power & Ground Pins for I/O Drivers & for Internal Voltage Regulator 68 2 ...

Page 8

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 Section 7 Clock and Reset Generator (CRG) Block Description 7.1 Device-specific information .81 7.1.1 XCLKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81 Section 8 Enhanced Capture Timer (ECT) Block Description Section 9 Analog to Digital Converter (ATD) Block Description Section 10 Inter-IC Bus (IIC) Block Description ...

Page 9

... Freescale Semiconductor, Inc. A.1.7 Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91 A.1.8 Power Dissipation and Thermal Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . .91 A.1.9 I/O Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93 A.1.10 Supply Currents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95 A.2 ATD Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97 A.2.1 ATD Operating Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97 A.2.2 Factors influencing accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97 A.2.3 ATD accuracy .99 A.3 NVM, Flash and EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101 A.3.1 NVM timing .101 A ...

Page 10

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 10 For More Information On This Product, Go to: www.freescale.com ...

Page 11

... Freescale Semiconductor, Inc. List of Figures Figure 0-1 Order Part Number Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 Figure 1-1 MC9S12DP256B Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21 Figure 1-2 MC9S12DP256B Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24 Figure 2-1 Pin Assignments in 112-pin LQFP .54 Figure 2-2 Pin Assignments in 80-pin QFP for MC9S12DG256 . . . . . . . . . . . . . . . . . . . . . .55 Figure 2-3 Pin Assignments in 80-pin QFP for MC9S12DJ256 . . . . . . . . . . . . . . . . . . . . . .56 Figure 2-4 PLL Loop Filter Connections ...

Page 12

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 12 For More Information On This Product, Go to: www.freescale.com ...

Page 13

... Freescale Semiconductor, Inc. List of Tables Table 0-1 Drivative Differences MC9S12D256B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 Table 0-2 Derivative Differences MC9S12D256C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 Table 0-4 Document References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 Table 0-3 Defects fixed on Maskset 2K79X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 Table 1-1 Device Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 Table 1-2 Detailed MSCAN Foreground Receive and Transmit Buffer Layout .41 Table 1-3 Assigned Part ID Numbers ...

Page 14

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 Table A-19 SPI Slave Mode Timing Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118 Table A-20 Expanded Bus Timing Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .121 14 For More Information On This Product, Go to: www.freescale.com ...

Page 15

... Freescale Semiconductor, Inc. Preface The Device User Guide provides information about the MC9S12DP256B device made up of standard HCS12 blocks and the HCS12 processor core. Table 0-1 and Table 0-2 show the availability of peripheral modules on the various derivatives. For details about the compatibility within the MC9S12D-Family refer also to engineering bulletin EB386. ...

Page 16

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 Table 0-3 shows the defects fixed on maskset 2K79X (MC9S12DP256C) Table 0-3 Defects fixed on Maskset 2K79X Defect MUCts00510 MUCts00604 MUCts00603 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 ...

Page 17

... Freescale Semiconductor, Inc. Section 1 Introduction 1.1 Overview The MC9S12DP256 microcontroller unit (MCU 16-bit device composed of standard on-chip peripherals including a 16-bit central processing unit (HCS12 CPU), 256K bytes of Flash EEPROM, 12K bytes of RAM, 4K bytes of EEPROM, two asynchronous serial communications interfaces (SCI), three ...

Page 18

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 • Two 8-channel Analog-to-Digital Converters – 10-bit resolution – External conversion trigger capability • Five 1M bit per second, CAN 2 software compatible modules – Five receive and three transmit buffers – Flexible identifier filter programmable bit bit bit – ...

Page 19

... Freescale Semiconductor, Inc. – 5V A/D converter inputs – Operation at 50MHz equivalent to 25MHz Bus Speed – Development support – Single-wire background debug™ mode (BDM) – On-chip hardware breakpoints 1.3 Modes of Operation User modes • Normal and Emulation Operating Modes – Normal Single-Chip Mode – ...

Page 20

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 1.4 Block Diagram Figure 1-1 shows a block diagram of the MC9S12DP256B device. 20 For More Information On This Product, Go to: www.freescale.com ...

Page 21

... Freescale Semiconductor, Inc. Figure 1-1 MC9S12DP256B Block Diagram 256K Byte Flash EEPROM 12K 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 VSSPLL Periodic Interrupt Generation COP Watchdog ...

Page 22

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 1.5 Device Memory Map Table 1-1 and Figure 1-2 show the device memory map of the MC9S12DP256B after reset. Note that after reset the bottom 1k of the EEPROM ($0000 - $03FF) are hidden by the register space. ...

Page 23

... Freescale Semiconductor, Inc. Table 1-1 Device Memory Map Address Fixed Flash EEPROM array $C000 - $FFFF incl. 0.5K, 1K Protected Sector at end and 256 bytes of Vector Space at $FF80 - $FFFF For More Information On This Product, Go to: www.freescale.com MC9S12DP256B Device User Guide — V02.14 Size ...

Page 24

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 Figure 1-2 MC9S12DP256B Memory Map $0000 $0400 $1000 $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 into normal expanded wide or narrow mode. ...

Page 25

... Freescale Semiconductor, Inc. 1.6 Detailed Register Map The following tables show the detailed register map of the MC9S12DP256B. $0000 - $000F Address Name Read: $0000 PORTA Write: Read: $0001 PORTB Write: Read: $0002 DDRA Write: Read: $0003 DDRB Write: Read: $0004 Reserved Write: ...

Page 26

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 $0010 - $0014 Address Name Read: $0012 INITEE Write: Read: $0013 MISC Write: Read: $0014 MTST0 Write: $0015 - $0016 Address Name Read: $0015 ITCR Write: Read: $0016 ITEST Write: $0017 - $0017 Address Name ...

Page 27

... Freescale Semiconductor, Inc. $001E - $001E MEBI map (Core User Guide) Address Name Bit 7 Read: $001E IRQE INTCR Write: $001F - $001F INT map (Core User Guide) Address Name Bit 7 Read: $001F HPRIO PSEL7 Write: $0020 - $0027 Reserved Address Name Bit 7 Read: 0 $0020 ...

Page 28

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 $0028 - $002F Address Name Read: $002D BKP1X Write: Read: $002E BKP1H Write: Read: $002F BKP1L Write: $0030 - $0031 Address Name Read: $0030 PPAGE Write: Read: $0031 Reserved Write: $0032 - $0033 Address Name ...

Page 29

... Freescale Semiconductor, Inc. $0034 - $003F CRG (Clock and Reset Generator) Address Name Bit 7 FORBYP Read: $003D RTIBYP COPBYP TEST ONLY Write: CTCTL Read: TCTL7 $003E TEST ONLY Write: Read: 0 $003F ARMCOP Write: Bit 7 $0040 - $007F ECT (Enhanced Capture Timer 16 Bit 8 Channels) ...

Page 30

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 $0040 - $007F Address Name Read: $0053 TC1 (lo) Write: Read: $0054 TC2 (hi) Write: Read: $0055 TC2 (lo) Write: Read: $0056 TC3 (hi) Write: Read: $0057 TC3 (lo) Write: Read: $0058 TC4 (hi) Write: Read: $0059 TC4 (lo) ...

Page 31

... Freescale Semiconductor, Inc. $0040 - $007F ECT (Enhanced Capture Timer 16 Bit 8 Channels) Address Name Bit 7 Read: $006C Reserved Write: TIMTST Read: 0 $006D Test Only Write: Read: $006E Reserved Write: Read: $006F Reserved Write: Read: 0 $0070 PBCTL Write: Read: 0 $0071 PBFLG Write: Read: ...

Page 32

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 $0080 - $009F Address Name Read: $0082 ATD0CTL2 Write: Read: $0083 ATD0CTL3 Write: Read: $0084 ATD0CTL4 Write: Read: $0085 ATD0CTL5 Write: Read: $0086 ATD0STAT0 Write: Read: $008B Reserved Write: Read: $0088 ATD0TEST0 Write: ...

Page 33

... Freescale Semiconductor, Inc. $0080 - $009F ATD0 (Analog to Digital Converter 10 Bit 8 Channel) Address Name Bit 7 Read: Bit7 $009B ATD0DR5L Write: Read: Bit15 $009C ATD0DR6H Write: Read: Bit7 $009D ATD0DR6L Write: Read: Bit15 $009E ATD0DR7H Write: Read: Bit7 $009F ATD0DR7L Write: $00A0 - $00C7 ...

Page 34

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 $00A0 - $00C7 Address Name Read: $00B1 PWMCNT5 Write: Read: $00B2 PWMCNT6 Write: Read: $00B3 PWMCNT7 Write: Read: $00B4 PWMPER0 Write: Read: $00B5 PWMPER1 Write: Read: $00B6 PWMPER2 Write: Read: $00B7 PWMPER3 Write: ...

Page 35

... Freescale Semiconductor, Inc. $00C8 - $00CF SCI0 (Asynchronous Serial Interface) Address Name Bit 7 Read: 0 $00C8 SCI0BDH Write: Read: $00C9 SCI0BDL SBR7 Write: Read: $00CA LOOPS SCISWAI SCI0CR1 Write: Read: $00CB TIE SCI0CR2 Write: Read: TDRE $00CC SCI0SR1 Write: Read: 0 $00CD SCI0SR2 Write: ...

Page 36

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 $00D8 - $00DF Address Name Read: $00DC Reserved Write: Read: $00DD SPI0DR Write: Read: $00DE Reserved Write: Read: $00DF Reserved Write: $00E0 - $00E7 Address Name Read: $00E0 IBAD Write: Read: $00E1 IBFD Write: ...

Page 37

... Freescale Semiconductor, Inc. $00F0 - $00F7 SPI1 (Serial Peripheral Interface) Address Name Bit 7 Read: $00F0 SPIE SPI1CR1 Write: Read: 0 $00F1 SPI1CR2 Write: Read: 0 $00F2 SPI1BR Write: Read: SPIF $00F3 SPI1SR Write: Read: 0 $00F4 Reserved Write: Read: $00F5 Bit7 SPI1DR Write: Read: 0 $00F6 ...

Page 38

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 $0100 - $010F Address Name Read: $0104 FPROT Write: Read: $0105 FSTAT Write: Read: $0106 FCMD Write: Reserved for Read: $0107 Factory Test Write: Read: $0108 FADDRHI Write: Read: $0109 FADDRLO Write: Read: ...

Page 39

... Freescale Semiconductor, Inc. $0110 - $011B EEPROM Control Register (eets4k) Address Name Bit 7 Read: $0119 Bit 7 EADDRLO Write: Read: $011A Bit 15 EDATAHI Write: Read: $011B EDATALO Bit 7 Write: $011C - $011F Reserved for RAM Control Register Address Name Bit 7 Read: 0 $011C Reserved Write: ...

Page 40

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 $0120 - $013F Address Name Read: $012D ATD1DIEN Write: Read: $012E Reserved Write: Read: $012F PORTAD1 Write: Read: $0130 ATD1DR0H Write: Read: $0131 ATD1DR0L Write: Read: $0132 ATD1DR1H Write: Read: $0133 ATD1DR1L Write: ...

Page 41

... Freescale Semiconductor, Inc. $0140 - $017F CAN0 (Motorola Scalable CAN - MSCAN) Address Name Bit 7 Read: $0143 SAMP CAN0BTR1 Write: Read: $0144 WUPIF CAN0RFLG Write: Read: $0145 CAN0RIER WUPIE Write: Read: 0 $0146 CAN0TFLG Write: Read: 0 $0147 CAN0TIER Write: Read: 0 $0148 CAN0TARQ Write: Read: ...

Page 42

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 Table 1-2 Detailed MSCAN Foreground Receive and Transmit Buffer Layout Address Name Extended ID Read: $xxx2 Standard ID Read: CANxRIDR2 Write: Extended ID Read: $xxx3 Standard ID Read: CANxRIDR3 Write: $xxx4- CANxRDSR0 - Read: $xxxB CANxRDSR7 Write: ...

Page 43

... Freescale Semiconductor, Inc. $0180 - $01BF CAN1 (Motorola Scalable CAN - MSCAN) Address Name Bit 7 Read: $0180 RXFRM CAN1CTL0 Write: Read: $0181 CAN1CTL1 CANE Write: Read: $0182 SJW1 CAN1BTR0 Write: Read: $0183 SAMP CAN1BTR1 Write: Read: $0184 WUPIF CAN1RFLG Write: Read: $0185 WUPIE ...

Page 44

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 $0180 - $01BF Address Name Read: $0199 CAN1IDAR5 Write: Read: $019A CAN1IDAR6 Write: Read: $019B CAN1IDAR7 Write: Read: $019C CAN1IDMR4 Write: Read: $019D CAN1IDMR5 Write: Read: $019E CAN1IDMR6 Write: Read: $019F CAN1IDMR7 Write: ...

Page 45

... Freescale Semiconductor, Inc. $01C0 - $01FF CAN2 (Motorola Scalable CAN - MSCAN) Address Name Bit 7 Read: 0 $01CD Reserved Write: Read: RXERR7 RXERR6 RXERR5 RXERR4 RXERR3 RXERR2 RXERR1 RXERR0 $01CE CAN2RXERR Write: Read: TXERR7 TXERR6 TXERR5 TXERR4 TXERR3 TXERR2 TXERR1 TXERR0 $01CF CAN2TXERR Write: ...

Page 46

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 $0200 - $023F Address Name Read: $0200 CAN3CTL0 Write: Read: $0201 CAN3CTL1 Write: Read: $0202 CAN3BTR0 Write: Read: $0203 CAN3BTR1 Write: Read: $0204 CAN3RFLG Write: Read: $0205 CAN3RIER Write: Read: $0206 CAN3TFLG Write: ...

Page 47

... Freescale Semiconductor, Inc. $0200 - $023F CAN3 (Motorola Scalable CAN - MSCAN) Address Name Bit 7 Read: $0219 AC7 CAN3IDAR5 Write: Read: $021A AC7 CAN3IDAR6 Write: Read: $021B CAN3IDAR7 AC7 Write: Read: $021C AM7 CAN3IDMR4 Write: Read: $021D AM7 CAN3IDMR5 Write: Read: $021E AM7 ...

Page 48

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 $0240 - $027F Address Name Read: $024E WOMS Write: Read: $024F Reserved Write: Read: $0250 PTM Write: Read: $0251 PTIM Write: Read: $0252 DDRM Write: Read: $0253 RDRM Write: Read: $0254 PERM Write: ...

Page 49

... Freescale Semiconductor, Inc. $0240 - $027F PIM (Port Integration Module PIM_9DP256) Address Name Bit 7 Read: $0267 PIFH7 PIFH Write: Read: $0268 PTJ7 PTJ Write: Read: PTIJ7 $0269 PTIJ Write: Read: $026A DDRJ7 DDRJ Write: Read: $026B RDRJ7 RDRJ Write: Read: $026C PERJ7 ...

Page 50

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 $0280 - $02BF Address Name Read: $028D Reserved Write: Read: RXERR7 RXERR6 RXERR5 RXERR4 RXERR3 RXERR2 RXERR1 RXERR0 $028E CAN4RXERR Write: Read: TXERR7 TXERR6 TXERR5 TXERR4 TXERR3 TXERR2 TXERR1 TXERR0 $028F CAN4TXERR Write: ...

Page 51

... Freescale Semiconductor, Inc. 1.7 Part ID Assignments The part ID is located in two 8-bit registers PARTIDH and PARTIDL (addresses $001A and $001B after reset). The read-only value is a unique part ID for each revision of the chip. Table 1-3 shows the assigned part ID number. Table 1-3 Assigned Part ID Numbers ...

Page 52

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 52 For More Information On This Product, Go to: www.freescale.com ...

Page 53

... Freescale Semiconductor, Inc. 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 User Guides of the individual IP blocks on the device. 2.1 Device Pinout The MC9S12DP256B/MC9S12DT256/MC9S12DJ256 and MC9S12DG256 is available in a 112-pin low profile quad flat pack (LQFP) and MC9S12DJ256 is also available in a 80-pin quad flat pack (QFP) ...

Page 54

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 SS1/PWM3/KWP3/PP3 1 SCK1/PWM2/KWP2/PP2 2 MOSI1/PWM1/KWP1/PP1 3 MISO1/PWM0/KWP0/PP0 4 XADDR17/PK3 5 XADDR16/PK2 6 XADDR15/PK1 7 XADDR14/PK0 8 IOC0/PT0 9 IOC1/PT1 10 IOC2/PT2 11 IOC3/PT3 12 VDD1 13 VSS1 14 IOC4/PT4 15 IOC5/PT5 16 IOC6/PT6 17 IOC7/PT7 18 XADDR19/PK5 19 XADDR18/PK4 20 KWJ1/PJ1 21 KWJ0/PJ0 22 MODC/TAGHI/BKGD 23 ADDR0/DATA0/PB0 24 ADDR1/DATA1/PB1 25 ADDR2/DATA2/PB2 26 ADDR3/DATA3/PB3 27 ADDR4/DATA4/PB4 28 Figure 2-1 Pin Assignments in 112-pin LQFP ...

Page 55

... Freescale Semiconductor, Inc. SS1/PWM3/KWP3/PP3 1 SCK1/PWM2/KWP2/PP2 2 MOSI1/PWM1/KWP1/PP1 3 MISO1/PWM0/KWP0/PP0 4 IOC0/PT0 5 IOC1/PT1 6 IOC2/PT2 7 IOC3/PT3 8 VDD1 9 VSS1 10 IOC4/PT4 11 IOC5/PT5 12 IOC6/PT6 13 IOC7/PT7 14 MODC/TAGHI/BKGD 15 ADDR0/DATA0/PB0 16 ADDR1/DATA1/PB1 17 ADDR2/DATA2/PB2 18 ADDR3/DATA3/PB3 19 ADDR4/DATA4/PB4 20 Figure 2-2 Pin Assignments in 80-pin QFP for MC9S12DG256 For More Information On This Product, Go to: www.freescale.com MC9S12DP256B Device User Guide — V02.14 ...

Page 56

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 SS1/PWM3/KWP3/PP3 1 SCK1/PWM2/KWP2/PP2 2 MOSI1/PWM1/KWP1/PP1 3 MISO1/PWM0/KWP0/PP0 4 IOC0/PT0 5 IOC1/PT1 6 IOC2/PT2 7 IOC3/PT3 8 VDD1 9 VSS1 10 IOC4/PT4 11 IOC5/PT5 12 IOC6/PT6 13 IOC7/PT7 14 MODC/TAGHI/BKGD 15 ADDR0/DATA0/PB0 16 ADDR1/DATA1/PB1 17 ADDR2/DATA2/PB2 18 ADDR3/DATA3/PB3 19 ADDR4/DATA4/PB4 20 Figure 2-3 Pin Assignments in 80-pin QFP for MC9S12DJ256 2.2 Signal Properties Summary Table 2-1summarizes the pin functionality ...

Page 57

... TAGLO PE2 R/W — PE1 IRQ — PE0 XIRQ — PH7 KWH7 SS2 PH6 KWH6 SCK2 Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 Pin Name Pin Name Power Funct. 4 Funct. 5 Supply CTRL — — VDDPLL — — VDDPLL — ...

Page 58

... PM4 RXCAN2 RXCAN0 PM3 TXCAN1 TXCAN0 PM2 RXCAN1 RXCAN0 PM1 TXCAN0 TXB PM0 RXCAN0 RXB PP7 KWP7 PWM7 58 Freescale Semiconductor, Inc. Pin Name Pin Name Power Funct. 4 Funct. 5 Supply CTRL PERH/ — — VDDR PPSH PERH/ — — VDDR PPSH PERH/ — ...

Page 59

... EXTAL, XTAL — Oscillator Pins EXTAL and XTAL are the crystal driver and external clock pins. On reset all the device clocks are derived from the EXTAL input frequency. XTAL is the crystal output. Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 Pin Name ...

Page 60

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 2.3.2 RESET — External Reset Pin An active low bidirectional control signal, it acts as an input to initialize the MCU to a known start-up state, and an output when an internal MCU function causes a reset. 2.3.3 TEST — Test Pin This input only pin is reserved for test ...

Page 61

... Freescale Semiconductor, Inc. 2.3.8 PAD[14:08] / AN[14:08] — Port AD Input Pins of ATD1 PAD14 - PAD08 are general purpose input pins and analog inputs AN[6:0] of the analog to digital converter ATD1. 2.3.9 PAD7 / AN07 / ETRIG0 — Port AD Input Pin of ATD0 PAD7 is a general purpose input pin and analog input AN7 of the analog to digital converter ATD0. It can act as an external trigger input for the ATD0. 2.3.10 PAD[06:00] / AN[06:00] — ...

Page 62

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 2.3.15 PE5 / MODA / IPIPE0 — Port E I/O Pin 5 PE5 is a general purpose input or output pin used as a MCU operating mode select pin during reset. The state of this pin is latched to the MODA bit at the rising edge of RESET. This pin is shared with the instruction queue tracking signal IPIPE0 ...

Page 63

... Freescale Semiconductor, Inc. 2.3.23 PH5 / KWH5 / MOSI2 — Port H I/O Pin 5 PH5 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 master output (during master mode) or slave input pin (during slave mode) MOSI of the Serial Peripheral Interface 2 (SPI2). ...

Page 64

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 2.3.30 PJ6 / KWJ6 / RXCAN4 / SDA — PORT J I/O Pin 6 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 Motorola Scalable Controller Area Network controller 4 (CAN4) or the serial data pin SDA of the IIC module. 2.3.31 PJ[1:0] / KWJ[1:0] — ...

Page 65

... Freescale Semiconductor, Inc. 2.3.38 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 Motorola 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 66

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 2.3.45 PP4 / KWP4 / PWM4 / MISO2 — Port P I/O Pin 4 PP4 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 Pulse Width Modulator (PWM) channel 4 output. It can be configured as master input (during master mode) or slave output (during slave mode) pin MISO of the Serial Peripheral Interface 2 (SPI2) ...

Page 67

... Freescale Semiconductor, Inc. 2.3.52 PS5 / MOSI0 — Port S I/O Pin 5 PS5 is a general purpose input or output pin. It can be configured as master output (during master mode) or slave input pin (during slave mode) MOSI of the Serial Peripheral Interface 0 (SPI0). 2.3.53 PS4 / MISO0 — Port S I/O Pin 4 PS4 is a general purpose input or output pin ...

Page 68

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 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 supply, use bypass capacitors with high-frequency characteristics and place them as close to the MCU as possible ...

Page 69

... Freescale Semiconductor, Inc. Table 2-2 MC9S12DP256 Power and Ground Connection Summary Pin Number Nominal Mnemonic Voltage 112-pin QFP V 13, 65 DD1 14, 66 SS1 DDR V 40 SSR V 107 DDX V 106 SSX V 83 DDA V 86 SSA DDPLL V 45 SSPLL VREGEN 97 2.4.7 VREGEN — On Chip Voltage Regulator Enable Enables the internal ...

Page 70

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 70 For More Information On This Product, Go to: www.freescale.com ...

Page 71

... Freescale Semiconductor, Inc. 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 User Guide for details on clock generation. ...

Page 72

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 72 For More Information On This Product, Go to: www.freescale.com ...

Page 73

... Freescale Semiconductor, Inc. Section 4 Modes of Operation 4.1 Overview Eight possible modes determine the operating configuration of the MC9S12DP256B. Each mode has an associated default memory map and external bus configuration controlled by a further pin. Three low power modes exist for the device. 4.2 Chip Configuration Summary The operating mode out of reset is determined by the states of the MODC, MODB, and MODA pins during reset (Table 4-1) ...

Page 74

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 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 of the memory contents. This feature allows: • Protection of the contents of FLASH, • ...

Page 75

... Freescale Semiconductor, Inc. 4.3.3 Unsecuring the Microcontroller In order to unsecure the microcontroller, the internal FLASH and EEPROM must be erased. This can be done through an external program in expanded mode. Once the user has erased the FLASH and EEPROM, the part can be reset into special single chip mode. ...

Page 76

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 76 For More Information On This Product, Go to: www.freescale.com ...

Page 77

... Freescale Semiconductor, Inc. Section 5 Resets and Interrupts 5.1 Overview Consult the Exception Processing section of the HCS12 Core User Guide 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. Table 5-1 Interrupt Vector Locations ...

Page 78

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 $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, $FFB7 CAN0 wake-up ...

Page 79

... Freescale Semiconductor, Inc. NOTE: For devices assembled in 80-pin QFP packages all non-bonded out pins should be configured as outputs after reset in order to avoid current drawn from floating inputs. Refer to Table 2-1 for affected pins. 5.3.2 Memory Refer to Table 1-1 for locations of the memories depending on the operating mode after reset. ...

Page 80

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 80 For More Information On This Product, Go to: www.freescale.com ...

Page 81

... Freescale Semiconductor, Inc. Section 6 HCS12 Core Block Description Consult the HCS12 Core User Guide for information about the HCS12 core modules, i.e. central processing unit (CPU), interrupt module (INT), module mapping control module (MMC), multiplexed external bus interface (MEBI), breakpoint module (BKP) and background debug mode module (BDM). ...

Page 82

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 Section 10 Inter-IC Bus (IIC) Block Description Consult the IIC Block User Guide for information about the Inter-IC Bus module. Section 11 Serial Communications Interface (SCI) Block Description There are two Serial Communications Interfaces (SCI1 and SCI0) implemented on the MC9S12DP256B device ...

Page 83

... Freescale Semiconductor, Inc. This module supports single-cycle misaligned word accesses. Section 18 MSCAN Block Description There are five MSCAN modules (CAN4, CAN3, CAN2, CAN1 and CAN0) implemented on the MC9S12DP256B. Consult the MSCAN Block User Guide for information about the Motorola Scalable CAN Module. ...

Page 84

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 • Every supply pair must be decoupled by a ceramic capacitor connected as near as possible to the corresponding pins(C1 - C6). • Central point of the ground star should be the VSSR pin. • Use low ohmic low inductance connections between VSS1, VSS2 and VSSR. ...

Page 85

... Freescale Semiconductor, Inc. Figure 20-1 Recommended PCB Layout 112 LQFP VSSX VDD1 C1 VSS1 VSSR VDDR For More Information On This Product, Go to: www.freescale.com MC9S12DP256B Device User Guide — V02.14 VSSA C3 VDDA VSS2 VDD2 Q1 VSSPLL VDDPLL ...

Page 86

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 Figure 20-2 Recommended PCB Layout for 80QFP VDD1 C1 VSS1 86 For More Information On This Product, VSSA VSSX VSSR VDDR Q1 VSSPLL VDDPLL R1 Go to: www.freescale.com C3 VDDA VSS2 C2 VDD2 ...

Page 87

... Freescale Semiconductor, Inc. Appendix A Electrical Characteristics 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 Motorola and are subject to change without notice. This supplement contains the most accurate electrical information for the MC9S12DP256B microcontroller available at the time of publication ...

Page 88

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 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 and the PLL ...

Page 89

... Freescale Semiconductor, Inc. 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 VDD5 load will shunt current greater than maximum injection current. This will be the greatest risk when the MCU is not consuming power ...

Page 90

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 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 digital I/O pins are internally clamped ...

Page 91

... Freescale Semiconductor, Inc. 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 ambient temperature T calculations refer to Section A.1.8 Power Dissipation and Thermal Characteristics ...

Page 92

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02. Junction Temperature Ambient Temperature Total Chip Power Dissipation, [ Package Thermal Resistance, [ C/W] JA The total power dissipation can be calculated from: P INT = Chip Internal Power Dissipation, [W] Two cases with internal voltage regulator enabled and disabled must be considered: 1 ...

Page 93

... Freescale Semiconductor, Inc. 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 3 T Thermal Resistance LQFP 80, single sided PCB Thermal Resistance LQFP 80, double sided PCB 4 T with 2 internal planes NOTES: 1 ...

Page 94

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 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 Current (pins in high impedance input ...

Page 95

... Freescale Semiconductor, Inc. A.1.10 Supply Currents This section describes the current consumption characteristics of the device as well as the conditions for the measurements. 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 ...

Page 96

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 given. A very good estimate is to take the single chip currents and add the currents due to the external loads. Table A-7 Supply Current Characteristics Conditions are shown in Table A-4 unless otherwise noted Num C ...

Page 97

... Freescale Semiconductor, Inc. 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 SSA DDA beyond the power supply levels that it ties to. If the input level goes outside of this range it will effectively be clipped ...

Page 98

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 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 is allowed. A.2.2.2 Source Capacitance When sampling an additional internal capacitor is switched to the input ...

Page 99

... Freescale Semiconductor, Inc. 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 5.12V. Resulting to one 8 bit count = 20mV and one 10 bit count = 5mV ...

Page 100

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 DNL LSB V i-1 $3FF $3FE $3FD $3FC $3FB $3FA $3F9 $3F8 $3F7 $3F6 $3F5 $3F4 $3F3 Figure A-1 ATD Accuracy Definitions NOTE: Figure A-1 shows only definitions, for specification values refer to Table A-10 . ...

Page 101

... Freescale Semiconductor, Inc. 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. A minimum oscillator frequency f is required for performing program or erase operations ...

Page 102

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 A.3.1.3 Sector Erase Erasing a 512 byte Flash sector byte EEPROM sector takes: 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. ...

Page 103

... Freescale Semiconductor, Inc. 3. Maximum Erase and Programming times are achieved under particular combinations of f Refer to formulae in Sections A.3.1.1 - A.3.1.4 for guidance. 4. urst Programming operations are not applicable to EEPROM 5. Minimum Erase times are achieved under maximum NVM operating frequency f 6. Minimum time, if first word in the array is not blank 7 ...

Page 104

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 104 For More Information On This Product, Go to: www.freescale.com ...

Page 105

... Freescale Semiconductor, Inc. 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 For More Information On This Product, MC9S12DP256B Device User Guide — V02.14 ...

Page 106

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 106 For More Information On This Product, Go to: www.freescale.com ...

Page 107

... Freescale Semiconductor, Inc. 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 be found in the Clock and Reset Generator (CRG) Block User Guide. ...

Page 108

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 A.5.1.4 Stop Recovery Out of STOP the controller can be woken external interrupt. A clock quality check as after POR is performed before releasing the clocks to the system. 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 ...

Page 109

... Freescale Semiconductor, Inc. A.5.3 Phase Locked Loop The oscillator provides the reference clock for the PLL. The PLL´s Voltage Controlled Oscillator (VCO) is also the system clock source in self clock mode. A.5.3.1 XFC Component Selection This section describes the selection of the XFC components to achieve a good filter characteristics. ...

Page 110

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 The loop bandwidth f should be chosen to fulfill the Gardner’s stability criteria by at least a factor of 10, C typical values are 50. = 0.9 ensures a good transient response. f < ------------------------------------------ C And finally the frequency relationship is defined as With the above inputs the resistance can be calculated as: ...

Page 111

... Freescale Semiconductor, Inc min1 t nom t max1 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 N < 100, the following equation is a good fit for the maximum jitter: ...

Page 112

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 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 C Rating 1 P Self Clock Mode frequency ...

Page 113

... Freescale Semiconductor, Inc. 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 For More Information On This Product, MC9S12DP256B Device User Guide — V02.14 ...

Page 114

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 114 For More Information On This Product, Go to: www.freescale.com ...

Page 115

... Freescale Semiconductor, Inc. A.7 SPI A.7.1 Master Mode Figure A-5 and Figure A-6 illustrate the master mode timing. Timing values are shown in Table A-18 (OUTPUT) 2 SCK (CPOL 0) (OUTPUT) 4 SCK (CPOL 1) (OUTPUT MISO 2 MSB IN (INPUT) 9 MOSI 2 MSB OUT (OUTPUT configured as output. 2. LSBF = 0. For LSBF = 1, bit order is LSB, bit 1, ..., bit 6, MSB. ...

Page 116

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02. (OUTPUT SCK (CPOL 0) (OUTPUT) 4 SCK (CPOL 1) (OUTPUT) 5 MISO MSB IN (INPUT) 9 MOSI PORT DATA MASTER MSB OUT (OUTPUT configured as output 2. LSBF = 0. For LSBF = 1, bit order is LSB, bit 1, ..., bit 6, MSB. Figure A-6 SPI Master Timing (CPHA =1) ...

Page 117

... Freescale Semiconductor, Inc. A.7.2 Slave Mode Figure A-7 and Figure A-8 illustrate the slave mode timing. Timing values are shown in Table A-19. SS (INPUT) SCK (CPOL 0) (INPUT SCK (CPOL 1) (INPUT) 7 MISO SLAVE MSB OUT (OUTPUT MOSI MSB IN (INPUT) Figure A-7 SPI Slave Timing (CPHA = 0) ...

Page 118

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 Table A-19 SPI Slave Mode Timing Characteristics Conditions are shown in Table A-4 unless otherwise noted, CLOAD = 200pF on all outputs Num C Rating 1 P Operating Frequency P SCK Period t = 1./f 1 sck Enable Lead Time ...

Page 119

... Freescale Semiconductor, Inc. A.8 External Bus Timing A timing diagram of the external multiplexed-bus is illustrated in Figure A-9 with the actual timing values shown on table Table A-20. All major bus signals are included in the diagram. While both a data write and data read cycle are shown, only one or the other would occur on a particular bus cycle. ...

Page 120

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 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 IPIPO0 IPIPO1, PE6,5 Figure A-9 General External Bus Timing 120 For More Information On This Product, ...

Page 121

... Freescale Semiconductor, Inc. Table A-20 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, E high 5 D Address delay time D Address valid time to E rise (PW ...

Page 122

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 Table A-20 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 IPIPO[1:0] delay time D IPIPO[1:0] valid time to E rise ( IPIPO[1:0] delay time ...

Page 123

... Freescale Semiconductor, Inc. Appendix B Package Information B.1 General This section provides the physical dimensions of the MC9S12DP256B packages. For More Information On This Product, MC9S12DP256B Device User Guide — V02.14 Go to: www.freescale.com 123 ...

Page 124

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 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 no. 987) 124 For More Information On This Product, 0. TIPS VIEW AB 2 0.10 ...

Page 125

... Freescale Semiconductor, Inc. B.3 80-pin QFP package 0.05 A-B 0. -C- H SEATING PLANE G DATUM -H- PLANE W X DETAIL C Figure B-2 80-pin QFP Mechanical Dimensions (case no. 841B) For More Information On This Product, MC9S12DP256B Device User Guide — V02. -B- B DETAIL - DETAIL C -H- 0 ...

Page 126

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 126 For More Information On This Product, Go to: www.freescale.com ...

Page 127

... Freescale Semiconductor, Inc. User Guide End Sheet For More Information On This Product, MC9S12DP256B Device User Guide — V02.14 Go to: www.freescale.com 127 ...

Page 128

... Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 128 For More Information On This Product, FINAL PAGE OF 128 PAGES Go to: www.freescale.com ...

Related keywords