SofTec Microsystems IDB-HC08AP User manual

Type
User manual
Copyright © 2006 SofTec Microsystems®
DC01020
SofTec Microsystems
E-mail (general information): info@softecmicro.com
E-mail (marketing department): marketin[email protected]
E-mail (technical support): supp[email protected]
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 for its use; nor for any infringements
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
SofTec Microsystems is a registered trademark of SofTec Microsystems, Spa.
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc.
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-HC08AP
Evaluation Board
For Freescale MC68HC908AP
User’s Manual (Rev. 2.0)
1. Introduction
Overview
The IDB-HC08AP Evaluation Board demonstrates the capabilities of the
48-pin MC68HC908AP devices. The IDB-HC08AP 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-HC08AP Evaluation Board has the following hardware features:
1. An MC68HC908AP64 microcontroller (in QFP48 package, already
programmed with a demo application—in addition, you can also use
any of the pin-to-pin-compatible MC68HC908AP family devices);
2. ZIF socket for the microcontroller;
3. A standard MON08 connector;
4. Eight jumpers to connect/disconnect each of the eight DIP-switches
to/from their respective Port B pins;
5. Eight general-purpose DIP-switched connected to Port B;
IDB-HC08AP User's Manual
Page 2
6. Eight jumpers to connect/disconnect each of the eight LEDs to/from
their respective Port D pins;
7. Eight high-efficiency (low-current) LEDs connected to Port D;
8. A push-button switch connected to RESET;
9. A push-button switch, together with a jumper to connect/disconnect it
to/from PTA6;
10. A potentiometer, together with a jumper to connect/disconnect it
to/from PTA7;
11. A 16-MHz oscillator, together with a jumper to connect/disconnect it
from the microcontroller’s OSC1 pin;
12. A connector for a 9-12 V, 200 mA (unregulated) power supply and an
auxiliary connector for a 5 V (max., regulated) power supply, together
with a jumper to select the power supply source;
13. A connector area to access the I/O pins of the microcontroller for
expansion prototyping;
14. A prototyping area.
1
2
3
4
5
10 8 9
11
12
13 14
6 7
The IDB-HC08AP Demo Board
Supported Devices
The IDB-HC08AP Evaluation Board supports the following devices:
MC68HC908AP16;
MC68HC908AP32;
MC68HC908AP64;
And any future MC68HC908AP family pin-to-pin compatible device.
Recommended Reading
Freescale MCU CD-ROM or individual datasheet;
Freescale CPU08 Central Processor Unit Reference Manual;
inDART-HC08 User’s Manual.
IDB-HC08AP User's Manual
Page 3
2. Getting Started
Overview
The IDB-HC08AP Evaluation Board may be used as a standalone
application or with a MON08-based emulator/programmer (host mode).
Standalone Mode
The IDB-HC08AP 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. By pressing the PTA6 push button, the DIP-switches status
is diplayed on the LEDs instead.
In order for the IDB-HC08AP Evaluation Board to work in standalone
mode, the MON08 connector’s pins must be jumpered as shown below
(factory setting).
MON08 Connector Jumpered for Standalone Mode Operation
Additionally, you must verify that the board’s other jumpers are set
correctly.
Make sure that the “OSC SEL” (J7) jumper selects either the “5V”
position or the “3.3V” position. This is needed to enable the on-board
16-MHz oscillator with the correct signal voltage. If the microcontroller
works at 3.3 V, the “OSC SEL” jumper must select the “3.3V”
position; if the microcontroller works at 5.0 V, the “OSC SEL” jumper
must select the “5V” position.
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-HC08AP 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” jumper (J5) selects the
“UNREG.” Position. The “UNREG. VDD” voltage is internally regulated to
5 V DC.
IDB-HC08AP User's Manual
Page 4
The “REG. VDD” connector accepts 5 V DC (max.). When powering the
board through this connector, make sure the “VDD SOURCE” jumper (J5)
selects the “REG.” position. The “REG. VDD” voltage directly powers the
microcontroller and the rest of the board.
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-HC08AP 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 Freescale
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.
IDB-HC08AP User's Manual
Page 5
3. MON08 Connections (J1 Connector)
Pin # Pin Name Description
1 RST_OUT# Reset signal to target system: GND or open drain output
reflecting the state of the MCU RST# and RST_IN# signals.
2 GND System ground.
3 RST_IN# Reset signal from target system: GND to VDD input to control
the state of the MCU RST# and RST_OUT# signals.
4 RST# MCU reset; held at VPP out of reset. No other target-system
logic should be tied to this signal.
5 TGT_IRQ# Interrupt signal from target system: GND to VDD input to control
the state of the MCU IRQ# signal.
6 IRQ# MCU interrupt; held at VPP when the TGT_IRQ# signal is not
asserted.
7 N.C. Not connected.
8 N.C. Not connected.
9 TGT_PTA0 Port A, bit 0; reserved MCU connection (unavailable to
application).
10 PTA0 Port A, bit 0; MON08 single-wire communication.
11 TGT_PTA2 Port A, bit 2.
12 PTA2 Port A, bit 2; grounded during reset.
13 TGT_PTA1 Port A, bit 1.
14 PTA1 Port A, bit 1; held at VDD during reset.
15 TGT_PTB0 Port B, bit 0.
16 PTB0 Port B, bit 0; held at ground or VDD during reset, depending on
the “Frequency Divider” parameter (see inDART-HC08 User’s
Manual).
MON08 Signals
SW1
RESET SW2
PTA6
IRQ#
C6
100nF
+ C5
10uF
P1
PTA7
VSSVSS VSS
VDD
VSS
PTD0
PTB6
VDD
OSC1
PTB4
TGT_IRQ#
PTB3
PTC7
RST#
PTD6
VDD
IDB-HC08AP Sheet: 1/1Date: 22/05/2003ID: SD00313
1 2
J9
ENABLE
R2
10K
VDD
1 2
J10
ENABLE
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9SW3
SW
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
J11
SW ENABLE
PTB3
PTB2
PTB1
TGT_PTB0
R10
10K
R9
10K
R8
10K
R7
10K
R6
10K
R5
10K
R4
10K
R3
10K
VDD
VSS
LD9
PTD7R25
10K
R26
470R
PTD7
PTD6
PTD5
PTD4
PTD3
PTD2
PTD1
PTD0
Q8
BSS138
LD8
PTD6R23
10K
R24
470R
Q7
BSS138
LD7
PTD5R21
10K
R22
470R
Q6
BSS138
LD6
PTD4R19
10K
R20
470R
Q5
BSS138
LD5
PTD3R17
10K
R18
470R
Q4
BSS138
LD4
PTD2R15
10K
R16
470R
Q3
BSS138
LD3
PTD1R13
10K
R14
470R
Q2
BSS138
LD2
PTD0R11
10K
R12
470R
Q1
BSS138
VSS
VDD
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
J8
LED ENABLE
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
J1
RST_O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
5
OSC2
6
VSS 7
PTB4/T1CH0
8
PTC1 21
PTC2/MISO 20
PTD3/KBI3 41
PTD7/KBI7 37
PTD6/KBI6 38
VREG
2
NC
33
NC
34
PTB2/TxD
12 PTB1/SCL
13 PTB0/SDA
14
PTC7/SCRxD 15
IRQ1# 9
PTB3/RxD
10
RST# 11
PTD5/KBI5 39
PTD1/KBI1 45
VDDA
43
PTD2/KBI2 44
CGMXFC 48
PTD0/KBI0 46
PTB7/T2CH1
47
VREFH
36
U1
MC68HC908AP
PTC7
VREG
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18
19 20
21 22
23 24
25 26
27 28
29 30
31 32
33 34
35 36
37 38
39 40
41 42
43 44
45 46
47 48
49 50
J6
PTA7
RST_IN# RST_OUT#
PTA6
(N.C.)
(N.C.)
(N.C.)
(N.C.)
(PTB0) VSS VSS
1 2
3 4
5 6
J7
OSC SEL
R29
1K
R30
1K
C9
22pF
(3.3V)
VSS
+ C10
10uF
C11
100nF
VSS
LD1
POWER
D2
BAT54S
VIN
1
GND
2
VOUT 3
U2
78M05
GREEN
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6

SofTec Microsystems IDB-HC08AP User manual

Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI