z86229 ZiLOG Semiconductor, z86229 Datasheet - Page 48

no-image

z86229

Manufacturer Part Number
z86229
Description
Z86229 Ntsc Line 21 Ccd Decoder
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8622912 SSC
Manufacturer:
ZILOG
Quantity:
1 577
Part Number:
z8622912PSC
Manufacturer:
ZILOG
Quantity:
20 000
Part Number:
z8622912SSC
Quantity:
9
Part Number:
z8622912SSC
Manufacturer:
ZILOG
Quantity:
20 000
Part Number:
z8622912SSG
Manufacturer:
ZILOG
Quantity:
20 000
Part Number:
z8622912SSG00TR
Manufacturer:
TI
Quantity:
700
Part Number:
z8622912SSG00TR
Manufacturer:
ZILOG
Quantity:
20 000
& ' / 1 0 5 6 4 # 6 + 1 0 2 4 1 ) 4 # / 5
SPI Operation
The serial port of the Z86229 may be configured to operate
as an I
slave device with the master generating the required clock
and input data signals. Two C language programs available
from ZiLOG enable a PC to perform as the I
device of an application. The PC communicates with the
Z86229 through it's parallel port. These programs are not
intended as examples of how to program the application, but
are only provided as a means of illustrating the serial control
process.
The two programs available, SEROUT and SCRIPT, are the
SPI equivalent to the I
spectively.
SEROUT 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:
SPI Command Byte >
SPI Command Byte
The user may enter any valid one-byte command, such as
00h (NOP), and then hit the ENTER key. The screen then
displays the byte entered and the SS register contents as fol-
lows:
SPI Byte = 00
SPI Return Val = 83h
The illustration above shows the NOP command was en-
tered. The SS register contents, 83h, indicates that the RDY,
2
C or SPI interface. The Z86229 always acts as the
2
C programs IICO and SCRIPTI, re-
% Q P V K P W G F
2
C or SPI master
FLD, and LOCK bits are “ones”. This condition indicates
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 the video-lock mode.
When this program is used, only a modified version of the
RESET can be used. It is entered as two, one-byte com-
mands (FBh and 00h).
The SEROUT program is exited by entering a Control C
(^C) character.
Script Program
This program is designed to send any number of one or two-
byte commands to the Z86229. The list of commands to be
executed are contained in Script files that have the extension
.SER. The Script files used with the I
can be used with this program.
The program is invoked by typing:
SI File_name<ENTER>
Note:
The screen displays:
EEG
Version x.xx
Script File Done
When all the commands in the file have been successfully
sent to the Z86229, the PC returns to the system prompt.
The program checks the RDY status before sending each
byte. If, during the entry of a command, the RDY bit is not
found to be a “one”, the program reports the contents of the
SS register and then continue checking for RDY.
Enter the file_name without the .SER extension.
CCD2 Serial
Interface Script
2
C version, SCRIPTI,
Player
ZiLOG

Related parts for z86229