English
Language : 

Z8F4822AR020SG Datasheet, PDF (204/323 Pages) Zilog, Inc. – High Performance 8-Bit Microcontrollers
Z8 Encore! XP® F64xx Series
Product Specification
184
Operation
The following section describes the operation of the OCD.
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, meaning that transmit and receive operations 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 can interface the Z8 Encore! XP F64xx
Series products to the serial port of a host PC using minimal external hardware.Two differ-
ent methods for connecting the DBG pin to an RS-232 interface are depicted in Figures 37
and 38.
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
Diode
10 kΩ
DBG Pin
Figure 37. Interfacing the On-Chip Debugger’s DBG Pin with an RS-232 Interface, #1 of 2
PS019924-0113
PRELIMINARY
Operation