ETC DEMO908GZ60UG

DEMO908GZ60
Demonstration Module for Freescale 68HC908GZ60
Axiom Manufacturing • 2813 Industrial Lane • Garland, TX 75041
Email: [email protected] Web: http://www.axman.com
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
CONTENTS
CAUTIONARY NOTES ..............................................................................................................4
TERMINOLOGY .................................................................................................................... 4
FEATURES ................................................................................................................................5
REFERENCE DOCUMENTATION ........................................................................................ 6
GETTING STARTED..................................................................................................................6
RUN MODE ........................................................................................................................... 6
MON08 DEBUG MODE ON COM ......................................................................................... 7
SOFTWARE DEVELOPMENT .............................................................................................. 8
MEMORY MAP ..........................................................................................................................8
OPERATION ..............................................................................................................................9
POWER SUPPLY .................................................................................................................. 9
TB1 – Terminal Block ........................................................................................................ 9
PWR_SEL Jumper .......................................................................................................... 10
POWER SWITCH................................................................................................................ 11
RESET SWITCH ................................................................................................................. 11
TIMING ................................................................................................................................ 11
Connectors J1 and J2...................................................................................................... 11
COMMUNICATIONS ........................................................................................................... 12
RS-232 Communications................................................................................................. 12
COM Connector .............................................................................................................. 13
COM Select Jumper ........................................................................................................ 13
LIN COMMUNICATIONS..................................................................................................... 14
CAN COMMUNICATIONS................................................................................................... 14
MON08 COMMUNICATIONS.............................................................................................. 14
MON08 CONFIGURATION ................................................................................................. 15
MON08 PORT ................................................................................................................. 16
USER COMPONENTS ........................................................................................................ 16
Pushbutton Switches ....................................................................................................... 17
LED Indicators ................................................................................................................. 17
RV1 Potentiometer .......................................................................................................... 17
RZ1 Photocell .................................................................................................................. 17
APPENDIX A............................................................................................................................18
BILL OF MATERIALS .......................................................................................................... 18
2
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
Table of Figures
Figure 1: TB1 Terminal Block Connector..................................................................................10
Figure 2: PWR_SEL Jumper Settings.......................................................................................10
Figure 3: COM Connector.........................................................................................................13
Figure 4: COM_MODE Jumper ................................................................................................13
Figure 5: COM_SEL Jumper ....................................................................................................14
Figure 6: LIN Connector – CON1, CON2..................................................................................14
Figure 7: CAN Bus Connector ..................................................................................................14
Figure 8: MON_EN Jumper Setting ..........................................................................................15
Figure 9: VTST_EN Jumper Setting .........................................................................................15
Figure 10: MON08 on COM Setup ...........................................................................................15
Figure 11: MON08 on Port Setup .............................................................................................16
Figure 12: MON08 Port Connector ...........................................................................................16
Table of Tables
Table 1: MCU IO Connectors ...................................................................................................12
Table 2: COM Connections ......................................................................................................13
Table 3: USER_EN Option Settings .........................................................................................17
3
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
CAUTIONARY NOTES
1) Electrostatic Discharge (ESD) prevention measures should be used when handling this
product. ESD damage is not a warranty repair item.
2) Axiom Manufacturing 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 patent
rights or the rights of others.
3) EMC Information on the DEMO908GZ60 module:
a) This product as shipped from the factory with associated power supplies and cables, has
been verified to meet with requirements the FCC as a CLASS A product.
b) This product is designed and intended for use as a development platform for hardware
or software in an educational or professional laboratory.
c) In a domestic environment, this product may cause radio interference in which case the
user may be required 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 other
apparatus in the immediate vicinity. If such interference is detected, suitable mitigating
measures should be taken.
TERMINOLOGY
This development module uses option selection jumpers. A jumper is a plastic shunt that connects 2 terminals electrically. Terminology for application of the option jumpers is as follows:
Jumper on, in, or installed - jumper is installed such that 2 pins are connected together.
Jumper off, out, or idle - jumper is installed on 1 pin only. It is recommended that jumpers be idled by installing on 1 pin so they will not be lost.
Cut-Trace – a circuit trace connection between component pads. The circuit trace may
be cut using a knife to break the default connection. To reconnect the circuit, simply install a suitably sized 0-ohm resistor or attach a wire across the pads.
4
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
FEATURES
The DEMO908GZ60 is an evaluation or demonstration module for the 68HC908GZ60
microcontroller. Development of applications is quick and easy with the included wall plug,
DB9 serial cable, sample software tools, and examples. The MON08 port is provided for
development tool application and is compatible with HC08 monitor interface cables and
software. The module provides options to allow MON08 access through the COM port also. A
40-pin MCU I/O connector (J1) allows interfacing the DEMO908GZ60 module to external
connections.
Features:
•
•
•
•
•
•
•
•
•
•
•
•
68HC908GZ60 CPU
• 64 LQFP
• 60K Byte Flash
• 2K Bytes Ram
• 53 I/O lines, 13 Dedicated
• 16-bit, 2-Ch Timer w/ IC/OC/PWM
• 16-bit, 6-Ch Timer w/ IC/OC/PWM
• SCI and SPI Communications Ports
• 8 Key Board Wake-up Ports
• ADC
• 4Mhz Internal Bus Operation
Regulated +5V power supply
Power Input Selection Jumper
Optional power input from Connector J1
Optional power output through Connector J1
8 MHz Ceramic Resonator
RS-232 COM Serial Port w/ DB9 Connector
Optional MON08 Interface through COM Port
User Components Provided
• 3 Push Switches; 2 User, Reset
• 3 LED Indicators; 2 User, +5V
• Run/Load Slide Switch
• On/Off Slide Switch
Option Jumpers
• Enable User Component
• Power Select
• OSC_SEL
• COM_SEL
• MON_EN
• VTST_EN
Connectors
• 2 40-pin MCU I/O Connector, stack through type
• 2-Position, Screw-type, Power Input Terminal Block
• MON08 Debug Cable Header
• DB9 Serial COM Connector
Supplied with DB9 Serial Cable, Documentation (CD), and Manual.
Specifications:
Module Size 2.45” x 3.1”
Power Input: 9VDC @ 200 mA typical, +6 to +16VDC,
5
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
Reference Documentation
Reference documents are provided on the support CD in Acrobat Reader format.
DEMO908GZ60_SCH_C.pdf
DEMO908GZ60_UG.pdf
MC68HC908GZ60/D.pdf
DEMO908GZ60 Module Schematic Rev. C
DEMO908GZ60 User Guide (this document)
68HC908GZ60 Device User Guide
See the HC08 Support CD provided with this board for all the documentation and support files
provided.
GETTING STARTED
The DEMO908GZ60 Module operates in two basic Modes, Run Mode, or MON08 Debug
Mode. Run Mode supports user application operation from Power On or Reset condition.
MON08 Debug Mode supports the development and debug of applications via the MON08
embedded debug monitor. See the related sections below for quickly starting the module in
the desired operation mode.
The Module may be operating a Demonstration (DEMO) program when shipped from the
factory. If so, the Module kit contents will include a Quick Start document explaining the
operation of the Demonstration program. The demo program operates in RUN Mode.
The module must be powered to operate. The +5V will light when the board is powered from
the on-board regulator, or if the board is setup to provide power to an external circuit through
connector J1. The +5V LED should not light when the board is powered through connector J1.
If it does, the PWR_SEL jumper is incorrectly configured and may result in damage to the onboard regulator. Refer to the PWR_SEL option and J1 connector chapter for more detail on
these selections.
RUN MODE
RUN Mode operates the HC08 application contained in the internal flash memory from Reset
or Power On condition. Use the following settings to configure the DEMO908GZ60 module for
RUN Mode to get started quickly.
1. Configure PWR_SEL option for input supply to power the module. If supply is via J1 connection, install module on J1 external connection in powered down condition.
2. Connect serial communication cable between the module COM port and the host if needed.
Launch supporting host software for the module communication.
6
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
3. Set module options for RUN Mode:
VTST_EN
MON_EN
COM_EN
RUN/LOAD
USER_EN
Off / open / idle
Off/ open / idle
2-3 (COM position)
Set to RUN
Enabled as needed for application operation
4. Power On the Module. Application will begin to execute.
MON08 DEBUG MODE on COM
MON08 Monitor Mode operates the HC08 internal MON08 debug monitor from Power-On.
This mode is accessible by setting Module options or by applying a supporting development
cable to the Debug Port. For Debug cable application, the state of the MON_EN option jumpers is DON’T CARE. The COM_EN option jumper should be set to the 2-3 position. The
VTST_EN jumper may be required. Refer to the MON08 Configuration section of this document for further details. The following settings configure the DEMO908GZ60 module for
MON08 Debug Mode on COM:
1. Configure PWR_SEL option for input supply to power the module. If supply is via J1 connection, install module on J1 external connection in powered down condition. Note that the
VTST_EN option requires 9VDC minimum applied at TB1 to function correctly.
2. Connect one end of the supplied 9-pin serial cable to a free COM port on the PC. Connect
the other end of the cable to the COM port connector on the DEMO908GZ60 module.
3. Install and launch the PC Hosting software for the MON08 communication interface. This
may be a C compiler with IDE and MON08 communication or another MON08 debug hosting type software.
4. Set the Module options for MON08 Debug Mode:
VTST_EN
MON_EN
COM_EN
USER_EN
ON / Installed on both pins (required if the Reset
vector is not erased in the flash memory)
ON / Installed on both pins
1-2 (DEBUG position)
Enabled as needed for application operation
5. Apply +9VDC minimum power to the module. This may be applied by TB1 or through J1.
6. Hosting development software will establish MON08 communication now.
7
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
Software Development
Software development will require the use of an HC08 assembler or compiler and a host PC
operating a MON08 debug interface. Supplied with this board is the Motorola MCUez HC08
assembler tools along with the Axiom MON08 IDE for Windows for Debugging and Flash programming. A demonstration or evaluation copy of a C compiler may also be provided.
A powerful source code generation tool called DriveWay™ is also provided on the support CD.
This can generate C source code for the HC08 microcontroller peripherals, based on setup.
See the DriveWayTM readme.txt file for more information.
MEMORY MAP
0x0000
0x003F
0x0040
0x043F
0x0440
0x0461
0x0462
0x04FF
0x0500
0x057F
0x0580
0x097F
0x0980
0x1B7F
Registers
RAM-1
64 bytes
1024 bytes
Registers
34 bytes
Flash-2
158 bytes
MSCAN
128 bytes
RAM-2
1024 bytes
Flash-2
4608 bytes
Reserved
0x1E00
0x1E0F
Monitor ROM
16 bytes
Reserved
0x1E20
0x7FFF
0x8000
0xFDFF
0xFE00
0xFE0E
0xFE0F
0xFE1F
0xFE20
0xFF7F
0xFF80
0xFF88
0xFF89
0xFFCB
0xFFCC
0xFFFF
Flash-2
24.5K bytes
Flash-1
31.5K bytes
Status and Control
15 bytes
Unimplemented
Monitor ROM
352 bytes
Flash Control
8 bytes
Reserved
Vectors
52 bytes
NOTE: The memory map above generally describes the MCU Memory Map. Refer to the
68HC908GZ60 documentation for a detailed memory map.
8
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
OPERATION
The DEMO908GZ60 module provides input and output features to assist in microcontroller application development. The user has access to MCU ports through connectors J1 and J2.
Each connector is a 40-position pass-through socket type connector mounted on the bottom of
the module. Insertion of pin headers is possible from the top or bottom of the module. This
allows stacking or connecting the module as needed. Connector J1 may be used to apply
power to the module as well as RS-232 communications signals. Care must be exercised
when using the MCU_PORT to power the module, as only regulated +5V DC should be applied to this connection. The PWR_SEL option jumper configures the module to accept input
power on connector J1 or to provide regulated +5V to an external device attached to connector
J1.
Multiple option jumper blocks configure module operation. Enabling an associated option requires installing a jumper, or shunt, across the appropriate header pins so that both pins are
connected via the jumper. Removing the shunt disables the associated option.
POWER SUPPLY
Input power may be applied by external connection to a 2 position terminal block and 5V
regulator or directly from connector J1. The input supply is selected by the PWR_SEL option.
TB1 – Terminal Block
The TB1 terminal block allows external voltage to be supplied to the module. Input voltage
should be limited to +6VDC and +16VDC; +9VDC is typical. The terminal block is a 3.55mm,
screw-type, connector that accepts a maximum 18 AWG wire. An on-board voltage regulator
(VR1) converts the input voltage to the +5VDC used by the module. Bulk capacitance on the
regulator input and output provides noise immunity on the power input.
Reverse polarity protection is provided at the Terminal Block input. This will prevent damage
to the module if the input voltage is inadvertently reversed.
9
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
Figure 1: TB1 Terminal Block Connector
+6VDC +16VDC
MCU_PORT
J1
GND
+
2 Position, ScrewType Terminal Block
PWR_SEL Jumper
The PWR_SEL jumper selects the source of power input to the module, or provides+5VDC to
J1 for use by external circuits. The module takes voltage input from the 2-position on-board
voltage regulator or from the 40-pin MCU connector (J1). Power input at the terminal block
must be DC voltage between +7VDC and +16VDC. Power input on the MCU connector must
be regulated voltage between +4.75VDC and +5.25VDC. The MCU_PORT connector power
input allows use of batteries, or other alternate sources, to power the module.
CAUTION: Module damage may occur if the MCU_PORT power input pins (J11, J1-3) are over-driven.
The PWR_SEL option jumper provides 3 possible configurations; source power from the PWR
connector, source power from J1, or source power from PWR and supply power to J1. The
figure below shows the settings for each configuration.
Figure 2: PWR_SEL Jumper Settings
1
2
• •
• •
Module powered from external input connected to J1-1 (+) and
J1-3 (-). +5VDC Maximum input voltage.
1
2
• •
• •
Module powered from external +6VDC - +16VDC connected to
TB1 Terminal Block. J1-1 is open or not connected.
1
2
• •
• •
Module powered from external +6VDC - +16VDC connected to
TB1 Terminal Block. Module provides +5VDC output at pin J1
for use by external circuits.
NOTE: Power output from the module is limited by the 250 mA maximum output of the on-board voltage regulator.
NOTE: External circuit connected to J1 should limit current flow to less than
50 mA to prevent current-limiting the power supply (VR1).
10
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
Power Switch
A Power Switch (PWR_SW) has been provided between the input Terminal Block and the voltage regulator to allow the user to turn the board on and off. The Power Switch connects or
disconnects only power applied to the terminal block. Voltage applied to connector J1 is not
affected by this switch.
Reset Switch
The RESET switch provides a method to apply an asynchronous reset to the module. Pressing the RESET switch applies a low voltage level to the RST* input. A resistor tied to the high
voltage rail prevents spurious RESET input to the MCU. A capacitor tied to ground holds the
signal line low for a sufficient amount of time.
Timing
An 8 MHz ceramic resonator at Y1 provides timing to the DEMO908GZ60. This allows a default 4.0 MHz internal operating frequency. Using the embedded PLL, the internal bus frequency can be increased to a maximum of 8 MHz. The resonator output is routed to the MCU
only and is not available at connector (J1).
Connectors J1 and J2
Connectors J1 and J2 are 40-pin, surface-mount, socket headers mounted on the bottom of
the module. Each connector is mounted over plated-through holes in the PCB. The socket is
a pass-through type socket designed to allow header insertion from either the top or bottom.
These connectors provide maximum flexibility allowing the module to connect directly to an expanded development environment or to test equipment. Access to all MCU signals is available
at connector J1 or J2.
Power may be supplied to the module through pins J1-1 (+V) and J1-3 (GND). Use of this option requires input voltage between +4.75VDC and +5.25VDC. This input directly connects to
the module power and ground planes. Care should be exercised not to over-drive this input.
J1 can also be used to source power from the on-board regulator to external modules. The
PWR_SEL option header determines how power is routed to and from the module.
NOTE: Power output from the module is limited by the 250 mA maximum output of the on-board
voltage regulator.
The table below shows the pin-out for the MCU IO Connectors.
11
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
Table 1: MCU IO Connectors
J1
VX
GND
PET0/TXD
PTE1/RXD
PTA0/KBD0/AD8
PTA1/KBD1/AD9
PTD4/T1CH0
PTD5/T1CH1
PTD2/MOSI
PTD1/MISO
PTD3/SPSCK
PTD0/SS*/MCLK
PCT2
PCT3
PCT4
PCT5
PCT6
PTE2
PTE3
PTE4
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
J2
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
IRQ*
RESET*
PTA2/KBD2/AD10
PTA3/KBD3/AD11
PTB0/AD0
PTB1/AD1
PTB2/AD2
PTB3/AD3
PTB4/AD4
PTB5/AD5
PTB6/AD6
PTB7/AD7
PTC0/CANTX
PTC1/CANRX
PTA24/KBD4
PTA5/KBD5/AD13
PTD6/T2CH0
PTD7/T2CH1
PTA6/KBD6/AD14
PTA7/KBD7/AD15
PTE2
PTE3
PTE4
PTE5
PTF0
PTF1
PTF2
PTF3
PTF4/T2CH2
PTF5/T2CH3
PTF6/T2CH4
PTF7/T2CH5
PTG0/AD16
PTG1/AD17
PTG2/AD18
PTG3/AD19
PTG4/AD20
PTG5/AD21
PTG6/AD22
PTG7/AD23
41
43
45
47
49
51
53
55
57
59
61
63
65
67
69
71
73
75
77
79
42
44
46
48
50
52
54
56
58
60
62
64
66
68
70
72
74
76
78
80
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
Communications
The DEMO908GZ60 module provides a single serial communications port and a single CAN
communications port. The Enhanced SCI port supports both RS-232 and Local Interconnect
Network (LIN) protocols. An option jumper (COM_SEL) selects between the communications
protocol implemented. The CAN port utilizes a direct data connection to the MCU and provides a 3-pin header to connect off-board circuits.
RS-232 Communications
An RS-232 translator (U2) provides RS-232 signal level to TTL/CMOS logic level translation on
the COM port. Signals TXD and RXD are routed between the transceiver and the MCU.
These signals are also routed to connector J1. RS-232 communication signals input on J1
must be TTL/CMOS logic levels; no translation support is provided through this path. The
transceiver output may also be driven off-module if a suitable interface is used. As added development support, hardware flow control signals RTS and CTS are available on the logic side
of U3. These signals are routed to vias located near the transceiver (U3). RTS has been biased properly to support 2-wire RS-232 communications.
Use of the J1 connector to input RS-232 signals requires disabling the on-board RS-232 transceiver to prevent signal corruption. Disabling the on-board transceiver is accomplished by removing the COM_SEL jumper. Details on the COM_SEL jumper are shown in the table below.
The figure shows the jumper position to enable RS-232 communications.
12
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
Table 2: COM Connections
HC08 Port
MCU Pin
COM Signal
PTE0/TXD
PTE1/RXD
U1-2
U1-3
TXD OUT
RXD IN
I/O PORT
Connector
J1-5
J1-7
COM Connector
A standard 9-pin Dsub connector provides external connections for the SCI port. The SCI port
provides an alternate interface for use with the MON08 monitor. Component U2 provides RS232 translation services. The figure below details the DB9 connector.
Figure 3: COM Connector
7
RTS
Female DB9 connector that interfaces to the HC08 internal SCI1 serial
port via the U2 RS232 transceiver. It provides simple 2 wire asynchronous serial communications without flow control. Flow control is provided
at test points on the module.
8
CTS
Pins 1, 4, and 6 are connected together for NULL status to the host.
9
NC
1
6
TXD
2
RXD
3
4
GND
5
The communications mode of the COM port is determined by the COM_SEL jumper. This 3pin jumper allows the user to select between SCI serial communications and single-wire
MON08 communications.
Figure 4: COM_MODE Jumper
•
COM
RS-232 Communications on COM
Enabled
MON08 on Port PTA0 Communications on COM Enabled
MON
•
COM Select Jumper
The COM_SEL jumper selects between the RS-232 protocol or the LIN protocol on the MCU
SCI port.
13
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
Figure 5: COM_SEL Jumper
Select RS-232 Serial Communications on COM
COM
LIN
COM
• •
• •
Select LIN Serial Communications through Con1
and Con2
LIN
LIN Communications
The DEMO908GZ60 implements a single Local Interconnect Network (LIN) interface on the
ESCI port. The LIN physical interface consists of a MC33661 transceiver at U5 and 2 4position Molex Mini-Fit connectors at CON1 and CON2. The LIN interface supports data
transmission speeds up to 20 kbps. The LIN interface is configured in a Master – Slave configuration with a single master controlling multiple slaves.
Figure 6: LIN Connector – CON1, CON2
LIN Bus
GND
•
•
•
•
VSUP
GND
NOTE: Signal assignment looking into connector on PCB
Mating Connector: Molex P/N 39-01-2040
Connector Pins: Molex P/N 39-00-0039
CAN Communications
The DEMO908GZ60 implements a single Fault-Tolerant Controller Area Network (CAN) interface. CAN is used to high-speed and fault-tolerant automotive networks. The CAN physical
interface consists of a MC33388 transceiver at U 4 and a single 3-position header. The transceiver converts serial data from the MCU to differential data for the CAN bus. The physical
layer implemented supports data rates up to 125 kbps. The differential bus termination voltage
is provided by the physical interface. The figure below details the pin-out of the CAN bus connector.
Figure 7: CAN Bus Connector
3
2
1
• CANL
• GND
• CANH
Negative CAN Bus Signal
PCB Ground
Positive CAN Bus Signal
MON08 Communications
The DEMO908GZ60 provides 2 methods for accessing the internal monitor. Serial MON08
access is provided through the COM port. A MON08 compatible programming pod may also
attach to the 14-pin MON08 port. Monitor mode is enabled by the COM_Mode, MON_EN, and
VTST_EN option jumpers. Some MON08 pods can supply VTST directly eliminating the need
14
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
to set the VTST_EN option jumper. The MCU supports monitor mode communications at 7200
bps. Refer to MON08 pod documentation for further details.
The internal monitor may also be accessed through and the through COM connector. As
above, MON08 mode, through the COM port, is enabled by the COM_SEL, the MON_EN, and
VTST_EN option jumpers. This allows MON08 debugging without the expense of a 3rd-party
MON08 pod. The table below shows the selection settings for the COM_SEL jumper. The
MCU supports monitor mode communications at 7200 bps.
MON08 Configuration
The following group of figures show the setting necessary to configure the DEMO908GZ60 for
monitor mode. The MON_EN jumper setting enable communication between the COM port
and the MCU MON08 port, The VTST_EN jumper provides the high voltage necessary to
force the MCU to monitor mode. The COM_SEL jumper disables the RS-232 interface to prevent corrupting the serial data stream.
Figure 8: MON_EN Jumper Setting
•
•
ON
MON08 Monitor Mode Signaling Enabled
OFF
MON08 Monitor Mode Signaling Disabled
Figure 9: VTST_EN Jumper Setting
ON
•
•
OFF
IRQ* signal line set to 8.2V. MON08 monitor mode force entry
enabled.
IRQ* signal line pulled up to VDD. MON08 monitor mode available
if Reset vector is erased.
NOTE: To utilize the MON08 monitor mode, the input voltage must exceed 9.0VDC.
The following table details the settings necessary to configure the MCU for MON08 monitor
mode operation via the COM port.
Figure 10: MON08 on COM Setup
MON_EN
ON
MON08 Signaling Enabled
VTST_EN
ON
Force MON08 Monitor Mode
COM_MODE
•
MON08 Signaling Enabled
MON
NOTE: To utilize the MON08 monitor mode, the input voltage must exceed
9.0VDC.
15
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
MON08 PORT
The MON08 port is a 16-pin header compatible with a Motorola MON08 Monitor Mode Pod.
This allows the connection of a background debugger for software development, programming,
and debugging in real-time without using HC08 I/O resources.
Figure 11: MON08 Port Connector
1
3
5
7
9
11
OSC1 13
VDD 15
2
4
6
8
10
12
14
16
GND
RST*
IRQ1*
PTA0
PTA1
PTB0
PTB1
PTB4
See the HC08 Reference Manual for complete MON08
documentation
When using the MON08 pod to access monitor mode, care must be exercised to configure the
host software correctly. Many MON08 Pods are capable to powering the target board through
the MON08 Port. In this case, the appropriate voltages will be applied to the board and the
state of the monitor configuration jumpers is DON’T CARE. If the board is not powered
through the MON08 Port, then the minimum applied voltage is +9VDC and the VTST_EN
jumper must be installed. Regardless of how the board is powered, the state of the MON_EN
jumper is DON’T CARE. When using the MON08 Port for monitor access, the COM_MODE
jumper should be set to 2 – 3 to allow RS-232 communications.
Figure 12: MON08 on Port Setup
MON_EN
ON / OFF
Don’t Care
VTST_EN
ON / OFF
On if VTST Voltage not supplied by MON08
Pod. Else, Don’t Care.
RS-232 Signaling Enabled
COM_MODE
•
COM
NOTE:
If powered externally, +9VDC must be applied and VTST_EN
jumper must be installed. Else, the board may be powered from
the MON08 Pod and VTST_EN is DON’T CARE.
USER Components
The DEMO908GZ60 provides 2 user push switches, 2 user LED indicators, a potentiometer,
and photocell circuit for user applications. USER_EN option jumper allows each option to be
enabled or disabled individually. To enable a user option, simply install the appropriate
jumper. Remove the jumper to disable an option.
16
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
2 0 0 4
Table 3: USER_EN Option Settings
Jumper
User 1
User 2
User 3
User 4
User 5
User 6
On
Enable SW1
Enable SW2
Enable LED1
Enable LED2
Enable POT
Enable SENSOR
Off
Disable SW1
Disable SW2
Disable LED1
Disable LED2
Disable POT
Disable SENSOR
MCU PORT
PTC6 (U1-45)
PTC5 (U1-44)
PTF0 (U1-8)
PTF1 (U1-9)
PTB2 (U1-32)
PTB3 (U1-33)
Pushbutton Switches
Two push button switches provide momentary active low input for user applications. SW1 and
SW2 are enabled to the HC08 I/O ports by the USER option bank. SW1 and SW2 provide input to HC08 I/O ports PTC6 and PTC5 respectively.
LED Indicators
Indicators LED1 and LED2 are enabled from HC08 I/O ports by the USER_EN option. The
LED indicators are active low and illuminate when a logic low (0V) signal is driven from the
respective MCU I/O port. MCU ports PTF0 and PTF1 drive LED1 and LED2 respectively.
RV1 Potentiometer
A 5k Ω, thumb-wheel potentiometer at RV1 provides variable resistance output for user
applications. The device provides a 0 to VDD (+5V typical) output to the PTB2 input when
enabled.
RZ1 Photocell
A visible-light sensitive photocell (RZ1) with an amplifying OPAMP circuit provides a variable
voltage output for user applications. Circuit output voltage ranges between .5V to VDD typical
and is inversely proportional to light intensity on the surface of the sensor (VDD = Dark).
When enabled, the circuit output voltage is provided to MCU port PTB3 input for user
application.
17
D E M O 9 0 8 R G 6 0
A U G U S T
6 ,
APPENDIX A
BILL OF MATERIALS
Item
1
2
3
4
5
10
9 Res, Carbon, 10K ohm, 5%, 0805
11
12
13
14
1
1
2
7
15
16
17
1 Res, Carbon, 1M ohm, 5%, 1/16w, 0805
1 Res, Pot, 5K ohm, 9mm vert.
1 Photocell, 30K -1M
Ref
C3, C16, C23
C20
C24
C1, C4, C7, C8, C9
C11, C15, C17, C18, C19, C22,
C25
C2, C5, C6, C12, C13, C14, C21
C10,
R1
R24, R25
R6, R7, R9, R13, R18, R19, R20,
R21, R22, R27, R32
R8, R10, R23, R28, R29, R34,
R35, R36, R39
R38
R26
R11, R33
R14, R15, R16, R17, R30, R31,
R37
R12
RV1
RZ1
18
1 Resonator, Cer, 8.00MHz, w/Caps, 3Pos, SMT
Y1
19
20
21
2 Diode, Rect, S1A, 1A, 50V, DO214AC
1 Diode, Zener, 8.2V, 5%, 225mW, SOT23
1 Diode, Schottky, 30V, 200mA, BAT54C, Com.
Cathode, SOT23
D1, D2
D3
D4
6
7
8
9
Qty Title
3 Cap, Tant, 10uF, 10V, SMB
1 Cap, Elect, 100uF, 16V, Alum, SMD
1 Cap, Elec, 10uF, 35V, Alum, SMC
5 Cap, Mon, 1uF, 16V, 0805
7 Cap, Mon, .1uF, 50V, 0805
7 Cap, Mon, .01uF, 50V, 0805
1 Cap, Mon, .033uF, 25V, 0805
1 Res, Ntwk, 100K ohm, 8P7R, Bussed
2 Res, Carbon, 510 ohm, 5%, 1/16W, 0805
11 Res, Carbon, 1K ohm, 5%, 1/16W, 0805
Res, Carbon, 20K ohm, 5%, 0805
Res, Carbon, 33K ohm, 5%, 1/16W, 0805
Res, Carbon, 47K ohm, 5%, 0805
Res, Carbon, 100K ohm, 5%, 1/16w, 0805
18
Mfr
Avx
Nichicon
Nichicon
Mfr-P/N
TAJB106K010R
UWX1C101MCL1GB
UWX1V100MCL1GB
Meritek
MA080525U104M500
Bourns
Photonic
Panasonic
ECS
AVX/Kyocera
Murata
Vishay
On Semiconductor
General Sem.
3352W-1-502
PDV-P9003
EFO-S8004E5
ECS-SR1-8.00-B
PBRC-8.00HR
CSTCC8M00G53-R0
S1A
MMBZ5237BLT1
2 0 0 4
D E M O 9 0 8 R G 6 0
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
9 LED, Green, w/reflector, 1206, SMT
1 Ind, Ferrite, EMI, 330 ohm @ 100 MHz, 1.5A,
0805
1 Ind, 10uH, 10%, 1210
1 IC, MCU, MC68HC908GZ60, 64LQFP
1 IC, CAN XCVR MC33388D, SOIC14
1 IC, LIN XCVR, MC33661D,SOIC8
1 IC, Dual RS232 XCVR, 3.3V, ESD, 16SOIC
1 IC, OPAMP, Single, SOT23-5
1 IC, Hex Inv, 74AC04, 14SOIC
1 IC, Quad Buf, 3-state, TTL, 14SOIC, 74ACT125
1 VReg, LDO, 5.0V, 250mA, 8 SOIC
3 Sw, PB, 5mm Sq, Thru
2 Sw, Slide, SPDT, Thru L=2MM
2 Conn, 2x20 Socket Hdr, Pass Thru, .1", Bottom
Entry, SMT
1 Conn, Term Blk, 2Pos, 3.55mm, thru
1 Conn, Dsub, 9P, F, RA, PCB Mount
2 Conn, Mini-fit 4 position, RA, thru
2 Conn, 1x2, Pin Header, .1" Ctr, Thru
2 Conn, 1x3 Pin Header, .1" Ctr, Thru
1 Conn, 2x2 Pin Header, .1" Ctr, Thru
1 Conn, 2x3 Pin Header, .1" Ctr, Thru
1 Conn, 2x6 Pin Header, .1" Ctr, Thru
1 Conn, 2x8 Pin Header, .1" Ctr, Thru
4 Hdw, Stand-off, .250x.375, Hex, Alum
4 Hdw, Screw, 4-40x3/8, 18-8, SS
14 Hdw, Shunt, 2 Pos, .1"
1 PCB, DEMO908GZ60, 2 layer, 3.2 x 2.2
A U G U S T
6 ,
2 0 0 4
LED1, LED2, LED3, LED4, LED5, Rohm
LED6, LED7, LED8, +5V
FB1
Mouser
SML-010MTT86
L1
U1
U4
U5
U2
U3
U6
U7
VR1
SW1, SW2, RESET
RUN/LOAD, PWR_SW
J1, J2
Vishay
Motorola
Motorola
Motorola
Intersil
Fairchild
STM
STM
STMicroelectronics
E-Switch
E-Switch
Samtec
IMC1210SY100K
MC68HC908GZ60CFU
MC33388D
MC33661D
ICL3232ECBN
LMV321AS5X
74AC04MTR
74ACT125M
L4931CD50
EG1827
EG1271
SSM-120-L-DV-BE-K-A
TB1
COM
CON1, CON2
MON_EN, VTST_EN
CAN_PORT, COM_MODE
PWR_SEL
COM_SEL
USER_EN
MON08
On Shore Technology
ED555/2DS
Keystone
2202
Generic
19
81-BLM21P331SG