English
Language : 

Z86230 Datasheet, PDF (42/61 Pages) Zilog, Inc. – ADVANCED VIOLENCE BLOCKING AND NTSC 21 XDS
DEMONSTRATION PROGRAMS
COMMUNICATING WITH THE Z86230
7. DEMONSTRATION PROGRAMS
7.1 COMMUNICATING WITH THE Z86230
Communications with the Z86230 is accomplished using its serial communica-
tions interface (it is assumed that the user is familiar with the serial protocol
requirements).
NOTE: In the following descriptions, <ENTER> means “press the Enter key”.
7.2 I2C OPERATION
The Z86230 is configurable as an I2C slave device. The PC communicates with
the Z86230 through its parallel port. Though these programs are not intended as
examples of how to program the application they do provide a means of illustrat-
ing the serial control process and capability of the Z86230.
The three programs available are titled IICO, SCRIPTI and XDSCAP. These pro-
grams compile and run satisfactorily with the Z86230 in a test board. Compiled
versions are available on disk. Contact your local ZiLOG sales office for further
information on these programs.
7.3 IICO PROGRAM
This program sends 1 byte to the Z86230 without checking the status of the RDY
bit. The program returns the contents of the Serial Status Register (SSR) after the
command is entered. When the program is active the screen displays:
IIC Command Byte >
The user may enter any valid 1-byte command such as FBh (RESET) or 00h
(NOP) and then hit the ENTER key. The screen then displays the byte entered and
the SSR contents as follows:
IIC Byte = 00
IIC Status = 83h
This example shows that the NOP command was entered. The SSR contents, 83h,
indicate that the RDY, FLD, and LOCK bits are High, which implies that the serial
port is ready for further input, that the input video signal was in Field 1 at the time
the status was read, and that the part is operating in video lock mode.
The IICO program is exited by entering a Control+C (^C) character.
For example, entering the following two 1-byte commands displays the following:
Reset the part
FB, 00
42
Z86230—PRELIMINARY
PS000400-TVC0499