Intersil Corporation HMP8156 Datasheet

HMP8156
August 1997
Features
• (M) NTSC and (B, D, G, H, I, M, N, CN) PAL Operation
• ITU-R BT.601 and Square Pixel Operation
• Digital Input Formats
- 8-Bit or 16-Bit
- 4:4:4 RGB
- 16-Bit (5, 6, 5) or 24-Bit (8, 8, 8)
- Linear or Gamma-Corrected
- 8-Bit Parallel ITU-R BT.656
- Seven Overlay Colors
• Analog Output Formats
- Y/C + Two Composite
- RGB + Composite (SCART)
• Flexible Video Timing Control
- Timing Master or Slave
- Selectable Polarity on Each Control Signal
- Programmable Blank Output Timing
- Field Output
• Closed Caption Encoding for NTSC and PAL
• 2x Upscaling of SIF Video
• Four 2x Oversampling, 10-Bit DACs
2
C Interface
•I
• Verilog Models Available. . . . . . . . . . . . . . . . . . . . . . . . .
NTSC/PAL Encoder
Description
The HMP8156 NTSC and PAL encoder is designed for use in systems requiring the generation of high-quality NTSC and PAL video from digital image data.
YCbCr or RGB digital video data drive the P0-P23 inputs. Overlay inputs are processed and the data is 2x upsampled. The Y data is optionally lowpass filtered to 5MHz and drives the Y analog output. Cb and Cr are each lowpass filtered to
1.3MHz, quadrature modulated, and summed. The result drives the C analog output. The digital Y and C data are also added together and drive the two composite analog outputs.
The YCbCr data may also be converted to RGB data to drive the DACs, allowing suppor t for the European SCART con­nector.
The DACs can drive doubly-terminated (37.5) lines, and run at a 2x oversampling rate to simplify the analog output filter requirements.
Table of Contents
Functional Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . 2
Functional Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Pixel Data Input Formats . . . . . . . . . . . . . . . . . . . . . . . . . 3
Input Processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Pixel Input and Control Signal Timing. . . . . . . . . . . . . . . . 5
Video Timing Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Video Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Page
Applications
• Multimedia PCs
• Video Conferencing
• Video Editing
• Related Products
- NTSC/PAL Encoders: HMP8154
- NTSC/PAL Decoders: HMP8112A, HMP8115
Analog Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Host Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Applications Information . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Evaluation Kits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Ordering Information
TEMP.
PART NUMBER
HMP8156CN 0 to 70 64 PQFP Q64.14x14 HMP8156EVAL1 Daughter Card Evaluation Platform (Note) HMP8156EVAL2 Frame Grabber Evaluation Platform (Note)
NOTE: Described in the Applications Section
CAUTION: These devices are sensitive to electrostatic discharge; follow proper IC Handling Procedures. http://www.intersil.com or 407-727-9207
RANGE (oC) PACKAGE PKG. NO.
| Copyright © Intersil Corporation 1999
1
File Number 4269.3
HMP8156
1.225V
INTERNAL
REFERENCE
CLOSED
CAPTIONING
PROCESSING
VREFFSADJUST
Y/G
DAC
NTSC/
PAL 1
DAC
NTSC/
PAL 2/
DAC
R
C/B
DAC
OVERLAY
PROCESSING
Y/Cb/Cr
OPTIONAL
4:4:4
(2:2:2 SIF)
GAMMA
CORRECTION
SPACE
COLOR
CONVERSION
2X
OPTIONAL
(SIF MODE)
UPSCALING
4:2:2 TO
CONVERSION
4:4:4 SAMPLE
LP FILTER
(OPTIONAL)
Y
2 X
UPSAMPLE
HOST
INTERFACE
LP FILTER
4:4:4TO8:8:8
Cb/Cr
CHROMA
MODULATION
VIDEO
TIMING
CONTROL
FIELD
Functional Block Diagram
P0 - P23
SA
SCL
SDA
RESET
HSYNC
VSYNC
BLANK
CLK
CLK2
2
HMP8156
Functional Operation
The HMP8156 is a fully integrated digital encoder. It accepts digital video input data and generates four analog video out­put signals. The input data format is selectable and includes YCbCr, RGB, and o verlay data. The outputs are configurab le to be either two composite video signals and Y/C (S-Video) or one composite and component RGB video.
The HMP8156 accepts pixel data in one of several formats and transforms it into 4:4:4 sampled luminance and chromi­nance (YCbCr) data. If enabled, the encoder also mixes overlay data with the input data. The encoder then interpo­lates the YCbCr data to twice the pixel rate and low pass fil­ters it to match the bandwidth of the video output format. If enabled, the encoder also adds Closed Captioning informa­tion to the Y data. At the same time, the encoder modulates the chrominance data with a digitally synthesized subcarrier. Finally, the encoder outputs the luminance, chrominance, and their sum as analog signals using 10-bit D/A converters.
The HMP8156 provides operating modes to support all ver­sions of the NTSC and PAL standards and accepts full and SIF size input data with rectangular (ITU-R BT.601) and square pixel ratios. It operates from a single clock at twice the pixel clock rate determined by the operating mode.
The HMP8156’s video timing control is flexible. It may oper­ate as the master generating the system’s video timing con­trol signals or it may accept external timing controls. The polarity of the timing controls and the number of active pixels and lines are programmable.
Pixel Data Input Formats
The HMP8156 accepts pixel data via the P0-P23 input pins. The definition of each pixel input pin is determined by the input format selected in the input format register. The defini­tion for each mode is shown in Table 1.
YCbCr Pixel Data
The HMP8156 accepts 4:2:2 sampled YCbCr input data. The luminance and color difference signals are each 8 bits, scaled 0 to 255. Values outside their nominal r anges (16-235 for Y and 16-240 for Cb and Cr) are processed normally. The color difference signals are time multiplexed into one 8-bit bus beginning with a Cb sample. The Y and CbCr busses may be input in parallel (16-bit mode) or may be time multi­plexed and input as a single b us (8-bit mode). The single b us may also contain SAV and EAV video timing reference codes (ITU-R BT.656 mode).
RGB Data
The HMP8156 accepts 4:4:4 sampled RGB component video input data. The color signals may be (8,8,8) for 24-bit mode or (5,6,5) for 16-bit mode. In 24-bit mode, they are scaled 0 to 255, black to white. In 16-bit mode, the encoder left shifts the input so that it has the same scale as 24-bit input. The RGB data may be linear or gamma corrected; if enabled, the encoder will gamma correct the input data.
Overlay Data
The HMP8156 accepts 5 bits of pixel overlay input data and combines it with the input pixel data. The data specifies an overlay color and the fractions of the new and original colors to be summed.
Blue Screen Generation
In blue screen mode, the HMP8156 ignores the pixel input data and generates a solid, blue screen. The overlay inputs may be used to place information over the blue screen.
3
HMP8156
TABLE 1. PIXEL DATA INPUT FORMATS
PIN
NAME
P0 P1 P2 P3 P4 P5 P6 P7
P8
P9 P10 P11 P12 P13 P14 P15
P16 P17 P18 P19 P20 P21 P22 P23
16-BIT
4:2:2
YCBCR
Cb0, Cr0 Cb1, Cr1 Cb2, Cr2 Cb3, Cr3 Cb4, Cr4 Cb5, Cr5 Cb6, Cr6 Cb7, Cr7
Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7
8-BIT 4:2:2
YCBCR BT.656
Ignored B0
Y0, Cb0, Cr0 Y1, Cb1, Cr1 Y2, Cb2, Cr2 Y3, Cb3, Cr3 Y4, Cb4, Cr4 Y5, Cb5, Cr5 Y6, Cb6, Cr6 Y7, Cb7, Cr7
YCbCr Data,
SAV and EAV
Sequences
OL0 OL1 OL2
M0 M1
-
-
-
16-BIT
BLUE
SCREEN
Ignored G3
RGB
(5, 6, 5)
B1 B2 B3 B4 G0 G1 G2
G4 G5 R0 R1 R2 R3 R4
24-BIT
RGB
B0 B1 B2 B3 B4 B5 B6 B7
G0 G1 G2 G3 G4 G5 G6 G7
R0 R1 R2 R3 R4 R5 R6 R7
Input Processing
COLOR SPACE CONVERSION
For linear RGB input formats, the encoder applies gamma­correction using a selectable gamma value of 1/2.2 or 1/2.8. The gamma-corrected RGB data from either the correction function in linear mode or the input port otherwise is con­verted to 4:4:4 sampled YCbCr data.
For the YCbCr input formats, the encoder converts the 4:2:2 sampled data to 4:4:4 sampled data. The conversion is done by 2x upsampling the Cb and Cr data. The upsampling func­tion uses linear interpolation.
OVERLAY PROCESSING
The HMP8156 accepts overlay data via the OL0-OL2, M0, and M1 pins. Overlay mixing is done using the 4:4:4 YCbCr pixel data from the color space converter. The YCbCr data following overlay processing is used as input data by the video processing functions.
The OL0-OL2 inputs select the color to be mixed with the pixel data. Overlay colors 1-7 are standard color bar colors. Overlay color 0 is special and disables mixing on a pixel by pixel basis. The overlay color palette is shown in Table 2.
TABLE 2. OVERLAY COLOR PALETTE
OL2-OL0
000 001 010 011 100 101 110 111
COLOR
Pixel Data
75% Blue
75% Red
75% Magenta
75% Green
75% Cyan 75% Yellow 100% White
Note that overlay capability is not available when the 24-bit RGB input format is used.
The encoder provides 4 methods for mixing the over lay data with the pixel data: disabled, external mixing, internal mixing and no mixing. The method used is selected in the input for­mat control register.
Overlay Mixing: Disabled
When overlay mixing is disabled, the OL0-OL2, M0, and M1 inputs are ignored and the pixel data is not changed.
Overlay Mixing: External
When external overlay mixing is selected, mixing of overlay data and pixel data is controlled by the M1 and M0 inputs. M1 and M0 indicate the mixing level between the pixel inputs and the overlay inputs, on a pixel-by-pixel basis. M1 and M0 are ignored if OL2-OL0 = 000. Otherwise, they select the percentage of each color to sum as shown in Table 3.
4
HMP8156
TABLE 3. OVERLAY MIXING FACTORS
M1, M0
00 01 10 11
% OVERLAY
COLOR
0
12.5
87.5 100
% PIXEL
COLOR
100
87.5
12.5 0
In external mixing mode, there is no minimum number of pix­els an overlay color or pix el color must be selected. The mix­ing level may also vary at any rate.
Overlay Mixing: Internal
Mixing of overlay and pixel data may also be controlled inter­nally, and the M1 and M0 input pins are ignored. A transition from pixel data to overlays, from overlays to pixel data, or between different overlay colors triggers the mixing function. An overlay color must be selected for a minimum of three pixels for proper overlay operation in this mode. Internal overlay mixing should not be used with the BT.656 input for­mat.
When going from pixel to overlay data, mixing starts one pixel before the selection of the overla y color (OL2-OL1!= 000). The first pixel output before the overlay uses 12.5% overlay color plus 87.5% pixel color. The next output is aligned with the selection of the overlay color and uses 87.5% over lay color plus 12.5% pixel color. Additional outputs use 100% overlay color.
When going from overlay to pixel data, mixing starts one pixel before the selection of the pixel color (OL2-OL0 = 000). The last pixel output of the overlay uses 87.5% overlay color plus 12.5% pixel color. The next output uses 12.5% overlay color plus 87.5% pixel color. Additional outputs use 100% pixel color.
When going from one overlay color to another, mixing star ts one pixel before the selection of the new overlay color, and uses 12.5% new overlay color plus 87.5% old overlay color. The next output is aligned with the selection of the new over­lay color and uses 87.5% new over lay color plus 12.5% old overlay color. Additional outputs use 100% new overlay color.
Overlay Mixing: No Mixing
With no overlay mixing selected, whenever the OL0-OL2 inputs are non-zero, the over lay color is displayed. The M0 and M1 inputs are ignored, and no internal mixing is done. Essentially, this is a hard switch between overlay and pixel data. In this mode, there is no minimum number of pixels an overlay color or pixel color must be selected.
This mode of operation allows SIF video to be upscaled to full resolution and recorded on a VCR or displayed on a TV.
The input pixel data rate is reduced by half when 2X upscal­ing is enabled. The color space conversion generates, and the overlay mixer uses, 2:2:2 YCbCr data instead of 4:4:4 data. For rectangular pixel NTSC and PAL video, the input rate is 6.75MHz during the active portion of each line instead of 13.5MHz. Example SIF input resolutions and resulting output resolutions are shown in Table 4.
TABLE 4. TYPICAL RESOLUTIONS FOR 2X UPSCALING
INPUT ACTIVE
RESOLUTION
352 x 240 352 x 288 320 x 240 384 x 288
OUTPUT ACTIVE
RESOLUTION
704 x 480 704 x 576 640 x 480 768 x 576
The HMP8156 performs horizontal 2X upscaling by linear interpolation. The vertical scaling is done by line duplication. For typical line duplication, the same frame of SIF pixel input data is used for both the odd and even fields. Note that a frame of SIF size input has about the same number of lines as a field of full size input. After 2X upscaling, the input is 4:4:4 YCbCr data ready for video processing.
Pixel Input and Control Signal Timing
The pixel input timing and the video control signal input/out­put timing of the HMP8156 depend on the part’s operating mode. The periods when the encoder samples its inputs and generates its outputs are summarized in Table 5.
Figures 1-9 show the timing of CLK, CLK2, pixel and overlay input data with respect to each other. BLANK may be an input or an output; the figures show both. When it is an input,
BLANK must arrive coincident with the pixel and overlay input data; all are sampled at the same time.
When
BLANK is an output, its timing with respect to the pixel and overlay inputs depends on the blank timing select bit in the timing_I/O_1 register. If the bit is cleared, the HMP8156 deasserts
BLANK one CLK cycle before it samples the pixel and overlay inputs. As shown in the timing figures, the encoder samples the inputs 1-7 CLK2 periods after negating BLANK, depending on the operating mode.
If the bit is set, the encoder deasserts same CLK cycle in which it samples the input data. In effect, the input data must arrive one CLK cycle earlier than when the bit is cleared. This mode is not shown in the figures.
BLANK, and the
BLANK during the
2X Upscaling
Following overlay processing, 2X upscaling may optionally be applied to the pixel data. In this mode, the HMP8156 accepts SIF resolution video at 50 or 59.94 frames per sec­ond and generates standard interlaced video at 262.5 lines per field (240 active) at 59.94 fields per second for (M, NSM) NTSC and (M) PAL, and 312.5 lines per field (288 active) at 50 fields per second for (B, D, G, H, I, N, CN) PAL.
5
HMP8156
TABLE 5. PIXEL INPUT AND CONTROL SIGNAL I/O TIMING
INPUT PORT SAMPLING VIDEO TIMING CONTROL (NOTE) CLK FREQUENCY
INPUT FORMAT
8-Bit YCbCr Off Every rising edge
On Rising edge of
16-Bit YCbCr,
16-Bit RGB,
or
24-Bit RGB
BT.656 Off Every rising edge
NOTE: Video timing control signals include HSYNC, VSYNC, BLANK and FIELD. The sync and blanking I/O directions are independent;
FIELD is always an output.
Off Rising edge of CLK2 when CLK is low Rising edge of
On 2nd rising edge of CLK2 when CLK is low Either rising
On Not Available
8-Bit YCbCr Format without 2X Upscaling
When 8-bit YCbCr format is selected and 2X upscaling is not enabled, the data is latched on each rising edge of CLK2. The pixel data must be [Cb Y Cr Y’ Cb Y Cr Y’. . . ], with the first active data each scan line being Cb data. Overlay data is latched when the Y input data is latched. The pixel and overlay input timing is shown in Figure 1.
As inputs,
BLANK, HSYNC, and VSYNC are latched on each rising edge of CLK2. As outputs, VSYNC are output following the rising edge of CLK2. If the CLK pin is configured as an input, it is ignored. If configured as an output, it is one-half the CLK2 frequency
PIXEL DATA OVERLAY DATA INPUT SAMPLE OUTPUT ON INPUT OUTPUT
2X UPSCALING
of CLK2
CLK2 when CLK is low.
of CLK2
Same edge that latches Y
Same edge that latches Y data
Same edge that latches Y
Every rising edge of CLK2
Rising edge of CLK2 when CLK is low.
Not Allowed Any rising edge of
Any rising edge of CLK2
Rising edge of CLK2 when CLK is high.
CLK2 when CLK is high.
CLK2 edge when CLK is high
CLK2
Ignored One-half
One-half CLK2
One-half CLK2
One-fourth CLK2
Ignored One-half
8-Bit YCbCr Format with 2X Upscaling
When 8-bit YCbCr format is selected, the data is latched on the rising edge of CLK2 while CLK is low. The pixel data must be [Cb Y Cr Y’ Cb Y Cr Y’. . . ], with the first active data each scan line being Cb data. Overlay data is latched on the rising edge of CLK2 that latches Y pixel input data. The pixel and overlay input timing is shown in Figure 2.
BLANK, HSYNC, and
As inputs, rising edge of CLK2 while CLK is low. As outputs,
BLANK, HSYNC, and VSYNC are latched on the
VSYNC, and BLANK are output following the rising edge of CLK2 while CLK is high. In this mode of operation, CLK is one-half the CLK2 frequency.
CLK2
CLK2
HSYNC,
CLK2
P8-P15
OL0-OL2,
M1, M0
BLANK
(INPUT)
BLANK
(OUTPUT)
Cb 0 Y 0 Cr 0 Y 1 Cb 2 Y 2
PIXEL 0 PIXEL 1 PIXEL 2
FIGURE 1. PIXEL AND OVERLAY INPUT TIMING - 8-BIT YCBCR WITHOUT 2X UPSCALING
Y N
PIXEL N
6
CLK2
CLK
HMP8156
Cb 0 Y 0 Cr 0 Y 1 Cb 2 Y 2P8-P15
OL0-OL2,
M1, M0
BLANK
(INPUT)
BLANK
(OUTPUT)
FIGURE 2. PIXEL AND OVERLAY INPUT TIMING - 8-BIT YCBCR WITH 2X UPSCALING
PIXEL 0 PIXEL 1 PIXEL 2
16-Bit YCbCr, 16-Bit RGB, 24-Bit RGB Formats without 2X Upscaling
When 16-bit YCbCr, 16-bit RGB data, or 24-bit RGB for mat is selected without 2X upscaling, the pixel data is latched on the rising edge of CLK2 while CLK is low. Over lay data is also latched on the rising edge of CLK2 while CLK is low. The pixel and overlay input timing is shown in Figures 3 - 5.
As inputs, rising edge of CLK2 while CLK is low. As outputs,
BLANK, HSYNC, and VSYNC are latched on the
HSYNC, VSYNC, and BLANK are output following the rising edge of CLK2 while CLK is high. In these modes of operation, CLK is one-half the CLK2 frequency.
Y N
PIXEL N
16-Bit YCbCr, 16-Bit RGB, 24-Bit RGB Formats with 2X Upscaling
When 16-bit YCbCr, 16-bit RGB data, or 24-bit RGB for mat is selected and 2X upscaling is enabled, data is latched on the rising edge of CLK2 while CLK is low. Over lay data is latched on the rising edge of CLK2 while CLK is low. The pixel and overlay input timing is shown in Figures 6-8
As inputs, rising edge of CLK2 while CLK is low. As outputs,
BLANK, HSYNC, and VSYNC are latched on the
HSYNC, VSYNC, and BLANK are output following the rising edge of CLK2 while CLK is high. CLK is one-fourth the CLK2 fre­quency.
CLK2
CLK
P8-P15
OL0-OL2,
M1, M0
BLANK
(INPUT)
BLANK
(OUTPUT)
Y 0Y 1Y 2Y 3Y 4Y 5
Cb 0 Cr 0 Cb 2 Cr 2 Cb 4 Cr 4P0-P7
PIXEL 0 PIXEL 1 PIXEL 2 PIXEL 3 PIXEL 4 PIXEL 5
FIGURE 3. PIXEL AND OVERLAY INPUT TIMING 6-BIT YCBCR WITHOUT 2X UPSCALING
7
Y N
Cr N-1
PIXEL N
CLK2
CLK
HMP8156
P0-P15
OL0-OL2,
M1, M0
BLANK
(INPUT)
BLANK
(OUTPUT)
CLK2
CLK
P0-P24
BLANK
(INPUT)
RGB 0 RGB 1 RGB 2 RGB 3 RGB 4 RGB 5
PIXEL 0 PIXEL 1 PIXEL 2 PIXEL 3 PIXEL 4 PIXEL 5
FIGURE 4. PIXEL AND OVERLAY INPUT TIMING - 16-BIT RGB WITHOUT 2X UPSCALING
RGB 0 RGB 1 RGB 2 RGB 3 RGB 4 RGB 5
RGB N
PIXEL N
RGB N
BLANK
(OUTPUT)
CLK2
CLK
P8-P15
P0-P7
OL0-OL2,
M1, M0
BLANK
(INPUT)
BLANK
(OUTPUT)
FIGURE 5. PIXEL AND OVERLAY INPUT TIMING - 24-BIT RGB WITHOUT 2X UPSCALING
Y 0 Y 1 Y N
Cb 0 Cr 0 Cr N-1
PIXEL 0 PIXEL 1 PIXEL N
FIGURE 6. PIXEL AND OVERLAY INPUT TIMING - 16-BIT YCBCR WITH 2X UPSAMPLING
8
CLK2
(
CLK
HMP8156
P0-P15
OL0-OL2,
M1, M0
BLANK
(INPUT)
BLANK
(OUTPUT)
CLK2
CLK
P0-P24
BLANK
(INPUT)
BLANK
(OUTPUT)
RGB 0 RGB 1 RGB N
PIXEL 0 PIXEL 1 PIXEL N
FIGURE 7. PIXEL AND OVERLAY INPUT TIMING - 16-BIT RGB WITH 2X UPSAMPLING
RGB 0 RGB 1 RGB N
FIGURE 8. PIXEL AND OVERLAY INPUT TIMING - 24-BIT RGB WITH 2X UPSAMPLING
CLK2
P8-P15
OL0-OL2,
M1, M0
BLANK
OUTPUT)
Cb 2 Y 2 Cr 2 Y 3 Cb 4 Y 4
PIXEL 0 PIXEL 1
FIGURE 9. PIXEL AND OVERLAY INPUT TIMING - BT.656
8-Bit Parallel ITU-R BT.656 Format
When ITU-R BT.656 format is selected, data is latched on each rising edge of CLK2. Overlay data is latched when the Y input data is latched. However, the overlay data must arrive three pixels after its corresponding Y data. The pixel and overlay input timing is shown in Figure 9.
As inputs, the
BLANK, HSYNC, and VSYNC pins are ignored since all timing is derived from the EAV and SAV sequences within the data stream. As outputs,
BLANK,
"FF" "00"
PIXEL N-2 PIXEL N-1
"00" "XY" "10"
"10""80"
PIXEL N
HSYNC and VSYNC are output following the rising edge of CLK2. If the CLK pin is configured as an input, it is ignored. If configured as an output, it is one-half the CLK2 frequency.
Square pixel operation, overlay processing with internal mix­ing, and SIF mode 2X upsampling are not supported for the BT.656 input format. Also, the
HSYNC, VSYNC, and BLANK
signals must be configured as outputs.
9
HMP8156
Video Timing Control
The pixel and overlay data must be presented to the HMP8156 at 50 or 59.94 fields per second (interlaced). The video timing is controlled by the FIELD, and CLK2 pins.
BLANK, HSYNC, VSYNC,
HSYNC
VSYNC
HSYNC, VSYNC, and FIELD Timing
The leading edge of horizontal sync interval. If for about 4.7 µs. If
HSYNC indicates the beginning of a
HSYNC is an output, it is asserted
HSYNC is an input, it must be active for at least two CLK2 periods. The width of the horizontal compos­ite sync tip is determined from the video standard and does not depend on the width of
The leading edge of vertical sync interval. If
HSYNC.
VSYNC indicates the beginning of a
VSYNC is an output, it is asserted for
3 scan lines in (M, NSM) NTSC and (M, N) PAL modes or
2.5 scan lines in (B, D, G, H, I, CN) PAL modes. If
VSYNC is
an input, it must be asserted for at least two CLK2 periods. When
HSYNC and VSYNC are configured as outputs, their leading edges will occur simultaneously at the start of an odd field. At the start of an even field, the leading edge of VSYNC occurs in the middle of the line.
HSYNC and VSYNC are configured as inputs, if the
When leading edge of the leading edge of
HSYNC occurs within ±127 CLK2 cycles of
VSYNC, the encoder assumes it is at the start of an odd field. Otherwise, it assumes it is processing an even field.
The FIELD signal is always an output and changes state near each leading edge of
VSYNC. The delay between the syncs and FIELD depends on the encoder’s operating mode as summarized in Table 6. In modes in which the encoder uses CLK to gate its inputs and outputs, the FIELD signal may be delayed 0-12 additional CLK2 periods.
Figure 10 illustrates the
HSYNC, VSYNC, and FIELD gen­eral timing for (M, NSM) NTSC and (M, N) PAL. Figure 11 illustrates the general timing for (B, D, G, H, I, CN) PAL. In the figures, all the signals are shown active low (their reset state), and FIELD is low during odd fields.
TABLE 6. FIELD OUTPUT TIMING
OPERATING MODE
SYNC I/O
DIRECTION
Input Input 148 FIELD lags VSYNC switch-
Input Output 138 FIELD lags VSYNC.
Output Don’t Care 32 FIELD leads VSYNC.
BLANK I/O
DIRECTION
CLK2
DELAY COMMENTS
ing from odd to even. FIELD lags the earlier of VSYNC and HSYNC when syncs are aligned when switching from even to odd.
FIELD
FIGURE 10A. BEGINNING AN ODD FIELD
HSYNC
VSYNC
FIELD
FIGURE 10B. BEGINNING AN EVEN FIELD
FIGURE 10. HSYNC, VSYNC, AND FIELD TIMING FOR
(M, NSM) NTSC AND (M, N) PAL
HSYNC
VSYNC
FIELD
FIGURE 11A. BEGINNING AN ODD FIELD
HSYNC
VSYNC
FIELD
FIGURE 11B. BEGINNING AN EVEN FIELD
FIGURE 11.
HSYNC, VSYNC, AND FIELD TIMING FOR (B, D, G, H, I, CN) PAL
10
Loading...
+ 23 hidden pages