MC9S12A256B ETC, MC9S12A256B Datasheet

no-image

MC9S12A256B

Manufacturer Part Number
MC9S12A256B
Description
device made up of standard HCS12 blocks and the HCS12 processor core
Manufacturer
ETC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC9S12A256BCFU
Manufacturer:
MOTOROLA
Quantity:
748
Part Number:
MC9S12A256BCFU
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC9S12A256BCPV
Manufacturer:
FREESICAL
Quantity:
7 205
Part Number:
MC9S12A256BCPV
Manufacturer:
FREESCALE
Quantity:
3
Part Number:
MC9S12A256BCPV
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC9S12A256BCPV
Manufacturer:
MOTOROLA/摩托罗拉
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 MC9S12A256B

MC9S12A256B Summary of contents

Page 1

... Motorola was negligent regarding the design or manufacture of the part. For More Information On This Product, MC9S12DP256B V02.14 Covers also MC9S12A256B Revised: Mar 5, 2003 Motorola, Inc Go to: www.freescale.com DOCUMENT NUMBER 9S12DP256BDGV2/D ...

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 ...

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, ...

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 ...

Page 6

Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 2.3.21 PH7 / KWH7 / SS2 — Port H I/O Pin ...

Page 7

Freescale Semiconductor, Inc. 2.3.57 PS0 / RXD0 — Port S I/O Pin ...

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 ...

Page 9

Freescale Semiconductor, Inc. A.1.7 Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 14

Freescale Semiconductor, Inc. MC9S12DP256B Device User Guide — V02.14 Table A-19 SPI Slave Mode Timing Characteristics . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 15

... MC9S12DJ256C 3 112 LQFP 112 LQFP/80 QFP 2K79X errata exists An errata exists conntact Sales office conntact Sales office Go to: www.freescale.com MC9S12DG256B MC9S12A256B 2 0 112 LQFP/80 QFP 112 LQFP/80 QFP 0/1K79X 0/1K79X PV/FU An errata exists An errata exists conntact Sales office conntact Sales offi ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 - ...

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 ...

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 ...

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: ...

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 ...

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 ...

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 ...

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 ...

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: ...

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 ...

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 ...

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: ...

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 ...

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: ...

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: ...

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: ...

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 ...

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 ...

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 ...

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 ...

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- ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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: ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

Page 57

Pin Name Pin Name Pin Name Funct. 1 Funct. 2 Funct. 3 EXTAL — — XTAL — — RESET — — TEST — — VREGEN — — XFC — — BKGD TAGHI MODC PAD[15] AN1[7] ETRIG1 PAD[14:8] AN1[6:0] — PAD[7] ...

Page 58

MC9S12DP256B Device User Guide — V02.14 Pin Name Pin Name Pin Name Funct. 1 Funct. 2 Funct. 3 PH5 KWH5 MOSI2 PH4 KWH4 MISO2 PH3 KWH3 SS1 PH2 KWH2 SCK1 PH1 KWH1 MOSI1 PH0 KWH0 MISO1 PJ7 KWJ7 TXCAN4 PJ6 ...

Page 59

Pin Name Pin Name Pin Name Funct. 1 Funct. 2 Funct. 3 PP6 KWP6 PWM6 PP5 KWP5 PWM5 PP4 KWP4 PWM4 PP3 KWP3 PWM3 PP2 KWP2 PWM2 PP1 KWP1 PWM1 PP0 KWP0 PWM0 PS7 SS0 — PS6 SCK0 — PS5 ...

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 ...

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 — ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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: ...

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 ...

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 ...

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 ...

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 ...

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), ...

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 ...

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 ...

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 ...

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 R1 ...

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 ...

Page 87

... PRELIMINARY and is subject to change. This introduction is intended to give an overview on several common topics like power supply, current injection etc. A.1.1 Parameter Classification The electrical parameters shown in this supplement are guaranteed by various methods. To give the customer a better understanding the following classification is used and the parameters are tagged accordingly in the tables where appropriate ...

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, ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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, ...

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 V ...

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 ...

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 ...

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 ...

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 ...

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 ...

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

... PORF bit in the CRG Flags Register has not been set. A.5.1.3 External Reset When external reset is asserted for a time greater than PW reset, and the CPU starts fetching the reset vector without doing a clock quality check, if there was an oscillation before reset. For More Information On This Product, MC9S12DP256B Device User Guide — ...

Page 108

... 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 interrupts. After t fetching the interrupt vector. A.5.2 Oscillator The device features an internal Colpitts oscillator. By asserting the XCLKS input during reset this oscillator can be bypassed allowing the input of a square wave ...

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 ...

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 ...

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: ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 1 4 ...

Page 122

... Affected by clock stretch: add cyc 122 For More Information On This Product, = 50pF LOAD Symbol t NOH t P0D – P0D P0V P1D P1V t P1V where N=0,1 depending on the number of clock stretches. Go to: www.freescale.com Min Typ Max Unit ...

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 ...

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 ...

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