AD9887A
Rev. B | Page 38 of 52
0x0F 7
HSYNC Input Polarity
A bit that must be set to indicate the polarity of the
Hsync signal that is applied to the PLL HSYNC input.
Table 17. HSYNC Input Polarity (HSPOL) Settings
HSPOL
Function
0
Active low
1
Active high
Active low is the traditional negative-going Hsync pulse.
All timing is based on the leading edge of Hsync, which
is the falling edge. The rising edge has no effect.
Active high is inverted from the traditional Hsync, with
a positive-going pulse; therefore, timing is based on the
leading edge of Hsync, which is now the rising edge.
The device operates if this bit is set incorrectly, but the
internally generated clamp position, as established by
CLPOS, will not be placed as expected, which might
generate clamping errors.
The power-up default value is HSPOL = 1.
0x0F 6
COAST Input Polarity
A bit to indicate the polarity of the COAST signal that is
applied to the PLL COAST input.
Table 18. COAST Input Polarity (CSTPOL) Settings
CSTPOL
Function
0
Active low
1
Active high
Active low means that the clock generator ignores HSYNC
inputs when coast is low and continues operating at the
same nominal frequency until coast goes high.
Active high means that the clock generator ignores HSYNC
inputs when coast is high and continues operating at the
same nominal frequency until coast goes low.
This function must be used with the COAST polarity
override bit (Register 0x14, Bit 1).
The power-up default value is CSTPOL = 1.
0x0F 5
Clamp Input Signal Source
A bit that determines the source of clamp timing.
Table 19. Clamp Input Signal Source (EXTCLMP) Settings
EXTCLMP
Function
0
Internally generated clamp
1
Externally provided clamp signal
Logic 0 enables the clamp timing circuitry controlled by
CLPLACE and CLDUR. The clamp position and
duration is counted from the trailing edge of Hsync.
Logic 1 enables the external CLAMP input pin. The
three channels are clamped when the CLAMP signal is
active. The polarity of CLAMP is determined by the
CLAMPOL bit.
The power-up default value is EXTCLMP = 0.
0x0F 4
CLAMP Input Signal Polarity
A bit that determines the polarity of the externally
provided CLAMP signal.
Table 20. CLAMP Input Signal Polarity (EXTCLMP) Settings
EXTCLMP
Function
0
Active low
1
Active high
Logic 0 means that the circuit clamps when CLAMP is high
and passes the signal to the ADC when CLAMP is low.
Logic 1 means that the circuit clamps when CLAMP is low
and passes the signal to the ADC when CLAMP is high.
The power-up default value is CLAMPOL = 1.
0x0F 3
External Clock Select
A bit that determines the source of the pixel clock.
Table 21. External Clock Select (EXTCLK) Settings
EXTCLK
Function
0
Internally generated clock
1
Externally provided clock signal
A Logic 0 enables the internal PLL that generates the
pixel clock from an externally provided Hsync.
A Logic 1 enables the external CKEXT input pin. In this
mode, the PLL divide ratio (PLLDIV) is ignored and the
clock phase adjust (PHASE) is still functional.
The power-up default value is EXTCLK = 0.
0x0F 2
Red Clamp Select
A bit that determines whether the red channel is
clamped to ground or to midscale. For RGB video, all
three channels are referenced to ground. For YCbCr (or
YUV), the Y channel is referenced to ground, but the
CbCr channels are referenced to midscale. Clamping to
midscale actually clamps to Pin 118, RCLAMPV.
Table 22. Red Clamp Select Settings
Clamp
Function
0
Clamp to ground
1
Clamp to midscale (Pin 118)
The default setting for this register is 0.