ChipFind - документация

Электронный компонент: HMP8116CN

Скачать:  PDF   ZIP
S E M I C O N D U C T O R
1
ADVANCE DRAFT
April 1998
HMP8116
NTSC/PAL Video Decoder
Features
(M) NTSC and (B, D, G, H, I, M, N, N
C
) PAL Operation
- Optional Auto Detect of Video Standard
- ITU-R BT.601(CCIR601) and Square Pixel Operation
Digital Output Formats
- VMI Compatible
-
8-bit, 16-bit 4:2:2 YCbCr
-
15-bit (5,5,5), 16-bit (5,6,5) RGB
-
Linear or Gamma-Corrected
- 8-bit BT.656
Analog Input Formats
- Three Analog Composite Inputs
- Analog Y/C (S-video) Input
"Raw" (Oversampled) VBI Data Capture
"Sliced" VBI Data Capture Capabilities
- Closed Captioning
- Widescreen Signalling (WSS)
- BT.653 System B, C and D Teletext
-
NABTS (North American Broadcast Teletext)
-
WST (World System Teletext)
2-Line (1H) Comb Filter Y/C Separator
Fast I
2
C Interface
Two 8-Bit ADCs
Applications
Multimedia PCs
Video Conferencing
Video Compression Systems
Video Security Systems
LCD Projectors and Overhead Panels
Related Products
- NTSC/PAL Encoders: HMP815x, HMP817x
- NTSC/PAL Decoders: HMP8112A
Related Literature
- AN9644: Composite Video Separation Techniques
- AN9716: Widescreen Signalling
- AN9717: YCbCr to RGB Considerations
- AN9728: BT.656 Video Interface for ICs
- AN9738: VMI Video Interface for ICs
Description
The HMP8115 is a high quality NTSC and PAL decoder with
internal A/D converters. It is compatible with NTSC M, PAL
B, D, G, H, I, M, N, and combination N (N
C
) video standards.
Both composite and S-video (Y/C) input formats are sup-
ported. A 2-line comb filter plus a user-selectable chromi-
nance trap filter provide high quality Y/C separation. User
adjustments include brightness, contrast, saturation, hue,
and sharpness.
Data during the vertical blanking interval (VBI), such as
closed captioning, widescreen signalling and teletext, may
be captured and output as BT.656 ancillary data. Closed
captioning and widescreen signalling information may also
be read out via the I
2
C interface.
Ordering Information
PART NUMBER
TEMP.
RANGE (
o
C)
PACKAGE
PKG.NO.
HMP8116CN
0 to 70
80 Ld PQFP
Q80.14x20
HMPVIDEVAL/ISA
Evaluation Board: ISA Frame Grabber
NOTES:
1. PQFP is also known as QFP and MQFP.
2. Evaluation Board and Reference Design descriptions are in the
Applications section.
CAUTION: These devices are sensitive to electrostatic discharge. Users should follow proper IC Handling Procedures.
Copyright
Harris Corporation 1998
File Number
4510
2
Table of Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
External Video Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
ANALOG VIDEO INPUTS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
ANTI-ALIASING FILTERS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
Digitization of Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
A/D CONVERSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
AGC AND DC RESTORATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
INPUT SIGNAL DETECTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
VERTICAL SYNC AND FIELD DETECTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
Y/C SEPARATION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
INPUT SAMPLE RATE CONVERTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
COMB FILTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
CHROMA DEMODULATION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
OUTPUT SAMPLE RATE CONVERTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
CLK2 INPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
Digital Processing of Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
UV to CbCr Conversion. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
DIGITAL COLOR GAIN CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
COLOR KILLER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
Y PROCESSING. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
CbCr Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
YCbCr Output Format Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
RGB OUTPUT FORMAT PROCESSING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
BUILT-IN VIDEO GENERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
Pixel Port Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
HSYNC AND VSYNC TIMING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
FIELD TIMING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
BLANK AND DVALID TIMING. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10
PIXEL OUTPUT PORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
8-BIT YCbCr OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
16-BIT YCbCr, 15-BIT RGB, OR 16-RGB OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
8-BIT BT.656 OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
14
Advanced Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
CLOSED CAPTIONING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
WIDESCREEN SIGNALLING (WSS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
16
BT.656 ANCILLARY DATA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17
BT.656 CLOSED CAPTIONING AND WIDE SCREEN SIGNALLING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17
TELETEXT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18
REAL TIME CONTROL INTERFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
19
Host Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
HMP8116 Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Applications Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
PCB LAYOUT CONSIDERATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
38
EVALUATION BOARD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39
RELATED APPLICATION NOTES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39
HMP8116
HMP8116
3
Functional Block Diagram
P[15:0]
BLANK
FIELD
D
V
ALID
USER
ADJUST
COLOR
TRAP
OUTPUT
SAMPLE
RA
TE
CONVER
TER
LOCKED
INPUT
MUX
WHITE PEAK LEVEL
DIGIT
AL COMP
ARA
T
ORS
BLA
CK LEVEL
SYNC LEVEL
8-BIT
ADC
AG
C
CLAMP
AND
CVBS1
CVBS2
CVBS3/(Y)
L_CAP
Y
OUT
YIN
+ -
CLAMP
DIGIT
AL COMP
ARA
T
O
R
8-BIT
ADC
CLAMP
C
C_CAP
+
-
SD
A
SCL
RESET
GAIN
CONTR
OL
LOGIC
AND
LINE
PLL
VSYNC
DETECT
MICR
OPR
OCESSOR
INTERF
A
CE AND
CONTR
OL
HSYNC
VSYNC
LOGIC
COLOR
DEMODULA
TION
Y/C
SEP
ARA
TION
INPUT
SAMPLE
RA
TE
CONVER
TER
CHR
OMA
PLL
HSYNC
DETECT
LOCK
COLOR
ADJUST
EXTERNAL
ANTIALIASING
FIL
TER
EXTERNAL
ANTIALIASING
FIL
TER
VBI
DETECTION &
DECODING LOGIC
VBIV
ALID
INTREQ
USER
ADJUST
.
OUTPUT
TIMING
AND
FIFO
RGB
LOGIC
VBI ST
A
TUS BITS
HMP8116
4
HMP8116
Functional Block Diagram
(Continued)
Y,CVBS
C
CR[7:0]
M
U
X
CHROMA
LINE
COMB
C,CVBS
DATA
Y DATA
ENABLE
Y DATA
CHROMA
DEMODULATOR
Y DATA
C,CVBS
DATA
C DATA
Y DATA
U,V
SATURATION
ADJUST
SHARPNESS
ADJUST
STANDARD
SELECT
M
U
X
HSYNC
DETECT
CHROMA
PHASE
DETECTOR
CHROMA
PLL NCO
4FSC
CLOCK
CLK
(24.54, 27.0 or 29.5MHz)
LINE LOCKED
PLL LOOP FILTER
HUE
ADJUST
AGC
ADJUST
VSYNC
DETECT
INPUT
RATE
CONVERTER
SAMPLE
FILTER
DELAY
TRAP
CLK TO
4FSC RATIO
HSYNC
VSYNC
GENLOCK LOSS
LOCKED
FIELD
SYNC
& CONTRAST
ADJUST
BRIGHTNESS,
STRIPPER,
OUTPUT
RATE
CONVERTER
SAMPLE
LINE LOCKED
NCO
CHROMA
PLL LOOP
FILTER
HORIZONTAL
AND VERTICAL
SHARPNESS
ADJUST
U, V TO CbCr
COLOR
CONVERTER
AND COLOR
KILLER
SPACE
M
U
X
ENABLE
LP FILTER
ENABLE
LP FILTER
CbCr
Y
RGB
LOGIC
OUTPUT
FIFO
AND
TIMING
MUX
MUX
P[15:0]
HSYNC,VSYNC, BLANK,
FIELD, DVALID, VBIVALID
VBI DETECTION
& DECODING LOGIC
5
Introduction
The HMP8116 is designed to decode baseband composite
or S-video NTSC and PAL signals, and convert them to
either digital YCbCr or RGB data. In addition to performing
the basic decoding operations, the HMP8116 includes hard-
ware to decode different types of VBI data and to generate
digital video patterns for a blue screen, black screen and full
screen color bars.
The digital PLLs are designed to synchronize to all NTSC
and PAL standards. A chroma PLL is used to maintain
chroma lock for demodulation of the color information; a line-
locked PLL is used to maintain vertical spatial alignment.
The PLLs are designed to maintain lock even in the event of
VCR headswitches and multipath noise.
The HMP8116 contains two 8-bit A/D converters and an I
2
C
interface for programming internal registers
External Video Processing
Before a video signal can be digitized the decoder has some
external
processing
considerations
that
need
to
be
addressed. This section discusses those external aspects of
the HMP8116.
ANALOG VIDEO INPUTS
The HMP8116 supports either three composite or two com-
posite and one S-video input.
Three analog video inputs (CVBS 1-3) are used to select
which one of three composite video sources are to be
decoded. To support S-video applications, the Y channel
drives the CVBS 3 analog input, and the C channel drives
the C analog input.
The analog inputs must be AC-coupled to the video signals,
as shown in the Applications section.
ANTI-ALIASING FILTERS
An external anti-alias filter is required to achieve optimum
performance and prevent high frequency components from
being aliased back into the video image.
For the CVBS 1-3 inputs, a single filter is connected between
the YOUT and YIN pins. For the C input, the antialiasing filter
should be connected before the C input. A recommended fil-
ter is shown in Figure 1.
Digitization of Video
Prior to A/D conversion, the video signal is DC restored and
gained to generate known video levels into the digital process-
ing logic. This process is addessed in the "AGC and DC Res-
toration" section. After digitization, sample rate converters and
a comb filter are used to perform color separation and demod-
ulation.
A/D CONVERSION
Video data is sampled at the CLK2 frequency then pro-
cessed by the input sample rate converter. The output levels
of the ADC after AGC and DC restoration processing are:
(M) NTSC
(B, D, G, H, I, N
C
)
(M, N) PAL
PAL
white
196
196
black
66
59
blank
56
59
sync
0
0
AGC AND DC RESTORATION
The AGC amplifier attenuates or amplifies the analog video
signal to ensure that the blank level generates code 56 or 59
depending on the video standard. The difference from the
ideal blank level of 56 or 59 is used to control the amount of
attenuation or gain of the analog video signal.
DC restoration positions the video signal so that the sync tip
generates a code 0. The internal timing windows for AGC
and DC Restoration are show in Figure 3.
INPUT SIGNAL DETECTION
It is assumed there is no video input if a horizontal sync is
not detected for 16 consecutive lines. When no video has
been detected, nominal video timing is generated for the
previously detected or programmed video standard. A
maskable interrupt is included to flag when no video has
been detected (bit 6 of the INTERRUPT MASK register 0F
H
)
allowing for blue/black/color bar output modes to be enabled
if desired. The vertical sync interrupt can be used in deter-
mining when a video signal is present on the currently
selected video mux input. Bit 0 of register 0F
H
is used to
enable vertical sync interrupts.
FIGURE 1. RECOMMENDED ANTI-ALIASING FILTER
R
1
332
R
2
4.02K
C
2
82pF
L
1
8.2uH
C
1
33pF
YOUT
YIN
FIGURE 2. AGC AND DC RESTORE INTERNAL TIMING
VIDEO INPUT
DC RESTORE
AGC
HMP8116