Philips Semiconductors
Clock and synchronization signals of SAA7187 and SAA7188
Application note for digital video encoder
May 1994
7
4.0
RASTER CONTROL INPUT
SIGNALS,
SYNC-SLAVE-MODE
The internal synchronization circuitry of the
digital encoder SAA7187 and SAA7188A are
always defined by FISE (number of clocks
per line, subaddress 61hex), FLEN (number
of lines per field, subaddress 7Ahex and
7Dhex), and PAL (defining color field
sequence length, subaddress 61hex). In sync
slave mode, those horizontal and vertical
counters can be re-triggered by an external
trigger event at pin 6 as RCV1 input and/or at
pin 7 as RCV2 input. The rising or falling
edge can be selected as timing reference
(trigger event) to re-synchronize the internal
synchronization circuitry, regarding horizontal
or vertical counter, or odd-even flip-flop, or
color field sequence counter. As long as no
trigger event occurs the internal counters are
free running in the defined loops. Any single
occurance of the selected edge in RCV1 or
RCV2 input will hard re-trigger — i.e., it is not
a smoothed PLL procedure. Due to
processing pipeline delay, the resulting
re-synchronization does not take effect
before the next following corresponding
period. A programmable vertical and
horizontal trigger offset can be applied via
VTRIG and HTRIG.
RCV2 as input can also optionally be used as
“composite blanking” signal to gate the input
data stream, but only for data coming through
V-port (and D-port).
VTRIG represents a negative delay between
external trigger event and internal vertical
counter start, i.e., start of main vertical sync
(serration) pulses. The external
re-synchronization event at RCV1
over–writes the vertical counter state with
VTRIG value, which then synchronizes the
next vertical period to the external trigger
signal. VTRIG is defined with 5 bits under
subaddress 70 hex. The programmed VTRIG
number corresponds with the position of the
external trigger event along the field, counted
in half lines. Programming 00 will synchronize
the internal vertical counter to generate
vertical sync at the begin of that same half
line, in which the external trigger event
occurs. Programming of 1F hex results in
vertical sync output 31 half lines ahead of the
external trigger input, for example.
HTRIG represents a negative delay between
external trigger event and internal horizontal
counter start, i.e., leading edge of horizontal
sync pulse. The external re-synchronization
event at RCV1 or RCV2 over-writes the
horizontal counter state with HTRIG value,
which then synchronizes the next horizontal
period to the external trigger signal. HTRIG is
defined with 11 bits under subaddresses 6E
hex and 6F hex in LLC clock resolution, and
covers the whole line period. The
programmed HTRIG number corresponds
with its position (in LLC clocks) along the
scan line.