iSystem MC9S12H256, ITMC9S12H256 User Manual

_ V1.0
User’s Guide
Motorola MC9S12H256 Evaluation Board
Ordering code ITMC9S12H256
iSYSTEM, October 2003 1/8
MC9S12H256 CPU Piggyback
Features
The ITMC9S12H256 is an evaluation or development board for the Motorola MC9S12H256 microcontroller. iSYSTEM MC9S12H256 ActivePOD (in-circuit emulation) or HC(S)12 BDM debugger (on-chip emulation) can be connected to the board. ActivePOD is connected directly to the board replacing the MC9S12H256 CPU piggyback. When BDM debugger is connected, MC9S12H256 CPU piggyback must be connected to the target and a standard BDM port is provided for the development tool.
Features
MC9S12H256 CPU
LCD display (16 segments x 8 characters)
BDM debug connector
RS232 port with DB9-F connector
8 MHz clock oscillator (16 MHz max)
3 expansion connectors
Regulated 5 V power supply
ON/OFF switch
3 + 1 push-buttons
8 + 1 LED indicators
Specifications
Board size: 132.1 x 116.8 mm
CPU piggyback size: 55.4 x 55.4 mm
Power input 6 - 12 V DC, 9 V DC typical
iSYSTEM, October 2003 2/8
Getting started
Setting up the board
The MC9S12H256 Evaluation board has been tested and programmed with the demo application. Please examine the board and check that:
The LCD module and the crystal oscillator are installed.
All jumpers (J1-J17) are set.
Standalone operation
Make sure that the CPU piggyback is installed.
Plug the DC source (e.g. AC wall adapter) to the P1 connector or apply DC source to the
connector P2.
Turn on the power switch SW1 and check the green power LED LD1.
The board should execute a sample application.
Use with MC9S12H256 ActivePOD
Remove the CPU piggyback from the board.
Connect the MC9S12H256 ActivePOD to the board.
Turn the emulator on and then power the target.
Run winIDEA, open a sample project and carry out the debug reset. The system is ready for
debugging.
Use with BDM debugger
Make sure that the CPU piggyback is installed.
Connect the 68HC(S)12 iCARD to a standard 6-pin BDM debug connector P7
Turn the emulator on and then power the target.
Run winIDEA, open a sample project and carry out the debug reset. The system is ready for
debugging.
Running winIDEA
It’s assumed that winIDEA is installed on a PC, where iSYTEM development tool is connected.
Contact your local iSYSTEM sales representative for a sample project or download it from: ftp://www.asystelectronic.si/winidea/samples/targets/itmc9s12h256.zip
Start winIDEA application from the Start menu and open a sample project workspace. If you are using ActivePOD, open sampleICE.jrf workspace and if you are using BDM debugger, open sampleBDM.jrf workspace. Next, check if proper emulator hardware is selected and the communication between the PC and the emulator. Carry out the debug reset and run the application (debug run) in case of BDM debugger and carry out the debug download and run the application (debug run) in case of MC9S12H256 ActivePOD. Blinking red LEDs (LD2-LD9) and a “Welcome” title on the LCD display indicate a working system. Additionally, a test string is sent to the host RS232 terminal.
There are four push buttons on the board designated SW1, SW2, RST and IRQ. RST resets the complete system. Make sure that ‘Reset from target’ option is checked in winIDEA when using RST button and the development system is connected to the board. IRQ turns on all LEDs. SW1 turns on one LED and shift its position to the left for each consecutive push. SW2 does the same except that it shifts in the opposite direction. Trimmer TR1 controls the LCD brightness. Use a mini-screwdriver to adjust it. Trimmers TR2 and TR3 are connected to the CPU A/D converter. TR2 is connected to the channel 0 and TR3 to the channel 1. Refer to the board schematic for more details.
iSYSTEM, October 2003 3/8
ITMC9S12H256 Operation
Power Supply
The external power supply must provide the voltage between 6 and 12 V DC (typical 9 V DC). Maximum current consumption shouldn’t exceed 100 mA when 9 V DC is used. The polarity is not important. Low voltage DC plug must conform to the DIN 45323 standards:
The hole diameter is 1.95 – 2.5 mm (standard: 2.1 mm)
The external diameter is 6.2 - 5.5 mm (standard: 5.5 mm)
Note: The emulator must be powered on first, then the target board and vice versa when switching off the system. First, switch off the target and then the emulator.
Jumpers
All CPU peripheral signals used on the board can be disconnected from the CPU via jumpers. By removing the jumper, the belonging signal is freed for the user. Note that all CPU signals are available on the expansion connectors and can be used by the user.
Jumper DESCRIPTION
J1 Enable AN0 (Analog input 0)
J2
J3
J4 Enable PS0 (Receive data)
J5 Enable PE1 (IRQ push-button)
J6
J7
J8 Enable PH2 (LD4)
J9 Enable PH3 (LD5)
J10
J11
J12 Enable PH6 (LD8)
J13 Enable PH7 (LD9)
J14
J15
J16 Enable PE6 (MODB=0)
J17 Enable PE5 (MODA=0)
Enable AN1 (Analog input 1)
Enable PS1 (Transmit data)
Enable PH0 (LD2)
Enable PH1 (LD3)
Enable PH4 (LD6)
Enable PH5 (LD7)
Enable PE0 (SW1 push-button)
Enable PM0 (SW2 push-button)
iSYSTEM, October 2003 4/8
LCD display
ITMC9S12H256 evaluation board uses 8-character LCD glass display. Each character consists of 14 segments. Following figures shows the segment position and a decoding table.
PIN COM1 COM2 COM3 COM4 PIN COM1 COM2 COM3 COM4 1
1D 1E 1F 1S
19
NC NC COM3 NC
2 1J 1I 1H 1G 20 NC NC NC COM4 3 2D 2E 2F 2S 21 8DP 8C 8B 8A 4 2J 2I 2H 2G 22 8K 8L 8M 8N 5 3D 3E 3F 3S 23 7DP 7C 7B 7A 6 3J 3I 3H 3G 24 7K 7L 7M 7N 7 4D 4E 4F 4S 25 6DP 6C 6B 6A 8 4J 4I 4H 4G 26 6K 6L 6M 6N 9 5D 5E 5F 5S 27 5DP 5C 5B 5A 10 5J 5I 5H 5G 28 5K 5L 5M 5N 11 6D 6E 6F 6S 29 4DP 4C 4B 4A 12 6J 6I 6H 6G 30 4K 4L 4M 4N 13 7D 7E 7F 7S 31 3DP 3C 3B 3A 14 7J 7I 7H 7G 32 3K 3L 3M 3N 15 8D 8E 8F 8S 33 2DP 2C 2B 2A 16 8J 8I 8H 8G 34 2K 2L 2M 2N 17 COM1 NC NC NC 35 1DP 1C 1B 1A 18 NC COM2 NC NC 36 1K 1L 1M 1N
Decoding Table
iSYSTEM, October 2003 5/8
Connectors
RS232 connector BDM debug connector
Pin DESCRIPTION
P1 N.C.
P2
P3
P4 N.C.
P5
P6
P7
P8 N.C.
P9
Expansion connectors
All CPU signals are present on the expansion connectors (P3, P4 and P5).
P3 P4 P5
TxD (Transmit data)
RxD (Receive data)
GND
N.C.
N.C.
N.C.
PU5
PU7 3 4 PU6 BP0 3 4 BP3 PU3 3 4 PU1
PH1
PH3
PV1
PV3 11 12 PV2 AN14 11 12 AN6 FP26 11 12 FP27
GND
PV5
PV7
PH5 19 20 PH4 AN10 19 20 AN2 VDD 19 20 GND
PH7 21 22 PH6 AN9 21 22 AN1 FP22 21 22 FP23
PW1
PW3
GND
PW5 29 30 PW4 PE6 29 30 PE0 FP18 29 30 FP19
~RST 31 32 BKGD VDDPLL 31 32 PE4 FP16 31 32 FP17
GND
VDD
PS3 37 38 PS2 PM0 37 38 PM1 FP10 37 38 FP11
PS1 39 40 PS0 PM2 39 40 PM3 FP8 39 40 FP9
PP5
PP3
PP1
PW4 47 48 PW6 PS7 47 48 PE1 FP5 47 48 FP3
1 2 PU4 FP1 1 2 BP1 VDD 1 2 GND
5 6
7 8
9 10
13 14
15 16
17 18
23 24
25 26
27 28
33 34
35 36
41 42
43 44
45 46
PH0 BP2
PH2 GND
PV0 AN15
VDD AN13
PV4 AN12
PV6 AN11
PW0 AN8
PW2 VDD
VDD GND
VDD GND
GND VDD
PP4 PM4
PP2 PE5
PP0 PS5
5 6
7 8
9 10
13 14
15 16
17 18
23 24
25 26
27 28
33 34
35 36
41 42
43 44
45 46
BKGD
N.C.
N.C. 5 6 VDD
VLCD PU2
VDD1 PT7
AN7 PT4
AN5 FP24
AN4 PJ2
AN3 PJ0
AN0 FP20
VDD FP30
GND FP28
XFC FP14
GND FP12
PM5 FP6
PS4 FP0
PS6 FP4
1 2
3 4
GND
~RST
5 6
7 8
9 10
13 14
15 16
17 18
23 24
25 26
27 28
33 34
35 36
41 42
43 44
45 46
PU0
PT7
PT5
FP25
PJ3
PJ1
FP21
FP31
FP29
FP15
FP13
FP7
GND
FP2
iSYSTEM, October 2003 6/8
Schematic
iSYSTEM, October 2003 7/8
This page left blank intentionally.
iSYSTEM, October 2003 8/8
Loading...