English
Language : 

Z8F0830HH020SG Datasheet, PDF (158/257 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore!® F0830 Series
Product Specification
140
Operation
The following section describes the operation of the On-Chip Debugging function.
OCD Interface
The On-Chip Debugger uses the DBG pin for communication with an external host. This
one-pin interface is a bidirectional open-drain interface that transmits and receives data.
Data transmission is half-duplex, which means that transmission and data retrieval cannot
occur simultaneously. The serial data on the DBG pin is sent using the standard asynchro-
nous data format defined in RS-232.This pin creates an interface between the Z8 Encore!
F0830 Series products and the serial port of a host PC using minimal external hardware.
Two different methods for connecting the DBG pin to an RS-232 interface are displayed in
Figures 21 and 22. The recommended method is the buffered implementation depicted in
Figure 22. The DBG pin must always be connected to VDD through an external pull-up
resistor.
Caution: For proper operation of the On-Chip Debugger, all power pins (VDD and AVDD) must be
supplied with power and all ground pins (VSS and AVSS) must be properly grounded. The
DBG pin is open-drain and must always be connected to VDD through an external pull-
up resistor to ensure proper operation.
RS-232 TX
RS-232 RX
RS-232
Transceiver
VDD
Schottky
Diode
10KΩ
DBG Pin
Figure 21. Interfacing the On-Chip Debugger’s DBG Pin with an RS-232 Interface, #1 of 2
PS025113-1212
Operation