
HMS91C7134
62
November.2001 ver1.0
19.5 Horizontal sync. detection
This block extracts the following parameters from the incoming
horizontal or composite sync :
HPER : The number of clock cycles (fSH = 12MHz) be-
tween five sync pulses (4 period time), thus the 12 bits val-
ue HPER will be equal to ((4 x 12 x 106 / fH) - 1) where fH
is the horizontal sync frequency in Hz.
HPOL : The polarity of the sync signal, HPOL will be reset
in case of a positive polarity and set in case of a negative
polarity. The 1/4 point value of HSYNC period time will be
latched for HPOL.
HPRES :To detect the presence of the valid HSYNC sig-
nal, Detector measures the time interval between five sync
pulses (4 period time). No active sync is coming in if the
counter reaches a value of FF0H(4080).
HCHG : The HCHG flag will be set if a change is detected
in either the polarity or the period time. To avoid unintended
setting of the HCHG flag a small deviation in the period time
is allowed.The allowed deviation is approximately 167ns
per line.
19.6 Vertical sync. detection
This block extracts the following parameters from the incoming
vertical sync:
VPER : Either the number of clock cycles (fSV=125kHz
sampling) between two sync pulses(period time). In case
the period time is measured this 12 bits VPER will be equal
to 125 x 103 / fV where fV is the vertical sync frequency in
Hz.
VPOL : The polarity of the sync signal, VPOL will be reset
in case of a positive polarity and reset in case of a negative
polarity. It should be noted here that in case of a composite
sync signal at the input the parameter VPOL will be set al-
ways, disregarding the polarity of the incoming composite
sync. The 1/4 value of incoming VSYNC value will be
latched for VPOL.
VPRES : To detect the presence of the valid VSYNC sig-
nal, Detector measures the time interval between two con-
secutive rising edges of the input signal. No active sync is
coming in if the counter reaches a value of FF0H(4080).
VCHG : The VCHG flag will be set if a change is detected
in either the polarity or the period time. To avoid unintended
setting of the VCHG flag a small deviation in the period
time is allowed.The allowed deviation is approximately
32us per line.
Table 19-2 Threshold frequencies of the presence detector
Detection input
Threshold frequency
HSYNC input
12 KHz
VSYNC input
30 Hz