SOFTEC MICROSYSTEMS IDB-HC08QY User Guide

r its use; nor for any infringements
IDB-HC08QY Evaluation Board For Motorola MC68HC908QY
User’s Manual
1. Introduction
Copyright © 2002 SofTec Microsystems® DC00540
Overview
The IDB-HC08QY Evaluation Board demonstrates the capabilities of the 16-pin MC68HC908QY devices. The IDB-HC08QY Evaluation Board can be used as a standalone application or with an emulator system, such as inDART-HC08, through a MON08-compatible connection.
Board Features
The IDB-HC08QY Evaluation Board has the following hardware features:
1. An MC68HC908QY4 microcontroller (in DIP16 package, already programmed with a demo application—in addition, you can also use any of the MC68HC908QY family devices);
2. ZIF socket for the microcontroller;
3. A standard MON08 connector;
4. Eight jumpers to connect/disconnect each of the eight LEDs to/from their respective Port B;
5. Eight high-efficiency (low-current) LEDs connected to Port B;
SofTec Microsystems
E-mail (general information): info@softecmicro.com E-mail (marketing department): marketing@softecmicro.com E-mail (technical support): support@softecmicro.com Web: http://www.softecmicro.com
Important
SofTec Microsystems reserves the right to make improvements to its products, their documentation and software routines, without notice. Information in this manual is intended to be accurate and reliable. However, SofTec Microsystems assumes no responsibility fo of rights of third parties which may result from its use.
SOFTEC MICROSYSTEMS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
Trademarks
inDART is a trademark of SofTec Microsystems. Microsoft and Windows are trademarks or registered trademarks of Microsoft Corporation. PC is a registered trademark of International Business Machines Corporation. Other products and company names listed are trademarks or trade names of their respective companies.
IDB-HC08QY User's Manual
6. A potentiometer, together with a jumper to connect/disconnect it to/from PTA1;
7. A push-button switch connected to RESET;
8. A push-button switch, together with a jumper to connect/disconnect it to/from PTA4;
9. A 16-MHz oscillator, together with a jumper to connect/disconnect it from the microcontroller’s OSC1 pin;
10. A connector for a 9-12-V, 200-mA (unregulated) power supply and an auxiliary power supply connector for a 5-V (max., regulated), together with a jumper to select the power supply source;
11. A connector area to access the I/O pins of the microcontroller for expansion prototyping;
12. A prototyping area.
10
3
5
11
1
9
2
Supported Devices
The IDB-HC08QY Evaluation Board supports the following devices:
§ MC68HC908QY1;
§ MC68HC908QY2;
§ MC68HC908QY4;
§ And any future MC68HC908QY family pin-to-pin compatible device.
Recommended Reading
Motorola MCU CD-ROM or individual datasheet; Motorola CPU08 Central Processor Unit Reference Manual; inDART-HC08 User’s Manual.
7 8
The IDB-HC08QY Demo Board
4
12
6
Page 2
2. Getting Started
Overview
The IDB-HC08QY Evaluation Board may be used as a standalone application or with a MON08-based emulator/programmer (host mode).
Standalone Mode
The IDB-HC08QY Evaluation Board comes with the microcontroller pre­programmed with a sample application. When working in standalone mode, the sample application configures the A/D peripheral to convert on the A/D channel connected to the potentiometer and displays the results on the LEDs.
In order for the IDB-HC08QY Evaluation Board to work in standalone mode, the MON08 connector’s pins must be jumpered as show below (factory setting).
IDB-HC08QY User's Manual
MON08 Connector Jumpered for Standalone Mode Operation
Additionally, you must verify that the board’s other jumpers are set correctly.
§ Make sure that both the “OSC SEL” (J7) jumper selects the “OSC” position. This is needed to enable the on-board 16-MHz oscillator.
§ Make sure that all of the “LED ENABLE” jumpers (J8) and the “POTENTIOMETER ENABLE” jumper (J10) are inserted.
§ Make sure that the pre-programmed sample device is in the appropriate socket on the board. Finally, power up the board. The IDB-HC08QY Evaluation Board can be powered either via the “UNREG. VDD” connector (J3) or the “REG. VDD” connector (J4).
The “UNREG. VDD” connector accepts 9-12 V DC, 200-mA wall plug-in power supply with a 2.1 mm pin and sleeve plug with positive in the center and sleeve as ground. When powering the board through this connector, make sure the “VDD SOURCE” connector (J5) selects the “UNREG.” Position. The “UNREG. VDD” voltage is internally regulated to 5 V DC.
The “REG. VDD” connector accepts 5 V DC (max.). When powering the board through this connector, make sure the “VDD SOURCE” connector (J5) selects the “REG.” Position. The “REG. VDD” voltage directly powers the microcontroller and the rest of the board.
Page 3
IDB-HC08QY User's Manual
Upon powering up the board, the green “POWER” LED turns on. By rotating the potentiometer, you affect the results of the A/D conversion, and the value of each conversion is displayed (in a linear bar fashion) on the LEDs.
Host Mode
The IDB-HC08QY Evaluation Board can be used in conjunction with a MON08-based emulator/programmer, such a SofTec Microsystems’ inDART-HC08 In-Circuit Debugger/Programmer or a Motorola development tool.
If you use the evaluation board with SofTec Microsystems’ inDART­HC08, a sample application similar to that described in the previous section can be executed in “Host” mode, where the program execution is controlled by the host PC. You can use the PC, additionally, to debug the application by, for example, execute the program step by step and watching how the microcontroller registers vary, by using the Metrowerks’ CodeWarrior HC08 IDE provided with inDART-HC08. The example is available both in Assembly and in C language. Please refer to the inDART-HC08 user’s manual for a step-by-step tutorial.
In order to work with an emulator/programmer, the jumpers in the MON08 connector must be removed, and the MON08 cable of the emulator/programmer must be connected to the evaluation board’s MON08 connector (J1) connector, taking care of the proper polarity. The J2 connector is not used in this mode.
3. MON08 Connections (J1 Connector)
Pin # Pin Name Description
1 RST_OUT# Reset signal to target system: GND or open drain output
2 GND System ground. 3 RST_IN# Reset signal from target system: GND to VDD input to control
4 RST# MCU reset; held at VDD out of reset. No other target-system
5 TGT_IRQ# Interrupt signal from target system: GND to VDD input to control
6 IRQ# MCU interrupt; held at VPP when the TGT_IRQ# signal is not
7 TGT_PTA0 Port A, bit 0; reserved MCU connection (unavailable to
8 PTA0 Port A, bit 0; MON08 single-wire communication. 9 TGT_PTA4 Port A, bit 4. 10 PTA4 Port A, bit 4; grounded during reset. 11 TGT_PTA1 Port A, bit 1. 12 PTA1 Port A, bit 1; held at VDD during reset. 13 None N.C. 14 None N.C. 15 None N.C. 16 None N.C.
reflecting the state of the MCU RST# and RST_IN# signals.
the state of the MCU RST# and RST_OUT# signals.
logic should be tied to this signal.
the state of the MCU IRQ# signal.
asserted.
application).
MON08 Signals
Page 4
VDD
VDD
LD9
PTB7R17
R18
470R
Q8
BSS138
10K
R1
470R
GREEN
LD1
POWER
C4
100nF
10uF
+ C3
RED
LD8
PTB6R15
R16
470R
Q7
BSS138
10K
RED
LD7
PTB5R13
R14
470R
Q6
BSS138
10K
RED
LD6
PTB4R11
R12
470R
Q5
BSS138
10K
J8
1 2
PTB7
PTB0
RED
LD5
PTB3R9
R10
470R
Q4
BSS138
10K
3 4
5 6
7 8
9 10
11 12
13 14
15 16
PTB6
PTB5
PTB4
PTB3
PTB2
PTB1
PTB0
PTB1
PTB2
PTB3
PTB4
PTB5
PTB6
PTB7 2
PTB015PTB114PTB211PTB310PTB47PTB56PTB63PTB7
LD4
R8
Q3
BSS138
LED ENABLE
16
RED
PTB2R7
470R
10K
VSS
VSS
RED
LD3
PTB1R5
R6
470R
Q2
BSS138
10K
RED
LD2
PTB0R3
R4
470R
Q1
BSS138
10K
VSS
P1
PTA1
1K
VDD
VSSVSS
VDD
U1
VDD
1
100nF
C6
10uF
+ C5
R19
10K
J5
VDD SOURCE+ C1
123
(UNREG.)
(REG.)
3
VOUT
GND
2
VSS
VIN
U2
78M05
1
C2
100nF
10uF
VSS
D1
PTB0
(PTA0)
TGT_PTA0
PTB1
GF1M
312
J3
(PTA1)
PTB3
PTB2
TGT_PTA1
UNREG. VDD
9-12V
TGT_IRQ# (PTA2/IRQ#) RED
1
2
J4
REG. VDD
MAX 5V
VSS
POWER SUPPLYSIGNAL PINS
PTA4/OSC2/AD2/KBI4
PTA3/RST#/KBI3
PTA2/IRQ#/KBI2
PTA1/AD1/TCH1/KBI1
PTA0/AD0/TCH0/KBI0
4
5
8
9
12
13
PTA0
PTA1
IRQ#
RST#
PTA4
VSS
J7
(USER)
PTA5
VDD
RST#
PTA5/OSC1/AD3/KBI5
C7
100nF
OSC SEL
123
(OSC.)
OSC
U3
16MHz
+-
C8
100nF
IRQ#
PTA1
PTA0
MC68HC908QY
VSS
VSS
VSS
VDD
R2
10K
RST_IN#
J10
1 2
TGT_PTA1
J9
1 2
TGT_PTA4
SW1
ENABLE
ENABLE
RESET
SW2
IDB-HC08QY Sheet: 1/1Date: 25/10/2002ID: SD00285
PTA4
VSS
INPUTS OUTPUTS
www.softecmicro.com
J6
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18
VDD
PTB7
PTB6
PTA5
TGT_PTA4
PTB5
PTB4
RST_IN# RST_OUT#
(N.C.)
(PTA4)
1J21 2
RST#
J1
RST_OUT#
3 4
5 6
RST_IN#
TGT_IRQ#
7 8
9 10
11 12
TGT_PTA1
TGT_PTA0
TGT_PTA4 PTA4
13 14
15 16
MON08 INTERFACE OSCILLATOR MCU
Loading...