background image

D E M O 9 S 1 2 X D T 5 1 2

J U L Y   1 8 ,   2 0 0 8

7

the Run Mode.  The +5V LED will light when power is applied to the board.

RUN MODE

Run mode allows user application to function when power is applied to the board.  Use the
following settings to configure the DEMO9S12XDT512 board for RUN Mode to get started
quickly.

1.  Connect auxiliary equipment to board as required by application.

2.  Configure the board option jumpers for run mode.

Table 1: Run Mode Setup

PWR_SEL

Pin1 – Pin2 (VB)

CLK_SEL

Pin1 – Pin2 (Y1)

VX_EN

Off

USER

As Required

LIN_EN

As Required

USB_SPEED

Pin1 – Pin2 (HIGH)

NOTE:

  See Power section below to configure power input from PWR connector or from J1 connector.

3.  Apply power to the board.

4.  The programmed application will begin to execute.

Debug Mode

Debug Mode supports application development and debug.  Debug mode is available to the
user through the integrated USB-Multilink BDM or the by using an external HCS12 BDM cable.
Use of the integrated USB-Multilink BDM requires only a host PC with an available USB port
and an A/B type USB cable.  A 6-pin BDM interface header (BDM_PORT) supports the use of
an external HCS12 BDM cable.  The BDM_PORT header is not installed in default configura-
tion.  The steps below describe using the integrated USB-Multilink BDM.

1.  Connect auxiliary equipment to board as required by application.

2.  Install and launch P&E PKG12Z tool set, CodeWarrior Development Studio, or other soft-

ware capable of communicating with the HCS12 MCU.

3.  Configure the board option jumpers for DEBUG mode.

Summary of Contents for DEMO9S12XDT512

Page 1: ...D O C 0 3 5 0 0 1 0 R E V E Email www axman com Support support axman com DEMO9S12XDT512 DEVELOPMENT BOARD FOR FREESCALE MC9S12XDT512 USER GUIDE ...

Page 2: ... DEVELOPMENT 8 DEVELOPMENT SUPPORT 9 INTEGRATED BDM 9 BDM_PORT HEADER 9 POWER 10 POWER SELECT 10 PWR_SEL 10 VX_EN 11 RESET SWITCH 11 LOW VOLTAGE RESET 11 TIMING 11 COMMUNICATIONS 12 RS 232 12 COM CONNECTOR 13 LIN COMMUNICATIONS 13 LIN_EN 13 CAN COMMUNICATIONS 14 MODE 14 VRH VRL 14 USER I O 15 SWITCHES 15 LED S 15 POT 16 LIGHT SENSOR 16 USER SIGNALS 16 USER ENABLE 16 MCU I O PORT 17 APPENDIX A 19 ...

Page 3: ...MCU I O PORT J2 18 TABLE OF TABLES Table 1 Run Mode Setup 7 Table 2 BDM Mode Setup 8 Table 3 Memory Map 8 Table 4 COM Connections 12 Table 5 ATD Reference Voltage 15 Table 6 User I O 16 Table 7 USER Option Header 17 Revision History Date Rev Comments March 24 2005 A Initial Release March 31 2005 B Added corrections noted in Out of Box review Removed reference to serial cable Demo program and Troub...

Page 4: ...to take adequate prevention measures d Attaching additional wiring to this product or modifying the products operation from the factory default as shipped may effect its performance and cause interference with nearby electronic equipment If such interference is detected suitable mitigating meas ures should be taken TERMINOLOGY This development module utilizes option select jumpers to configure def...

Page 5: ...Operation using internal PLL Integrated USB Multilink BDM for DEBUG access Optional power from USB bus through USB Multilink BDM Optional on board regulated 5V power supply for stand alone operation Optional power through MCU I O connector Power Input Selection USB Connector 2 0mm barrel connector MCU I O Connector On Chip Voltage Regulator with low voltage detect LVD and low voltage interrupt LVI...

Page 6: ...DEMO9S12XDT512 Device User Guide AN2546 pdf S12X Load RAM and Execute LRAE Program Appli cation Note AN2615 pdf HCS12 and S12X Family Compatibility AN2685 pdf How to Configure and Use the XGATE on S12X De vices AN2708 pdf An Introduction to the External Bus Interface on the HCS12X GETTING STARTED To get started quickly please refer to the DEMO9S12XDT512 Quick Start Guide This quick start will show...

Page 7: ...ector 3 Apply power to the board 4 The programmed application will begin to execute Debug Mode Debug Mode supports application development and debug Debug mode is available to the user through the integrated USB Multilink BDM or the by using an external HCS12 BDM cable Use of the integrated USB Multilink BDM requires only a host PC with an available USB port and an A B type USB cable A 6 pin BDM i...

Page 8: ...ce Type MEMORY MAP The table below shows the default memory map for the MC9S12XDP512 immediately out of reset Table 3 Memory Map 0000 07FF REGISTERS 2 KB 0800 0FFF EEPROM 4 KB 4 1Kb pages between 0x800 0xBFF 1000 3FFF RAM 12 KB 5 4Kb pages between 0x1000 0x1FFF 4000 7FFF FIXED FLASH 16 KB 1K 2K 4K 8K Protected Boot Sector 8000 BFFF FLASH EEPROM PAGE WINDOW 16 KB 32 16Kb pages C000 EFFF FIXED FLASH...

Page 9: ...urrent limit describes the current supplied by the USB cable to the BDM target board and any connected circuitry Excessive current drain will violate the USB specification Damage to the host PC USB hub or the target board may result The communications speed over the USB bus is controlled by the USB_SPEED header When shipped from the factory the DEMO9S12XDT512 is configured for high speed opera tio...

Page 10: ...tage regulator The figure below details the PWR_SEL header connections Figure 3 PWR_SEL Option Header VB PW 1 2 3 PWR_SEL CONFIGURATION 1 2 Selects power input from USB ML12 2 3 Selects power input from on board regulator or J1 NOTE Set PWR_SEL jumper to VB during application development Use barrel connector in put PWR to support LIN functionality as needed Power from the integrated BDM is drawn f...

Page 11: ...bled Disabled VX_EN CAUTION Do not exceed available current supply from USB Multilink BDM or on board regu lator when sourcing power through connector J1 to external circuitry RESET SWITCH The RESET switch provides a method to apply an asynchronous RESET to the MCU The RESET switch is connected directly to the RESET input on the MCU Pressing the RESET switch applies a low voltage level to the RESE...

Page 12: ...lock oscillator may be used Using a clock with 5 0V output will damage the MCU COMMUNICATIONS The DEMO9S12XDT512 board provides two Enhanced Serial Communications Interface ESCI ports SCI0 is applied to RS 232 serial communications COM on the target board SCI1 is applied to LIN communications on the target board RS 232 communications are sup ported through a DB9 connector LIN communications are su...

Page 13: ...O9S12XDT512 applies the MC33661D Local Interconnect Interface LIN physical layer PHY for use in developing automotive control applications The MC33661D physical layer interface PHY supports LIN bus functionality for input voltages between 6V and 18V Only power applied to the PWR connector will enable the LIN bus Two 4 pin Molex con nectors provide off board connectivity The figure below shows the ...

Page 14: ...selection status is latched at the rising edge of RE SET An internal pull down biases the MODA and MODB signals during boot After RESET the MODA and MODB signals revert to general purpose I O functionality The MODE option header is not installed in default configuration Internal bias configures the MCU for single chip operation out of reset To configure the MCU for expanded mode opera tion install...

Page 15: ...he sections below provide details on each User I O The User option header block enables or disables each User I O individually SWITCHES The DEMO9S12XDT512 target board provides 2 push button switches and one 4 position DIP switch for user input Each push button switch is an active low input with a pull up resistor bias to prevent indeterminate input conditions Pressing a push button switch causes ...

Page 16: ...position and associ ated signal for the Light Sensor User Signals The following table shows the connections for each user I O device Table 6 User I O USER Ref Des Signal Device 1 SW1 PP0 KWP0 PWM0 MISO1 Push Button Switch 2 SW2 PP1 KWP1 PWM1 MOSI1 Push Button Switch 3 SW3 1 PB0 4 pos DIP Switch 4 SW3 2 PB1 4 pos DIP Switch 5 SW3 3 PB2 4 pos DIP Switch 6 SW3 4 PB3 4 pos DIP Switch 7 LED1 PB4 Green ...

Page 17: ...Sensor MCU I O PORT The MCU I O PORT connectors J1 and J2 provide access to the MC9S12XDT512 I O sig nals The figures below show the pin out for each MCU I O connector Figure 11 MCU I O PORT J1 J1 VDD 1 2 IRQ PE1 VSS 3 4 RESET PS1 TXD0 5 6 MODC BKGD PS0 RXD0 7 8 PP7 KWP7 PWM7 SCK2 PP0 KWP0 PWM0 MISO1 9 10 PAD07 AN07 PP1 KWP1 PWM1 MOSI1 11 12 PAD06 AN06 PT0 I0C0 13 14 PAD05 AN05 PT1 IOC1 15 16 PAD0...

Page 18: ...41 42 PM0 RXCAN0 RXB PB1 43 44 PM1 TXCAN0 TXB PB2 45 46 IOC2 PT2 PB3 47 48 IOC3 PT3 PB4 49 50 PB5 51 52 PB6 53 54 PB7 55 56 IOC4 PT4 57 58 IOC5 PT5 59 60 IOC6 PT6 61 62 IOC7 PT7 63 64 PE7 XCLKS 65 66 PE6 MODB 67 68 PE5 MODA 69 70 PE4 ECLK 71 72 PE3 73 74 PE2 75 76 77 78 PE0 XIRQ 79 80 ...

Page 19: ...D E M O 9 S 1 2 X D T 5 1 2 J U L Y 1 8 2 0 0 8 19 APPENDIX A Top Silkscreen ...

Reviews: