Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

Z8622912PSC View Datasheet(PDF) - Zilog

Part Name
Description
MFG CO.
'Z8622912PSC' PDF : 52 Pages View PDF
ZiLOG
<
065% .KPG  %%& &GEQFGT
DEMONSTRATION PROGRAMS
Communicating with the Z86229
Communications with the Z86229 is accomplished using its
serial communications interface. Through hardware setup,
this interface can be configured into either of two serial pro-
tocols, I2C or SPI. The details of hardware setup have been
provided in the Serial Communications Interface section
(page 22) and are not dealt with here. It is assumed that the
user is familiar with the serial protocol requirements.
and LOCK bits are High. This condition indicates that the
serial port is ready for further input, that the input video sig-
nal 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 single byte commands
would generate the following:
Note: In the following descriptions <ENTER> means press the
Enter key.
I2C Operation
The Z86229 is configurable as an I2C slave device. The PC
communicates with the Z86229 through its parallel port.
These programs are not intended as examples of how to pro-
gram the application, but are only provided as a means of
illustrating the serial control process and the capability of
the Z86229.
The three programs available are titled IICO, SCRIPTI, and
XDSCAP. These programs have been compiled and run sat-
isfactorily with the Z86229 in a test board. Compiled ver-
sions are available on disk. Contact your local ZiLOG sales
office for further information on these programs.
IICO Program
This program sends one byte to the Z86229 without check-
ing the status of the READY bit. The program returns the
contents of the Serial Status (SS) Register after the com-
mand has been entered. When the program is active the
screen displays:
IIC Command Byte >
The user may enter any valid one-byte command such as
FBh (Reset) or 00h (NOP) and then hit the ENTER key. The
screen then displays the byte entered and the SS register
contents read:
IIC Byte = 00
IIC Status = 83h
The text above shows that the NOP command was entered.
The SS register contents, 83h, indicates that the RDY, FLD,
%QOOCPF
4GUGV VJG RCTV
5GV VJG RCTV VQ %% FKURNC[ OQFG
FGEQFGT 10
%JCPIG VQ VJG :&5 )TC\G FKURNC[
OQFG  5GEQPF 6KOGT 10
4GVWTP VQ VJG %% FKURNC[ OQFG
FGEQFGT 10
%QOOCPF
%QFG
($ (% 
J
J
J
The commands that control most of the display capability
of the Z86229 are all one-byte commands which can be en-
tered using the IICO program. These commands are tabu-
lated below for convenience.
General Commands
5GTKCN %QOOCPF
4'5'6
012
55$
%QOOCPF %QFG
($J (%J J
J
((J ((J ('J
Caption/Text Display Mode Commands
%26:
%QOOCPF
%%
%%
%%
%%
6
6
6
6
CPTX Command Code
&GEQFGT 10 &GEQFGT 1((
J
J
J
J
(J
'J
&J
%J
J
J
J
J
$J
#
J

&5 
24'.+/+0#4;

Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]