TW9920
Techwell, Inc. ...............................................................................1
Features........................................................................................4
Functional Description...............................................................5
General description..................................................................6
Analog Front-end .....................................................................6
Video Source Selection........................................................6
Clamping and Automatic Gain Control ................................7
Analog to Digital Converter ..................................................7
Sync Processing ......................................................................7
Horizontal sync processing ..................................................7
Vertical sync processing ......................................................7
Color Decoding ........................................................................8
Y/C separation......................................................................8
Color demodulation ..............................................................8
Automatic Chroma Gain Control..........................................9
Low Color Detection and Removal......................................9
Automatic standard detection ..............................................9
Video Format support.........................................................10
Component Processing .........................................................10
Luminance Processing.......................................................10
Gamma...............................................................................10
Sharpness...........................................................................10
The Hue and Saturation.....................................................11
Color Transient Improvement ............................................11
Power Management ..............................................................11
Control Interface.....................................................................11
Down-scaling and Cropping...............................................11
TW9920 Down-Scaling ......................................................11
TW9920 Cropping ..............................................................12
VDELAY + VACTIVE < Total number of lines per field........13
Output Interface .....................................................................14
ITU-R BT.656 .....................................................................14
VIP (Video Interface Port) ..................................................14
Horizontal Down Scaling Output........................................15
Vertical Down Scaling Output ............................................16
Raw VBI data output ..........................................................16
VBI Data Processing..............................................................17
Raw VBI data output ..........................................................17
VBI Data Slicer ...................................................................17
Sliced VBI Data output format............................................18
Audio clock generation ..........................................................24
Analog Video Encoder...........................................................26
Timing Interface and Control .................................................29
Two Wire Serial Bus Interface...............................................30
Test Modes ............................................................................32
Filter Curves...........................................................................33
Decimation filter..................................................................33
Anti-alias filter .....................................................................33
Chroma Band Pass Filter Curves......................................34
Luma Notch Filter Curve for NTSC and PAL/SECAM......35
Chrominance Low-Pass Filter Curve.................................35
Horizontal Scaler Pre- Filter curves ...................................36
Vertical Interpolation Filter curves......................................36
Peaking Filter Curves.........................................................37
Control Register ........................................................................38
TW9920 Register SUMMARY...........................................38
0x00 – Product ID Code Register (ID)..............................41
0x01 – Chip Status Register I (STATUS1)........................41
0x02 – Input Format (INFORM).........................................42
0x03 – Output Format Control Register (OPFORM) ........43
0x04 – GAMMA and HSYNC Delay Control.....................43
0x05 – Output Control I ......................................................44
0x06 – Analog Control Register (ACNTL) .........................45
0x07 – Cropping Register, High (CROP_HI) ....................45
0x08 – Vertical Delay Register, Low (VDELAY_LO) ........46
0x09 – Vertical Active Register, Low (VACTIVE_LO).......46
0x0A – Horizontal Delay Register, Low (HDELAY_LO) ...46
0x0B – Horizontal Active Register, Low (HACTIVE_LO)..46
0x0C – Control Register I (CNTRL1).................................47
0x0D – Vertical Scaling Register, Low (VSCALE_LO).....47
0x0E – Scaling Register, High (SCALE_HI) .....................47
0x0F – Horizontal Scaling Register, Low (HSCALE_LO).48
0x10 – BRIGHTNESS Control Register (BRIGHT) ..........48
0x11 – CONTRAST Control Register (CONTRAST) .......48
0x12 – SHARPNESS Control Register I (SHARPNESS) 48
0x13 – Chroma (U) Gain Register (SAT_U) .....................49
0x14 – Chroma (V) Gain Register (SAT_V)......................49
0x15 – Hue Control Register (HUE)..................................49
0x16 – Sharpness Control II (SHARP2)............................49
0x17 – Vertical Sharpness (VSHARP)..............................50
0x18 – Coring Control Register (CORING).......................50
0x19 – VBI Control Register (VBICNTL)...........................51
0x1A – Analog Control II....................................................52
0x1B – Output Control II ....................................................52
0x1C – Standard Selection (SDT) .....................................53
0x1D – Standard Recognition (SDTR)..............................54
0x1E – Component Video Format (CVFMT) ....................54
0x1F – Test Control Register (TEST)................................55
0x20 – Clamping Gain (CLMPG) ......................................56
0x21 – Individual AGC Gain (IAGC)..................................56
0x22 – AGC Gain (AGCGAIN) ..........................................56
0x23 – White Peak Threshold (PEAKWT)........................56
0x24– Clamp level (CLMPL)..............................................56
0x25– Sync Amplitude (SYNCT).......................................57
0x26 – Sync Miss Count Register (MISSCNT).................57
0x27 – Clamp Position Register (PCLAMP) .....................57
0x28 – Vertical Control I (VCNTL1)...................................58
0x29 – Vertical Control II (VCNTL2)..................................58
0x2A – Color Killer Level Control (CKILL).........................58
0x2B – Comb Filter Control (COMB).................................59
0x2C – Luma Delay and H Filter Control (LDLY)..............59
0x2D – Miscellaneous Control I (MISC1)..........................60
0x2E – LOOP Control Register (LOOP) ...........................60
0x2F – Miscellaneous Control II (MISC2) .........................61
0x30 – Macrovision Detection (MVSN) .............................62
0x31 – Chip STATUS II (STATUS2) ................................62
0x32 – H monitor (HFREF)................................................63
0x33 – CLAMP MODE (CLMD) ........................................63
0x34 – ID Detection Control (IDCNTL)..............................63
0x35 – Clamp Control I (CLCNTL1) ..................................64
0x40 – 0x48
AUDIO CLOCK....................................65
0x40 – Audio Clock Increment (ACKI) ..............................65
0x41 – Audio Clock Increment (ACKI) ..............................65
0x42 – Audio Clock Increment (ACKI) ..............................65
0x43 – Audio Clock Number (ACKN)................................65
0x44 – Audio Clock Number (ACKN)................................65
0x45 – Audio Clock Number (ACKN)................................65
0x46 – Serial Clock Divider (SDIV)....................................66
0x47 – Left/Right Clock Divider (LRDIV)...........................66
0x48 – Audio Clock Control (ACCNTL).............................66
0x4E – HBLEN...................................................................67
0x4F – WSS3 .....................................................................67
0x50 – FILLDATA ..............................................................67
0x51 – SDID.......................................................................67
0x52 – DID..........................................................................68
0x53 – WSS1 .....................................................................68
0x54 – WSS2 .....................................................................68
0x55 – VVBI .......................................................................69
0x56~6A LCTL6~LCTL26 .................................................69
0x6B – HSGEGIN ..............................................................70
0x6C – HSEND ..................................................................70
0x6D – OVSDLY................................................................70
0x6E – OVSEND................................................................70
0x6F – VBIDELAY .............................................................71
0x70 – ENCODER CONTROL1........................................71
0x71 – ENCODER CONTROL2........................................72
TECHWELL, INC.
2
REV. D
08/29/2005
TW9920
TW9920 – Analog Video Decoder / Encoder
Features
Video decoder
−
NTSC (M, 4.43) and PAL (B, D, G, H, I, M, N, N
combination), PAL (60), SECAM support with automatic
format detection
−
Software selectable analog inputs allows any of the
following combinations, e.g. 4 CVBS or ( 3 CVBS and 1
Y/C ).
Video Encoder
−
Support NTSC/PAL and its sub-standard format output
−
ITU-R 656 compatible video interface
−
Luminance and chrominance filter
−
Stable 27MHz crystal clock for subcarrier generation
−
Five 10-bit Digital-to-Analog Converters at 27Mhz sample
rate for generating CVBS or Y/C and YCbCr
simultaneously
−
Two 9-bit ADCs and analog clamping circuit.
−
Fully programmable static gain or automatic gain control
for the Y channel
−
Programmable white peak control for the Y or CVBS
channel
−
4-H adaptive comb filter Y/C separation
−
PAL delay line for color phase error correction
−
Image enhancement with 2D peaking and CTI.
−
Digital sub-carrier PLL for accurate color decoding
−
Digital Horizontal PLL for synchronization processing and
pixel sampling
−
Advanced synchronization processing and sync detection
for handling non-standard and weak signal
−
Programmable hue, brightness, saturation, contrast,
sharpness, Gamma control, and noise suppression
−
Automatic color control and color killer
−
Detection of level of copy protection according to
Macrovision standard
Miscellaneous
−
Two wire MPU serial bus interface
−
Power-down mode
−
Field locked audio clock generation
−
Typical power consumption 0.62W
−
Single 27MHz crystal for all standards
−
Supports 24.54MHz and 29.5MHz crystal for high
resolution square pixel format decoding
−
3V tolerant I/O
−
2.5/3.3 V power supply
−
VFBGA package
−
Programmable output cropping
−
ITU-R 601 or ITU-R 656 compatible YCbCr(4:2:2) output
format
−
VBI slicer supporting industrial standard data services
−
VBI data pass through, raw ADC data for Intercast™
Video scaler
−
High quality horizontal filtered scaling with arbitrary scale
down ratio
−
Phase accuracy better than 1/32 pixel
−
Selectable anti-alias filter
−
Vertical down scaling by line dropping
TECHWELL, INC.
4
REV. D
08/29/2005