English
Language : 

Z86129 Datasheet, PDF (47/50 Pages) Zilog, Inc. – NTSC LINE 21 DECIDER
PRELIMINARY
Z86129/130/131
NTSC Line 21 Decoder
If no data is received within approximately 45 seconds, the SPI Operation
program will time out, report "Data Not Available", and exit The serial port of the Z86129 may be configured to operate
the program.
as an I2C or SPI interface. The Z86129 always acts as the
slave device with the master generating the required clock
1
Note: The XDSCAP program can also be exited by and input data signals. Two C language programs
entering a Control C (^C) character.
available from Zilog enable a PC to perform as the I2C or
XDS Filter Register Script Files
File Name
FILA
CMD
{xxh,yyh}
{c5,1F}
Comments
* set xds filter to all
SPI master device of an application. The PC
communicates with the Z86129 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.
FIL0
FILCA
FILC
FILFA
FILCH
FILM
{c5,00}
{c5,01}
{c5,41}
{c5,02}
{c5,04}
{c5,08}
* set xds filter to none. Turns
off xds recovery
* set xds filter to all current
class
* set xds filter to current, in
band class
* set xds filter to all future
class
* set xds filter to channel
class
* set xds filter for misc. info
The two programs available, SEROUT and SCRIPT are
the SPI equivalent to the I2C programs IICO and SCRIPTI,
respectively. These programs have been compiled and
run satisfactorily with the Z86129 in a test board.
Compiled versions are available on disk.
SEROUT Program
This program will send one byte to the Z86129 without
checking the status of the READY bit. The program returns
the contents of the Serial Status (SS) Register after the
command has been entered. When the program is active
the screen will display:
FILTIME
FILVCR
{c5,28}
{c5,9e}
* set xds filter time only
* set xds filter vcr info
Using Interrupts
Interrupts involve the use of the Line 21 Activity Register,
the Interrupt Request Register and the Interrupt Mask
Register. The Z86129 must be configured for VLK internal
so that the VINTRO signal, Pin 13 is an output providing
the interrupt output signal.
SPI Command Byte
The user may enter any valid one byte command such as
00h (NOP) and then hit the ENTER key. The screen will
then display the byte entered and the SS register contents
as follows:
SPI Byte = 00
SPI Return Val = 83h
The interrupt status can be polled through bit D3 of the
Serial Status (SS) Register if the interrupt signal cannot be
used.
Interrupts are disabled when the Interrupt Mask Register
has been set to all zeros. Conversely, interrupts are
enabled by setting one or more of the active bits to a one.
When enabled, the INTRO signal will become a one when
the enabled mask event(s) becomes active. If more than
one event has been activated, the Interrupt Request
The illustration above shows the NOP command was
entered. The SS register contents, 83h, indicates that the
RDY, FLD and LOCK bits are "ones" indicating 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.
When this program is used, a modified version of the
RESET can only be used. It is entered as two, one-byte
commands; FBh and 00h.
Register must be queried to determine which event has
occurred. The DLE and EOF interrupts will be cleared at
the end of the field in which they occurred.
The SEROUT program is exited by entering a Control C
(^C) character.
Interrupt Mask Register Script Files
File Name
INTRD
INTRLK
INTRX
INTRC
CMD
{xxh,yyh}
{c7,02}
{c7,08}
{c7,20}
{c7,12}
Comments
* set DLE active
*set dLOK active
*set dXDS active
* set DLE & dC/T active
DS96TEL0200
47