Chip Roadtar
Chip Roadtar
Chip Roadtar
Data Manual
Contents
Section Page
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Detailed Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 TVP5147 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Related Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.4 Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.5 Functional Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.6 Terminal Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.7 Terminal Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1 Analog Processing and A/D Converters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1.1 Video Input Switch Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1.2 Analog Input Clamping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.1.3 Automatic Gain Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.1.4 Analog Video Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.1.5 A/D Converters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2 Digital Video Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2.1 2× Decimation Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2.2 Composite Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2.3 Luminance Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.3 Clock Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.4 Real-Time Control (RTC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.5 Output Formatter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.5.1 Separate Syncs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.5.2 Embedded Syncs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.6 2
I C Host Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.6.1 Reset and I2C Bus Address Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.6.2 I2C Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.6.3 VBUS Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.7 VBI Data Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.7.1 VBI FIFO and Ancillary Data in Video Stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.7.2 VBI Raw Data Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.8 Reset and Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.9 Adjusting External Syncs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2.10 Internal Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2.11 Register Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.11.1 Input Select Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.11.2 AFE Gain Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.11.3 Video Standard Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.11.4 Operation Mode Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.11.5 Autoswitch Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.11.6 Color Killer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2.11.7 Luminance Processing Control 1 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2.11.8 Luminance Processing Control 2 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
2.11.9 Luminance Processing Control 3 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
2.11.10 Luminance Brightness Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
2.11.11 Luminance Contrast Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
4.2 Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
4.2.1 Assumptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
4.2.2 Recommended Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
4.3 Example 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
4.3.1 Assumptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
4.3.2 Recommended Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
5 Application Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
5.1 Application Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
5.2 Designing With PowerPAD Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
List of Illustrations
Figure Title Page
1−1 Functional Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1−2 Terminal Assignments Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2−1 Analog Processors and A/D Converters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2−2 Digital Video Processing Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2−3 Composite and S-Video Processing Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2−4 Color Low-Pass Filter Frequency Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2−5 Color Low-Pass Filter With Filter Frequency Response, NTSC Square Pixel Sampling . . . . . . . . . . . . . . . . 13
2−6 Color Low-Pass Filter With Filter Characteristics, NTSC/PAL ITU-R BT.601 Sampling . . . . . . . . . . . . . . . . 13
2−7 Color Low-Pass Filter With Filter Characteristics, PAL Square Pixel Sampling . . . . . . . . . . . . . . . . . . . . . . . 13
2−8 Chroma Trap Filter Frequency Response, NTSC Square Pixel Sampling . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2−9 Chroma Trap Filter Frequency Response, NTSC ITU-R BT.601 Sampling . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2−10 Chroma Trap Filter Frequency Response, PAL ITU-R BT.601 Sampling . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2−11 Chroma Trap Filter Frequency Response, PAL Square Pixel Sampling . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2−12 Luminance Edge-Enhancer Peaking Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2−13 Peaking Filter Response, NTSC Square Pixel Sampling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2−14 Peaking Filter Response, NTSC/PAL ITU-R BT.601 Sampling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2−15 Peaking Filter Response, PAL Square Pixel Sampling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2−16 Reference Clock Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2−17 RTC Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2−18 Vertical Synchronization Signals for 525-Line System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2−19 Vertical Synchronization Signals for 625-Line System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2−20 Horizontal Synchronization Signals for 10-Bit 4:2:2 Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2−21 Horizontal Synchronization Signals for 20-Bit 4:2:2 Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2−22 VSYNC Position With Respect to HSYNC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2−23 VBUS Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2−24 Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2−25 Teletext Filter Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
3−1 Clocks, Video Data, and Sync Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
3−2 I2C Host Port Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
5−1 Example Application Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
List of Tables
Table Title Page
1−1 Terminal Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1 Introduction
The TVP5147 device is a high-quality, single-chip digital video decoder that digitizes and decodes all popular
baseband analog video formats into digital component video. The TVP5147 decoder supports the
analog-to-digital (A/D) conversion of component YPbPr signals, as well as the A/D conversion and decoding
of NTSC, PAL, and SECAM composite and S-video into component YCbCr. This decoder includes two 10-bit
30-MSPS A/D converters (ADCs). Preceding each ADC in the device, the corresponding analog channel
contains an analog circuit that clamps the input to a reference voltage and applies a programmable gain and
offset. A total of 10 video input terminals can be configured to a combination of YPbPr, CVBS, or S-video video
inputs.
Composite or S-video signals are sampled at 2× the square-pixel or ITU-R BT.601 clock frequency, line-locked
alignment, and are then decimated to the 1× pixel rate. CVBS decoding uses five-line adaptive comb filtering
for both the luma and chroma data paths to reduce both cross-luma and cross-chroma artifacts. A chroma trap
filter is also available. On CVBS and S-video inputs, the user can control video characteristics such as
contrast, brightness, saturation, and hue via an I2C host port interface. Furthermore, luma peaking
(sharpness) with programmable gain is included, as well as a patented chroma transient improvement (CTI)
circuit.
The following output formats can be selected: 20-bit 4:2:2 YCbCr or 10-bit 4:2:2 YCbCr.
The TVP5147 decoder generates synchronization, blanking, field, active video window, horizontal and vertical
syncs, clock, genlock (for downstream video encoder synchronization), host CPU interrupt and programmable
logic I/O signals, in addition to digital video outputs.
The TVP5147 decoder includes methods for advanced vertical blanking interval (VBI) data retrieval. The VBI
data processor (VDP) slices, parses, and performs error checking on teletext, closed caption (CC), and other
VBI data. A built-in FIFO stores up to 11 lines of teletext data, and with proper host port synchronization,
full-screen teletext retrieval is possible. The TVP5147 decoder can pass through the output formatter 2×
sampled raw luma data for host-based VBI processing.
Copy VBI
CVBS/Y Data
Protection
Detector Processor
Analog
Front End
VI_1_A Composite and S-Video Processor
CVBS/ VI_1_B
C/Pb Y/C
VI_1_C CVBS/Y Y Luma Y[9:0]
Separation
Processing YCbCr Output
5-line Formatter
VI_2_A C/CbCr C Chroma
CVBS/ Clamping Adaptive
VI_2_B Processing C[9:0]
Y AGC Comb
VI_2_C M
2 × 11-Bit U
VI_3_A ADC X
CVBS/
VI_3_B
C/Pr
VI_3_C
CVBS/Y VI_4_A
GPIO
Sampling
Clock Timing Processor
Host
With Sync Detector
Interface
XTAL1
XTAL2
VS/VBLK
AVID
GLCO
SCL
SDA
PWDN
HS/CS
DATACLK
FID
RESETB
VS/VBLK/GPIO
CH1_A18GND
CH1_A18VDD
PLL_A18GND
PLL_A18VDD
HS/CS/GPIO
C_0/GPIO
C_1/GPIO
C_2/GPIO
C_3/GPIO
C_4/GPIO
C_5/GPIO
FID/GPIO
VI_1_A
IOGND
IOVDD
XTAL2
XTAL1
DGND
DVDD
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61
VI_1_B 1 60 C_6/GPIO
VI_1_C 2 59 C_7/GPIO
CH1_A33GND 3 58 C_8/GPIO
CH1_A33VDD 4 57 C_9/GPIO
CH2_A33VDD 5 56 DGND
CH2_A33GND 6 55 DVDD
VI_2_A 7 54 Y_0
VI_2_B 8 53 Y_1
VI_2_C 9 52 Y_2
CH2_A18GND 10 51 Y_3
CH2_A18VDD 11 50 Y_4
A18VDD_REF 12 49 IOGND
A18GND_REF 13 48 IOVDD
NC 14 47 Y_5
NC 15 46 Y_6
VI_3_A 16 45 Y_7
VI_3_B 17 44 Y_8
VI_3_C 18 43 Y_9
NC 19 42 DGND
NC 20 41 DVDD
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
VI_4_A
SCL
NC
NC
SDA
GPIO
DVDD
A18VDD
AGND
DATACLK
DGND
DGND
A18GND
PWDN
RESETB
INTREQ
AVID/GPIO
GLCO/I2CA
IOVDD
IOGND
2 Functional Description
2.1 Analog Processing and A/D Converters
Figure 2−1 shows a functional diagram of the analog processors and A/D converters, which provide the analog
interface to all video inputs. It accepts up to 10 inputs and performs source selection, video clamping, video
amplification, A/D conversion, and gain and offset adjustments to center the digitized video signal. The
TVP5147 supports one analog video output for the selected analog input video.
I/O
M
VI_1_A PGA U
X
M CH1 A/D
CVBS/
VI_1_B U Clamp 11-Bit
Pb/C PGA
X ADC
VI_1_C
VI_3_A
M
CVBS/
VI_3_B U Clamp
Pr/C
X
VI_3_C
CVBS/
VI_4_A Clamp
Y
The input selection is performed by the input select register at I2C subaddress 00h (see Section 2.11.1).
The TVP5147 AGC comprises the front-end AGC before Y/C separation and the back-end AGC after Y/C
separation. The back-end AGC restores the optimum system gain whenever an amplitude reference such as
the composite peak (which is only relevant before Y/C separation) forces the front-end AGC to set the gain
too low. The front-end and back-end AGC algorithms can use up to four amplitude references: sync height,
color burst amplitude, composite peak, and luma peak.
The specific amplitude references being used by the front-end and back-end AGC algorithms can be
independently controlled using the AGC white peak processing register located at subaddress 74h. The
TVP5147 gain increment speed and gain increment delay can be controlled using the AGC increment speed
register located at subaddress 78h and the AGC increment delay register located at subaddress 79h.
Figure 2−2 is a block diagram of the TVP5147 digital video decoder processing. This block receives digitized
video signals from the ADCs and performs composite processing for CVBS and S-video inputs and YCbCr
signal enhancements for CVBS and S-video inputs. It also generates horizontal and vertical syncs and other
output control signals such as genlock for CVBS and S-video inputs. Additionally, it can provide field
identification, horizontal and vertical lock, vertical blanking, and active video window indication signals. The
digital data output can be programmed to two formats: 20-bit 4:2:2 with external syncs or 10-bit 4:2:2 with
embedded/separate syncs. The circuit detects pseudosync pulses, AGC pulses, and color striping in
Macrovision-encoded copy-protected material. Information present in the VBI interval can be retrieved and
either inserted in the ITU-R BT.656 output as ancillary data or stored in internal FIFO and/or registers for
retrieval via the host port interface.
Copy
VBI Data Slice VBI Data
Protection
Processor
Detector
Y[9:0]
Output
Formatter
2×
CH1 A/D
Decimation
C[9:0]
CVBS/Y
Composite YCbCr
C/CbCr Processor
2×
CH2 A/D
Decimation
XTAL1 FID
XTAL2 VS/VBLK
Timing Host SCL
RESETB HS/CS
Processor Interface SDA
PWDN GLCO
DATACLK AVID
The 10-bit composite video is multiplied by the subcarrier signals in the quadrature demodulator to generate
color difference signals U and V. The U and V signals are then sent to low-pass filters to achieve the desired
bandwidth. An adaptive 5-line comb filter separates UV from Y based on the unique property of color phase
shifts from line to line. The chroma is remodulated through a quadrature modulator and subtracted from
line-delayed composite video to generate luma. This form of Y/C separation is completely complementary,
thus there is no loss of information. However, in some applications, it is desirable to limit the U/V bandwidth
to avoid crosstalk. In that case, notch filters can be turned on. To accommodate some viewing preferences,
a peaking filter is also available in the luma path. Contrast, brightness, sharpness, hue, and saturation controls
are programmable through the host port.
Y
CVBS/Y Peaking Delay
Line
Delay –
NTSC/PAL Y
SECAM Luma Remodulation
Contrast
Brightness Cb
Saturation
Adjust
Notch
Filter Cr
SECAM
CVBS Color
Demodulation Color LPF Notch
U
↓2 Filter
Burst
Accumulator
(U)
5-Line
Adaptive
Comb
Filter
Burst
Accumulator Notch U
Filter Delay
(V)
Notch V
Color LPF Delay
V Filter
↓2
NTSC/PAL
CVBS/C Demodulation
10 10
Filter 2
0 0 −3 dB @ 767 kHz
PAL SQP −3 dB
Filter 0
−10 @ 1.55 MHz −10 −3 dB @ 1.29 MHz
Amplitude − dB
Amplitude − dB
−20 −20 Filter 3
−3 dB @ 504 kHz
−30 −30
Filter 1
ITU-R BT.601 −3 dB −3 dB
−40 @ 1.42 MHz −40
@ 936 kHz
−50 −50
NTSC SQP −3 dB
−60 @ 1.29 MHz −60
−70 −70
0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
f − Frequency − MHz f − Frequency − MHz
Figure 2−4. Color Low-Pass Filter Frequency Figure 2−5. Color Low-Pass Filter With Filter
Response Frequency Response, NTSC Square Pixel
Sampling
10 10
Filter 2 Filter 2
−3 dB @ 844 kHz −3 dB @ 922 kHz
0 0
Filter 0 Filter 0
−3 dB @ 1.41 MHz −3 dB @ 1.55 MHz
−10 −10
Filter 3
Filter 3
−3 dB
Amplitude − dB
Amplitude − dB
−50 −50
−60 −60
−70 −70
0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
f − Frequency − MHz f − Frequency − MHz
Figure 2−6. Color Low-Pass Filter With Filter Figure 2−7. Color Low-Pass Filter With Filter
Characteristics, NTSC/PAL ITU-R BT.601 Characteristics, PAL Square Pixel Sampling
Sampling
10 10
5 5 Notch 3 Filter
Notch 2 Filter
0 0
−5 −5
Amplitude − dB
Amplitude − dB
−10 −10
Notch 1 Filter
−15 −15
−40 −40
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
f − Frequency − MHz f − Frequency − MHz
Figure 2−8. Chroma Trap Filter Frequency Figure 2−9. Chroma Trap Filter Frequency
Response, NTSC Square Pixel Sampling Response, NTSC ITU-R BT.601 Sampling
10 10
0 0
−5 −5
Amplitude − dB
Amplitude − dB
−10 −10
Notch 1 Filter Notch 1 Filter
−15 −15
−20 −20
Notch 2 Filter Notch 2 Filter
−25 −25
−30 −30
No Notch Filter No Notch Filter
−35 −35
−40 −40
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
f − Frequency − MHz f − Frequency − MHz
Figure 2−10. Chroma Trap Filter Frequency Figure 2−11. Chroma Trap Filter Frequency
Response, PAL ITU-R BT.601 Sampling Response, PAL Square Pixel Sampling
Delay + OUT
7 7
Peak at Peak at
f = 2.40 MHz f = 2.64 MHz
6 6
Gain = 2 Gain = 2
5 5
4 Gain = 1 Gain = 1
Amplitude − dB
Amplitude − dB
3 3
Gain = 0.5
Gain = 0.5
2 2
1 1
0 0
Gain = 0 Gain = 0
−1 −1
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
f − Frequency − MHz f − Frequency − MHz
Figure 2−13. Peaking Filter Response, NTSC Figure 2−14. Peaking Filter Response,
Square Pixel Sampling NTSC/PAL ITU-R BT.601 Sampling
7
Peak at
f = 2.89 MHz
6
Gain = 2
5
Gain = 1
Amplitude − dB
4
3
Gain = 0.5
2
Gain = 0
−1
0 1 2 3 4 5 6 7
f − Frequency − MHz
An internal line-locked PLL generates the system and pixel clocks. A 14.318-MHz clock is required to drive
the PLL. This can be input to the TVP5147 decoder at the 1.8-V level on terminal 74 (XTAL1), or a crystal of
14.318-MHz fundamental resonant frequency can be connected across terminals 74 and 75 (XTAL2). If a
parallel resonant circuit is used as shown in Figure 2−16, then the external capacitors must have the following
relationship:
CL1 = CL2 = 2CL − CSTRAY,
where CSTRAY is the terminal capacitance with respect to ground. Figure 2−16 shows the reference clock
configurations. The TVP5147 decoder generates the DATACLK signal used for clocking data.
TVP5147 TVP5147
14.318-MHz
Crystal CL1
74 14.318-MHz 74
XTAL1 XTAL1
Clock
CL2
75 75
XTAL2 XTAL2
Although the TVP5147 decoder is a line-locked system, the color burst information is used to determine
accurately the color subcarrier frequency and phase. This ensures proper operation with nonstandard video
signals that do not follow exactly the required frequency multiple between color subcarrier frequency and video
line frequency. The frequency control word of the internal color subcarrier PLL and the subcarrier reset bit are
transmitted via terminal 37 (GLCO) for optional use in an end system (for example, by a video encoder). The
frequency control word is a 23-bit binary number. The instantaneous frequency of the color subcarrier can be
calculated using the following equation:
F ctrl
F PLL + F sclk
2 23
where FPLL is the frequency of the subcarrier PLL, Fctrl is the 23-bit PLL frequency control word, and Fsclk is
two times the pixel frequency. This information can be generated on the GLCO terminal. Figure 2−17 shows
the detailed timing diagram.
Valid Invalid
Sample Sample
Reserved
M L
RTC S S S R
B B
22 0
Start
Bit
NOTE: RTC reset bit (R) is active-low, Sequence bit (S) PAL: 1 = (R-Y) line normal, 0 = (R-Y) line inverted, NTSC: 1 = no change
The output formatter sets how the data is formatted for output on the TVP5147 output buses. Table 2−1 shows
the available output modes.
Table 2−2. Summary of Line Frequencies, Data Rates, and Pixel/Line Counts
PIXEL COLOR
PIXELS PER ACTIVE PIXELS LINES PER HORIZONTAL
STANDARDS FREQUENCY SUBCARRIER
LINE PER LINE FRAME LINE RATE (kHz)
(MHz) FREQUENCY (MHz)
601 sampling
NTSC-J, M 858 720 525 13.5 3.579545 15.73426
NTSC-4.43 858 720 525 13.5 4.43361875 15.73426
PAL-M 858 720 525 13.5 3.57561149 15.73426
PAL-60 858 720 525 13.5 4.43361875 15.73426
PAL-B, D, G, H, I 864 720 625 13.5 4.43361875 15.625
PAL-N 864 720 625 13.5 4.43361875 15.625
PAL-Nc 864 720 625 13.5 3.58205625 15.625
Dr = 4.406250
SECAM 864 720 625 13.5 15.625
Db = 4.250000
Square sampling
NTSC-J, M 780 640 525 12.2727 3.579545 15.73426
NTSC-4.43 780 640 525 12.2727 4.43361875 15.73426
PAL-M 780 640 525 12.2727 3.57561149 15.73426
PAL-60 780 640 525 12.2727 4.43361875 15.73426
PAL-B, D, G, H, I 944 768 625 14.75 4.43361875 15.625
PAL-N 944 768 625 14.75 4.43361875 15.625
PAL-Nc 944 768 625 14.75 3.58205625 15.625
Dr = 4.406250
SECAM 944 768 625 14.75 15.625
Db = 4.250000
525 1 2 3 4 5 6 7 8 9 10 20 21
HS
VS
VS Start VS Stop
CS
FID
VBLK
262 263 264 265 266 267 268 269 270 271 272 273 283 284
HS
VS
VS Start VS Stop
CS
FID
VBLK
625-Line
HS
VS
VS Start VS Stop
CS
FID
VBLK
310 311 312 313 314 315 316 317 318 319 320 336 337 338
HS
VS
VS Start VS Stop
CS
FID
VBLK
DATACLK
HS Start HS Stop
HS
A C
AVID
DATACLK
HS Start HS Stop
HS
A C
B 2
AVID
HS
VS
HS
VS
Because SDA and SCL are kept open-drain at a logic-high output level or when the bus is not driven, the user
must connect SDA and SCL to a positive supply voltage via a pullup resistor on the board. The slave addresses
select signal, terminal 37 (I2CA), enables the use of two TVP5147 devices tied to the same I2C bus, because
it controls the least significant bit of the I2C device address.
Table 2−4. I2C Host Interface Terminal Description
2.6.2 I 2C Operation
Data transfers occur using the following illustrated formats.
HOST
I2C CC 80 051Ch
Processor
WSS 80 0520h
80 052Ch
VITC
E0h 80 0600h
VBUS Line
Data Mode
E1h
VBUS[23:0]
E8h 80 0700h
VBUS VPS
Address 90 1904h
EAh FIFO
FFh FF FFFFh
VBUS Write
Single Byte
Multiple Bytes
VBUS Read
Single Byte
Multiple Bytes
S B8 ACK E1 ACK S B9 ACK Read Data ACK ••• Read Data NAK P
The TVP5147 VBI data processor (VDP) slices various data services like teletext (WST, NABTS), closed
caption (CC), wide screen signaling (WSS), program delivery control (PDC), vertical interval time code (VITC),
video program system (VPS), copy generation management system (CGMS) data, and electronic program
guide (Gemstar) 1x/2x. Table 2−6 shows the supported VBI system.
These services are acquired by programming the VDP to enable the reception of one or more vertical blank
interval (VBI) data standard(s) during the VBI. The VDP can be programmed on a line-per-line basis to enable
simultaneous reception of different VBI formats, one per line. The results are stored in a FIFO and/or registers.
Because of the high data bandwidth, teletext results are stored in FIFO only. The TVP5147 decoder provides
fully decoded V-Chip data to the dedicated registers at subaddresses 80 0540h−80 0543h.
Table 2−6. Supported VBI System
Sliced VBI data can be output as ancillary data in the video stream in ITU-R BT.656 mode. VBI data is output
on the Y[9:2] terminals during the horizontal blanking period. Table 2−7 shows the header format and
sequence of the ancillary data inserted into the video stream. This format is also used to store any VBI data
into the FIFO. The size of the FIFO is 512 bytes. Therefore, the FIFO can store up to 11 lines of teletext data
with the NTSC NABTS standard.
BYTE D7 D6 D5 D4 D3 D2 D1 D0 DESCRIPTION
NO. (MSB) (LSB)
0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 Ancillary data preamble
2 1 1 1 1 1 1 1 1
3 NEP EP 0 1 0 DID2 DID1 DID0 Data ID (DID)
4 NEP EP F5 F4 F3 F2 F1 F0 Secondary data ID (SDID)
5 NEP EP N5 N4 N3 N2 N1 N0 Number of 32-bit data (NN)
6 Video line # [7:0] Internal data ID0 (IDID0)
7 0 0 0 Data Match Match Video line # [9:8] Internal data ID1 (IDID1)
error #1 #2
8 1. Data Data byte 1st word
9 2. Data Data byte
10 3. Data Data byte
11 4. Data Data byte
: : : :
m. Data Data byte Nth word
CS[7:0] Check sum
4N+7 0 0 0 0 0 0 0 0 Fill byte
NOTE: The number of bytes (m) varies depending on the VBI data service.
POWER
(3.3 V and 1.8 V)
Normal Operation
RESETB
(Pin 34) Reset
1 ms (min)
SDA
Invalid I2C Cycle Valid
(Pin 29)
The TVP5147 requires that pin 69 (C_1/GPIO) be held LOW. If using the 20-/16-bit mode or using this pin as
GPIO, then this pin must be pulled low through a 2.2-kΩ pulldown resistor (see Figure 5−1). If unused, this
pin can be shorted to ground. (Note: If using the 20-/16-bit mode and only using the 16 MSBs, it is possible
to short pin 69 to GND, but the current for IOVDD will increase by 2 or 3 mA.)
After reset, the user must write the following I2C commands to the TVP5147:
The TVP5147 decoder is initialized and controlled by a set of internal registers that define the operating
parameters of the entire device. Communication between the external controller and the TVP5147 is through
a standard I2C host port interface, as described earlier. Table 2−10 shows the summary of these registers.
Detailed programming information for each register is described in the following sections. Additional registers
are accessible through an indirect procedure involving access to an internal 24-bit address wide VBUS.
Table 2−11 shows the summary of the VBUS registers.
NOTE: Do not write to reserved registers. Reserved bits in any defined register must be written
with 0s, unless otherwise noted.
7 6 5 4 3 2 1 0
Input select [7:0]
Ten input terminals can be configured to support composite, S-video, and component YPbPr as listed in
Table 2−12. User must follow this table properly for S-video and component applications because only the
terminal configurations listed in Table 2−12 are supported.
7 6 5 4 3 2 1 0
Reserved 1 1 AGC chroma AGC luma
AGC luma enable: Controls automatic gain in the embedded sync channel of CVBS, S-video, component
video:
0 = Manual gain, AFE coarse and fine gain frozen to the previous gain value set by AGC when this bit is set
to 0.
1 = Enabled auto gain applied to only the embedded sync channel (default)
These settings only affect the analog front-end (AFE). The brightness and contrast controls are not affected
by these settings.
7 6 5 4 3 2 1 0
Reserved Video standard [2:0]
With the autoswitch code running, the user can force the decoder to operate in a particular video standard
mode by writing the appropriate value into this register. Changing these bits causes the register settings to
be reinitialized.
NOTE: Sampling rate (either square pixel or ITU-R BT.601) can be set by bit 7 (sampling rate)
in the output formatter 1 register at I2C subaddress 33h (see Section 2.11.28).
7 6 5 4 3 2 1 0
Reserved Power save
Power save:
0 = Normal operation (default)
1 = Power-save mode. Reduces the clock speed of the internal processor and switches off the ADCs. I2C
interface is active and all current operating settings are preserved.
7 6 5 4 3 2 1 0
Reserved PAL 60 SECAM NTSC 4.43 (Nc) PAL (M) PAL PAL (M, J) NTSC
Autoswitch mode mask: Limits the video formats between which autoswitch is possible.
PAL 60:
0 = Autoswitch does not include PAL 60 (default)
1 = Autoswitch includes PAL60
SECAM:
0 = Autoswitch does not include SECAM
1 = Autoswitch includes SECAM (default)
NTSC 4.43:
0 = Autoswitch does not include NTSC 4.43 (default)
1 = Autoswitch includes NTSC 4.43
(Nc) PAL:
0 = Autoswitch does not include (Nc) PAL (default)
1 = Autoswitch includes (Nc) PAL
(M) PAL:
0 = Autoswitch does not include (M) PAL (default)
1 = Autoswitch includes (M) PAL
PAL:
0 = Reserved
1 = Autoswitch includes (B, D, G, H, I, N) PAL (default)
(M, J ) NTSC:
0 = Reserved
1 = Autoswitch includes (M, J) NTSC (default)
NOTE: Bits 1 and 0 must always be 1.
7 6 5 4 3 2 1 0
Reserved Automatic color killer Color killer threshold [4:0]
7 6 5 4 3 2 1 0
Reserved Pedestal not present Reserved VBI raw Luminance signal delay [3:0]
VBI raw:
0 = Disabled (default)
1 = Enabled
During the duration of the vertical blanking as defined by the VBLK start and stop line registers at
subaddresses 22h through 25h (see Sections 2.11.22 and 2.11.23), the chroma samples are replaced by luma
samples. This feature can be used to support VBI processing performed by an external device during the
vertical blanking interval. In order to use this bit, the output format must be 10-bit ITU-R BT.656 mode.
Luminance signal delay [3:0]: Luminance signal delays with respect to the chroma signal in 1× pixel clock
increments.
0111 = Reserved
0110 = 6-pixel delay
0001 = 1-pixel delay
0000 = 0 delay (default)
1111 = −1-pixel delay
1000 = −8-pixel delay
7 6 5 4 3 2 1 0
Luma filter select [1:0] Reserved Peaking gain [1:0] Reserved
7 6 5 4 3 2 1 0
Reserved Trap filter select [1:0]
Trap filter select [1:0] selects one of the four trap filters to produce the luminance signal by removing the
chrominance signal from the composite video signal. The stop band of the chroma trap filter is centered at the
chroma subcarrier frequency with the stop-band bandwidth controlled by the two control bits.
7 6 5 4 3 2 1 0
Brightness [7:0]
Brightness [7:0]: This register works for CVBS, S-video, and component video luminance.
1111 1111 = 255 (bright)
1000 0000 = 128 (default)
0000 0000 = 0 (dark)
7 6 5 4 3 2 1 0
Contrast [7:0]
Contrast [7:0]: This register works for CVBS, S-video, and component video luminance.
1111 1111 = 255 (maximum contrast)
1000 0000 = 128 (default)
0000 0000 = 0 (minimum contrast)
7 6 5 4 3 2 1 0
Saturation [7:0]
Saturation [7:0]: This register works for CVBS, S-video, and component video luminance.
1111 1111 = 255 (maximum)
1000 0000 = 128 (default)
0000 0000 = 0 (no color)
2.11.13 Chroma Hue Register
Subaddress 0Ch
Default 00h
7 6 5 4 3 2 1 0
Hue [7:0]
7 6 5 4 3 2 1 0
Chrominance adaptive
Reserved Color PLL reset Reserved Automatic color gain control [1:0]
comb enable
7 6 5 4 3 2 1 0
Reserved PAL compensation WCF Chrominance filter select [1:0]
PAL compensation:
0 = Disabled
1 = Enabled (default)
Subaddress 7 6 5 4 3 2 1 0
16h AVID start [7:0]
17h Reserved AVID active Reserved AVID start [9:8]
AVID active:
0 = AVID out active in VBLK (default)
1 = AVID out inactive in VBLK
AVID start [9:0]: AVID start pixel number, this is an absolute pixel location from HSYNC start pixel 0.
NTSC 601 NTSC Sqp PAL 601 PAL Sqp
default 85 (55h) 86 (56h) 88 (58h) 103 (67h)
The TVP5147 decoder updates the AVID start only when the AVID start MSB byte is written to. If the user
changes these registers, then the TVP5147 decoder retains values in different modes until this device resets.
The AVID start pixel register also controls the position of the SAV code.
Subaddress 7 6 5 4 3 2 1 0
18h AVID stop [7:0]
19h Reserved AVID stop [9:8]
AVID stop [9:0]: AVID stop pixel number. The number of pixels of active video must be an even number. This
is an absolute pixel location from HSYNC start pixel 0.
NTSC 601 NTSC Sqp PAL 601 PAL Sqp
default 805 (325h) 726 (2D6h) 808 (328h) 696 (2B8h)
The TVP5147 decoder updates the AVID stop only when the AVID stop MSB byte is written to. If the user
changes these registers, then the TVP5147 decoder retains values in different modes until this device resets.
The AVID start pixel register also controls the position of the EAV code.
Subaddress 7 6 5 4 3 2 1 0
1Ah HSYNC start [7:0]
1Bh Reserved HSYNC start [9:8]
HSYNC start pixel [9:0]: This is an absolute pixel location from HSYNC start pixel 0.
The TVP5147 decoder updates the HSYNC start only when the HSYNC start MSB is written to. If the user
changes these registers, then the TVP5147 decoder retains values in different modes until this device resets.
Subaddress 7 6 5 4 3 2 1 0
1Ch HSYNC stop [7:0]
1Dh Reserved HSYNC stop [9:8]
HSYNC stop [9:0]: This is an absolute pixel location from HSYNC start pixel 0.
The TVP5147 decoder updates the HSYNC stop only when the HSYNC stop MSB is written to. If the user
changes these registers, then the TVP5147 decoder retains values in different modes until this device resets.
Subaddress 7 6 5 4 3 2 1 0
1Eh VSYNC start [7:0]
1Fh Reserved VSYNC start [9:8]
VSYNC start [9:0]: This is an absolute line number. The TVP5147 decoder updates the VSYNC start only when
the VSYNC start MSB is written to. If the user changes these registers, then the TVP5147 decoder retains
values in different modes until this decoder resets.
NTSC: default 004h PAL: default 001h
Subaddress 7 6 5 4 3 2 1 0
20h VSYNC stop [7:0]
21h Reserved VSYNC stop [9:8]
VSYNC stop [9:0]: This is an absolute line number. The TVP5147 decoder updates the VSYNC stop only when
the VSYNC stop MSB is written to. If the user changes these registers, the TVP5147 decoder retains values
in different modes until this decoder resets.
NTSC: default 007h PAL: default 004h
Subaddress 7 6 5 4 3 2 1 0
22h VBLK start [7:0]
23h Reserved VBLK start [9:8]
VBLK start [9:0]: This is an absolute line number. The TVP5147 decoder updates the VBLK start line only when
the VBLK start MSB is written to. If the user changes these registers, the TVP5147 decoder retains values
in different modes until this resets (see Section 2.11.16)
NTSC: default 001h PAL: default 623 (26Fh)
Subaddress 7 6 5 4 3 2 1 0
24h VBLK stop [7:0]
25h Reserved VBLK stop [9:8]
VBLK stop [9:0]: This is an absolute line number. The TVP5147 decoder updates the VBLK stop only when
the VBLK stop MSB is written to. If the user changes these registers, then the TVP5147 decoder retains values
in different modes until this device resets (see Section 2.11.16).
NTSC: default 21 (015h) PAL: default 23 (017h)
7 6 5 4 3 2 1 0
Reserved CTI delay [2:0]
CTI delay [2:0]: Sets the delay of the Y channel with respect to Cb/Cr in the CTI block
011 = 3-pixel delay
001 = 1-pixel delay
000 = 0 delay (default)
111 = −1-pixel delay
100 = −4-pixel delay
7 6 5 4 3 2 1 0
CTI coring [3:0] CTI gain [3:0]
CTI coring [3:0]: 4-bit CTI coring limit control value, unsigned linear control range from 0 to ±60, step size = 4
1111 = ±60
0001 = ±4
0000 = 0 (default)
CTI gain [3:0]: 4-bit CTI gain control values, unsigned linear control range from 0 to 15/16, step size = 1/16
1111 = 15/16
0001 = 1/16
0000 = 0 disabled (default)
7 6 5 4 3 2 1 0
Reserved Genlock [2:0]
Genlock [2:0]:
000 = Reserved
001 = Reserved
010 = Reserved
011 = Reserved
100 = Reserved
101 = RTC mode
110 = Reserved
111 = Reserved
7 6 5 4 3 2 1 0
Reserved Polarity FID Polarity VS Polarity HS VS/VBLK HS/CS
7 6 5 4 3 2 1 0
Sampling rate YCbCr code range CbCr code Reserved Output format [2:0]
Sampling rate (changing this bit causes the register settings to be reinitialized):
0 = ITU-R BT.601 sampling rate (default)
1 = Square pixel sampling rate
YCbCr output code range:
0 = ITU-R BT.601 coding range (Y ranges from 64 to 940. Cb and Cr range from 64 to 960.)
1 = Extended coding range (Y, Cb, and Cr range from 4 to 1016.) (default)
CbCr code format:
0 = Offset binary code (2s complement + 512) (default)
1 = Straight binary code (2s complement)
Output format [2:0]:
000 = 10-bit 4:2:2 (pixel x 2 rate) with embedded syncs (ITU-R BT.656) (default)
001 = 20-bit 4:2:2 (pixel rate) with separate syncs
010 = Reserved
011 = 10-bit 4:2:2 with separate syncs
100−111= Reserved
NOTE: 10-bit mode is also used for the raw VBI output mode when bit 4 (VBI raw) in the
luminance processing control 1 register at subaddress 06h is set (see Section 2.11.7).
7 6 5 4 3 2 1 0
Reserved Data enable Black Screen [1:0] CLK polarity Clock enable
7 6 5 4 3 2 1 0
GPIO [1:0] AVID [1:0] GLCO [1:0] FID [1:0]
7 6 5 4 3 2 1 0
VS/VBLK [1:0] HS/CS [1:0] C_1 [1:0] C_0 [1:0]
7 6 5 4 3 2 1 0
C_5 [1:0] C_4 [1:0] C_3 [1:0] C_2 [1:0]
7 6 5 4 3 2 1 0
C_9 [1:0] C_8 [1:0] C_7 [1:0] C_6 [1:0]
7 6 5 4 3 2 1 0
Reserved Clear lost lock detect
Clear lost lock detect: Clear bit 4 (lost lock detect) in the status 1 register at subaddress 3Ah (see Section
2.11.35)
0 = No effect (default)
1 = Clears bit 4 in the status 1 register
Read only
7 6 5 4 3 2 1 0
Peak white Line-alternating Field rate Lost lock Color subcarrier Vertical sync Horizontal sync TV/VCR
detect status status status detect lock status lock status lock status status
Line-alternating status:
0 = Nonline-alternating
1 = Line-alternating
TV/VCR status:
0 = TV
1 = VCR
Read only
7 6 5 4 3 2 1 0
Signal present Weak signal detection PAL switch polarity Field sequence status Reserved Macrovision detection [2:0]
Read only
Subaddress 7 6 5 4 3 2 1 0
3Ch Fine gain [7:0]
3Dh Coarse gain [3:0] Fine gain [11:8]
Fine gain [11:0]: This register provides the fine gain value of sync channel.
1111 1111 1111 = 1.9995
1000 0000 0000 = 1
0010 0000 0000 = 0.5
Coarse gain [3:0]: This register provides the coarse gain value of sync channel.
1111 = 2
0101 = 1
0000 = 0.5
These AGC gain status registers are updated automatically by the TVP5147 decoder with AGC on. In manual
gain control mode, these register values are not updated by the TVP5147 decoder.
Read only
7 6 5 4 3 2 1 0
Autoswitch Reserved Video standard [2:0]
Autoswitch mode:
0 = Stand-alone (forced video standard) mode
1 = Autoswitch mode
This register contains information about the detected video standard that the device is currently operating.
When autoswitch code is running, this register must be tested to determine which video standard has been
detected.
Read only
7 6 5 4 3 2 1 0
C_7 C_6 C_5 C_4 C_3 C_2 C_1 C_0
These status bits are only valid when terminals are used as input and its states updated at every line.
Read only
7 6 5 4 3 2 1 0
GPIO AVID GLCO VS HS FID C_9 C_8
HS input status:
0 = Input is a low.
1 = Input is a high.
These status bits are only valid when terminals are used as input and its states updated at every line.
Read only
Subaddress 7 6 5 4 3 2 1 0
42h Vertical line [7:0]
43h Reserved Vertical line [9:8]
Vertical line [9:0] represents the detected total number of lines from the previous frame. This can be used with
nonstandard video signals, such as a VCR in trick mode, to synchronize downstream video circuitry.
7 6 5 4 3 2 1 0
CGAIN 1 [3:0] Reserved
1111 = 2
1110 = 1.9
1101 = 1.8
1100 = 1.7
1011 = 1.6
1010 = 1.5
1001 = 1.4
1000 = 1.3
0111 = 1.2
0110 = 1.1
0101 = 1
0100 = 0.9
0011 = 0.8
0010 = 0.7 (default)
0001 = 0.6
0000 = 0.5
7 6 5 4 3 2 1 0
CGAIN 2 [3:0] Reserved
1111 = 2
1110 = 1.9
1101 = 1.8
1100 = 1.7
1011 = 1.6
1010 = 1.5
1001 = 1.4
1000 = 1.3
0111 = 1.2
0110 = 1.1
0101 = 1
0100 = 0.9
0011 = 0.8
0010 = 0.7 (default)
0001 = 0.6
0000 = 0.5
7 6 5 4 3 2 1 0
CGAIN 3 [3:0] Reserved
1111 = 2
1110 = 1.9
1101 = 1.8
1100 = 1.7
1011 = 1.6
1010 = 1.5
1001 = 1.4
1000 = 1.3
0111 = 1.2
0110 = 1.1
0101 = 1
0100 = 0.9
0011 = 0.8
0010 = 0.7 (default)
0001 = 0.6
0000 = 0.5
7 6 5 4 3 2 1 0
CGAIN 4 [3:0] Reserved
1111 = 2
1110 = 1.9
1101 = 1.8
1100 = 1.7
1011 = 1.6
1010 = 1.5
1001 = 1.4
1000 = 1.3
0111 = 1.2
0110 = 1.1
0101 = 1
0100 = 0.9
0011 = 0.8
0010 = 0.7 (default)
0001 = 0.6
0000 = 0.5
Subaddress 7 6 5 4 3 2 1 0
4Ah FGAIN 1 [7:0]
4Bh Reserved FGAIN 1 [11:8]
Subaddress 7 6 5 4 3 2 1 0
4Ch FGAIN 2 [7:0]
4Dh Reserved FGAIN 2 [11:8]
FGAIN 2 [11:0]: This gain applies to component Y channel or S-video chroma (see AFE fine gain for Pb
register, Section 2.11.46).
This register works only in manual gain control mode. When AGC is active, writing to any value is ignored.
1111 1111 1111 = 1.9995
1100 0000 0000 = 1.5
1001 0000 0000 = 1.125 (default)
1000 0000 0000 = 1
0100 0000 0000 = 0.5
0011 1111 1111 to 0000 0000 0000 = Reserved
Subaddress 7 6 5 4 3 2 1 0
4Eh FGAIN 3 [7:0]
4Fh Reserved FGAIN 3 [11:8]
FGAIN 3 [11:0]: This fine gain applies to component Pr (see AFE fine gain for Pb register, Section 2.11.46).
This register works only in manual gain control mode. When AGC is active, writing to any value is ignored.
1111 1111 1111 = 1.9995
1100 0000 0000 = 1.5
1001 0000 0000 = 1.125 (default)
1000 0000 0000 = 1
0100 0000 0000 = 0.5
0011 1111 1111 to 0000 0000 0000 = Reserved
Subaddress 7 6 5 4 3 2 1 0
50h FGAIN 4 [7:0]
51h Reserved FGAIN 4 [11:8]
FGAIN 4 [11:0]: This fine gain applies to CVBS or S-video luma (see AFE fine gain for Pb register,
Section 2.11.46).
This register works only in manual gain control mode. When AGC is active, writing to any value is ignored.
1111 1111 1111 = 1.9995
1100 0000 0000 = 1.5
1001 0000 0000 = 1.125 (default)
1000 0000 0000 = 1
0100 0000 0000 = 0.5
0011 1111 1111 to 0000 0000 0000 = Reserved
7 6 5 4 3 2 1 0
656 version FID control
656 Version
0 = ITU-R BT.656-4 (default)
1 = ITU-R BT.656-3
FID control
0 = 0→1 adapts to field 1, 1→0 adapts to field 1+ field 2 (default)
1 = 0→1 adapts to field 2, 1→0 adapts to field 1+ field 2 (for TVP5147 EVM)
Read only
7 6 5 4 3 2 1 0
ROM version [7:0]
7 6 5 4 3 2 1 0
Luma peak A Reserved Color burst A Sync height A Luma peak B Composite peak Color burst B Sync height B
Luma peak A: Use of the luma peak as a video amplitude reference for the back-end feed-forward type AGC
algorithm.
0 = Enabled (default)
1 = Disabled
Color burst A: Use of the color burst amplitude as a video amplitude reference for the back end.
NOTE: Not available for SECAM, component, and B/W video sources.
0 = Enabled (default)
1 = Disabled
Sync height A: Use of the sync height as a video amplitude reference for the back-end feed-forward type AGC
algorithm.
0 = Enabled (default)
1 = Disabled
Luma peak B: Use of the luma peak as a video amplitude reference for the front-end feedback type AGC
algorithm.
0 = Enabled (default)
1 = Disabled
Composite peak: Use of the composite peak as a video amplitude reference for the front-end feedback type
AGC algorithm.
NOTE: Required for CVBS video sources.
0 = Enabled (default)
1 = Disabled
Color burst B: Use of the color burst amplitude as a video amplitude reference for the front-end feedback type
AGC algorithm.
NOTE: Not available for SECAM, component, and B/W video sources.
0 = Enabled (default)
1 = Disabled
Sync height B:
Use of the sync height as a video amplitude reference for the front-end feedback type AGC algorithm.
0 = Enabled (default)
1 = Disabled
NOTE: If all 4 bits of the lower nibble are set to logic 1 (that is, no amplitude reference selected),
then the front-end analog and digital gains are automatically set to nominal values of 2 and
2304, respectively.
If all 4 bits of the upper nibble are set to logic 1 (that is, no amplitude reference selected), then
the back-end gain is set automatically to unity.
If the input sync height is greater than 100% and the AGC-adjusted output video amplitude becomes less than
100%, then the back-end scale factor attempts to increase the contrast in the back end to restore the video
amplitude to 100%.
7 6 5 4 3 2 1 0
2 line delay Stable HS Line limit Fast lock F and V [1:0] Phase Det. HPLL
2-line delay: Enable bypass of internal 2-line delay when in VCR mode
0 = Disabled (default)
1 = Enabled
Stable HSYNC: Enable work around code which stabilizes horizontal sync in VCR mode
0 = Disabled (default)
1 = Enabled
Line limit: Enable ±30 line limit from standard lines per frame on vertical sync PLL adjustment when vertical
lock is true.
0 = Disabled (default)
1 = Enabled
Fast lock: Enable fast lock where vertical PLL is reset and a 2 sec timer is initialized when vertical lock is lost;
during time-out the detected input VSYNC is output.
0 = Disabled
1 = Enabled (default)
F and V [1:0]
F and V Lines per frame F bit V bit
00 = ((default)) Standard ITU−R BT 656 ITU−R BT 656
Nonstandard−even Forced to 1 Switch at field boundary
Nonstandard−odd Toggles Switch at field boundary
01 = Standard ITU−R BT 656 ITU−R BT 656
Nonstandard Toggles Switch at field boundary
10 = Standard ITU−R BT 656 ITU−R BT 656
Nonstandard Pulsed mode Switch at field boundary
11 = Reserved
7 6 5 4 3 2 1 0
Switch header Horizontal shake threshold [6:0]
Switch header: When in VCR trick mode, the header noisy area around the head switch is skipped.
0 = Disabled
1 = Enabled (default)
7 6 5 4 3 2 1 0
Horizontal shake increment [7:0]
7 6 5 4 3 2 1 0
Reserved AGC increment speed [3:0]
7 6 5 4 3 2 1 0
AGC increment delay [7:0]
7 6 5 4 3 2 1 0
Reserved AGC enable Input select Analog Output enable
AGC enable:
0 = Enabled (default)
1 = Disabled, manual gain mode (see Section 2.12.10)
Input select:
00 = Input selected by TVP5147 decoder, (see Section 2.11.1) (default)
01 = Input selected manually (see Section 2.12.10)
Read only
7 6 5 4 3 2 1 0
Chip ID MSB [7:0]
Chip ID MSB [7:0]: This register identifies the MSB of the device ID. Value = 51h
Read only
7 6 5 4 3 2 1 0
Chip ID LSB [7:0]
Chip ID LSB [7:0]: This register identifies the LSB of the device ID. Value = 47h
Subaddress 7 6 5 4 3 2 1 0
B1h Filter 1 mask 1 Filter 1 pattern 1
B2h Filter 1 mask 2 Filter 1 pattern 2
B3h Filter 1 mask 3 Filter 1 pattern 3
B4h Filter 1 mask 4 Filter 1 pattern 4
B5h Filter 1 mask 5 Filter 1 pattern 5
B6h Filter 2 mask 1 Filter 2 pattern 1
B7h Filter 2 mask 2 Filter 2 pattern 2
B8h Filter 2 mask 3 Filter 2 pattern 3
B9h Filter 2 mask 4 Filter 2 pattern 4
BAh Filter 2 mask 5 Filter 2 pattern 5
For an NABTS system, the packet prefix consists of five bytes. Each byte contains 4 data bits (D[3:0])
interlaced with 4 Hamming protection bits (H[3:0]):
Only data portion D[3:0] from each byte is applied to a teletext filter function with corresponding pattern bits
P[3:0] and mask bits M[3:0]. The filter ignores the Hamming protection bits.
For WST system (PAL or NTSC), the packet prefix consists of two bytes. The two bytes contain three bits of
magazine number (M[2:0]) and five bits of row address (R[4:0]), interlaced with eight Hamming protection bits
H[7:0]:
The mask bits enable filtering using the corresponding bit in the pattern register. For example, a 1 in the LSB
of mask 1 means that the filter module must compare the LSB of nibble 1 in the pattern register to the first data
bit on the transaction. If these match, then a true result is returned. A 0 in a bit of mask means that the filter
module must ignore that data bit of the transaction. If all 0s are programmed in the mask bits, then the filter
matches all patterns returning a true result (default 00h).
7 6 5 4 3 2 1 0
Reserved Filter logic [1:0] Mode TTX filter 2 enable TTX filter 1 enable
Filter logic [1:0]: Allow different logic to be applied when combining the decision of filter 1 and filter 2 as follows:
00 = NOR (default)
01 = NAND
10 = OR
11 = AND
TTX filter 2 enable: provides for enabling the teletext filter function within the VDP.
0 = Disabled (default)
1 = Enabled
TTX filter 1 enable: provides for enabling the teletext filter function within the VDP.
0 = Disabled (default)
1 = Enabled
If the filter matches or if the filter mask is all 0s, then a true result is returned.
1P1[3]
D1[3]
1M1[3]
1P1[2]
D1[2]
1M1[2]
1P1[1]
D1[1]
1M1[1]
1P1[0]
D1[0]
1M1[0]
NIBBLE 1
D2[3:0]
1P2[3:0] NIBBLE 2
1M2[3:0]
PASS 1
D3[3:0]
Filter 1
1P3[3:0] NIBBLE 3
Enable 00
1M3[3:0]
D4[3:0] 01
1P4[3:0] NIBBLE 4 PASS
1M4[3:0]
10
D5[3:0]
1P5[3:0] NIBBLE 5 11
1M5[3:0]
2
D1..D5
PASS 2
2P1..2P5 FILTER 2
2M1..2M5 Filter 2
Enable
Read only
7 6 5 4 3 2 1 0
FIFO word count [7:0]
FIFO word count [7:0]: This register provides the number of words in the FIFO.
7 6 5 4 3 2 1 0
Threshold [7:0]
Threshold [7:0]: This register is programmed to trigger an interrupt when the number of words in the FIFO
exceeds this value.
NOTE: 1 word equals 2 bytes.
7 6 5 4 3 2 1 0
Reserved FIFO reset
FIFO reset: Writing any data to this register clears the FIFO and VDP data register (CC, WSS, VITC and VPS).
After clearing, this register is automatically cleared.
7 6 5 4 3 2 1 0
Reserved Host access enable
Host access enable: This register is programmed to allow the host port access to the FIFO or to allow all VDP
data to go out the video output.
0 = Output FIFO data to the video output Y[9:2] (default)
1 = Allow host port access to the FIFO data
7 6 5 4 3 2 1 0
Field 1 enable Field 2 enable Line number [5:0]
This register is programmed to trigger an interrupt when the video line number exceeds this value in bits [5:0].
This interrupt must be enabled at address F4h.
NOTE: The line number value of 0 or 1 is invalid and does not generate an interrupt.
Subaddress 7 6 5 4 3 2 1 0
C2h Pixel alignment [7:0]
C3h Reserved Pixel alignment [9:8]
Pixel alignment [9:8]: These registers form a 10-bit horizontal pixel position from the falling edge of horizontal
sync, where the VDP controller initiates the program from one line standard to the next line standard, for
example, the previous line of teletext to the next line of closed caption. This value must be set so that the switch
occurs after the previous transaction has cleared the delay in the VDP, but early enough to allow the new
values to be programmed before the current settings are required.
The default value is 0x1E and has been tested with every standard supported here. A new value is needed
only if a custom standard is in use.
7 6 5 4 3 2 1 0
VDP line start [7:0]
VDP line start [7:0]: Set the VDP line starting address
This register must be set properly before enabling the line mode registers. The VDP processor works only the
VBI region set by this register and the VDP line stop register.
7 6 5 4 3 2 1 0
VDP line stop [7:0]
VDP line stop [7:0]: Set the VDP stop line address
7 6 5 4 3 2 1 0
Global line mode [7:0]
Global line mode [7:0]: VDP processing for multiple lines set by the VDP start line register at subaddress D6h
and the VDP stop line register at subaddress D7h.
Global line mode register has the same bit definition as the general line mode registers.
General line mode has priority over the global line mode.
7 6 5 4 3 2 1 0
Reserved Full field enable
7 6 5 4 3 2 1 0
Full field mode [7:0]
7 6 5 4 3 2 1 0
VBUS data [7:0]
VBUS data [7:0]: VBUS data register for VBUS single-byte read/write transaction.
7 6 5 4 3 2 1 0
VBUS data [7:0]
VBUS data [7:0]: VBUS data register for VBUS multibyte read/write transaction. VBUS address is
autoincremented after each data byte read/write.
Read only
7 6 5 4 3 2 1 0
FIFO read data [7:0]
FIFO read data [7:0]: This register is provided to access VBI FIFO data through the I2C interface. All forms
of teletext data come directly from the FIFO, while all other forms of VBI data can be programmed to come
from registers or from the FIFO. If the host port is to be used to read data from the FIFO, then bit 0 (host access
enable) in the VDP FIFO output control register at subaddress C0h must be set to 1 (see Section 2.11.66).
Subaddress 7 6 5 4 3 2 1 0
E8h VBUS address [7:0]
E9h VBUS address [15:8]
EAh VBUS address [23:16]
VBUS address [23:0]: VBUS is a 24-bit wide internal bus. The user needs to program in these registers the
24-bit address of the internal register to be accessed via host port indirect access mode.
Read only
7 6 5 4 3 2 1 0
FIFO THRS TTX WSS VPS VITC CC F2 CC F1 Line
The host interrupt raw status 0 and 1 registers represent the interrupt status without applying mask bits.
Read only
7 6 5 4 3 2 1 0
Reserved H/V lock Macrovision status changed Standard changed FIFO full
Read only
7 6 5 4 3 2 1 0
FIFO THRS TTX WSS VPS VITC CC F2 CC F1 Line
The interrupt status 0 and 1 registers represent the interrupt status after applying mask bits. Therefore, the
status bits are the result of a logical AND between the raw status and mask bits. The external interrupt terminal
is derived from this register as an OR function of all nonmasked interrupts in this register.
Reading data from the corresponding register does not clear the status flags automatically. These flags are
reset using the corresponding bits in interrupt clear 0 and 1 registers.
Read only
7 6 5 4 3 2 1 0
Reserved H/V lock Macrovision status changed Standard changed FIFO full
7 6 5 4 3 2 1 0
FIFO THRS TTX WSS VPS VITC CC F2 CC F1 Line
The host interrupt mask 0 and 1 registers can be used by the external processor to mask unnecessary interrupt
sources for the interrupt status 0 and 1 register bits, and for the external interrupt terminal. The external
interrupt is generated from all nonmasked interrupt flags.
7 6 5 4 3 2 1 0
Reserved H/V lock Macrovision status changed Standard changed FIFO full
7 6 5 4 3 2 1 0
FIFO THRS TTX WSS VPS VITC CC F2 CC F1 Line
The host interrupt clear 0 and 1 registers are used by the external processor to clear the interrupt status bits
in the host interrupt status 0 and 1 registers. When no nonmasked interrupts remain set in the registers, the
external interrupt terminal also becomes inactive.
7 6 5 4 3 2 1 0
Reserved H/V lock Macrovision status changed Standard changed FIFO full
Read only
Subaddress 7 6 5 4 3 2 1 0
80 051Ch Closed caption field 1 byte 1
80 051Dh Closed caption field 1 byte 2
80 051Eh Closed caption field 2 byte 1
80 051Fh Closed caption field 2 byte 2
These registers contain the closed caption data arranged in bytes per field.
These registers contain the wide screen signaling data for NTSC.
Bits 0−1 represent word 0, aspect ratio
Bits 2−5 represent word 1, header code for word 2
Bits 6−13 represent word 2, copy control
Bits 14−19 represent word 3, CRC
PAL/SECAM:
Read only
Subaddress 7 6 5 4 3 2 1 0 Byte
80 0520h b7 b6 b5 b4 b3 b2 b1 b0 WSS field 1 byte 1
80 0521h b13 b12 b11 b10 b9 b8 WSS field 1 byte 2
80 0522h Reserved
80 0523h Reserved
80 0524h b7 b6 b5 b4 b3 b2 b1 b0 WSS field 2 byte 1
80 0525h b13 b12 b11 b10 b9 b8 WSS field 2 byte 2
80 0526h Reserved
PAL/SECAM:
Bits 0−3 represent group 1, aspect ratio
Bits 4−7 represent group 2, enhanced services
Bits 8−10 represent group 3, subtitles
Bits 11−13 represent group 4, others
Read only
Subaddress 7 6 5 4 3 2 1 0
80 052Ch VITC frame byte 1
80 052Dh VITC frame byte 2
80 052Eh VITC seconds byte 1
80 052Fh VITC seconds byte 2
80 0530h VITC minutes byte 1
80 0531h VITC minutes byte 2
80 0532h VITC hours byte 1
80 0533h VITC hours byte 2
80 0534h VITC CRC byte
Read only
7 6 5 4 3 2 1 0
Reserved 14-D PG-D Reserved MA-L 14-L PG-L Reserved
Read only
7 6 5 4 3 2 1 0
MA-S 14-S PG-S Reserved MA-V 14-V PG-V Y7-FV
Read only
7 6 5 4 3 2 1 0
None TV-MA TV-14 TV-PG TV-G TV-Y7 TV-Y None
Read only
7 6 5 4 3 2 1 0
Not Rated X NC-17 R PG-13 PG G N/A
Subaddress 7 6 5 4 3 2 1 0
80 0600h Line address 1
80 0601h Line mode 1
80 0602h Line address 2
80 0603h Line mode 2
80 0604h Line address 3
80 0605h Line mode 3
80 0606h Line address 4
80 0607h Line mode 4
80 0608h Line address 5
80 0609h Line mode 5
80 060Ah Line address 6
80 060Bh Line mode 6
80 060Ch Line address 7
80 060Dh Line mode 7
80 060Eh Line address 8
80 060Fh Line mode 8
80 0610h Line address 9
80 0611h Line mode 9
Line address [7:0]: Line number to be processed by a VDP set by a line mode register (default 00h)
Line mode register [7:0]:
Bit 7: 0 = Disabled filters
1 = Enabled filters for teletext and CC (null byte filter) (default)
Bit 6: 0 = Send sliced VBI data to registers only (default)
1 = Send sliced VBI data to FIFO and registers, teletext data only goes to FIFO (default)
Bit 5: 0 = Allow VBI data with errors in the FIFO
1 = Do not allow VBI data with errors in the FIFO (default)
Bit 4: 0 = Disabled error detection and correction
1 = Enabled error detection and correction (teletext only) (default)
Bit 3: 0 = Field 1
1 = Field 2 (default)
Bits [2:0]: 000 = Teletext (WST625, Chinese teletext, NABTS 525)
001 = CC (US, Europe, Japan, China)
010 = WSS (525, 625)
011 = VITC
100 = VPS/PDC (PAL only), Gemstar (NTSC only)
101 = USER 1
110 = USER 2
111 = Reserved (active video) (default)
Subaddress 7 6 5 4 3 2 1 0
80 0700h VPS byte 1
80 0701h VPS byte 2
80 0702h VPS byte 3
80 0703h VPS byte 4
80 0704h VPS byte 5
80 0705h VPS byte 6
80 0706h VPS byte 7
80 0707h VPS byte 8
80 0708h VPS byte 9
80 0709h VPS byte 10
80 070Ah VPS byte 11
80 070Bh VPS byte 12
80 070Ch VPS byte 13
These registers contain the entire VPS data line except the clock run-in code or the start code.
Subaddress 7 6 5 4 3 2 1 0
80 0700h Gemstar frame code
80 0701h Gemstar byte 1
80 0702h Gemstar byte 2
80 0703h Gemstar byte 3
80 0704h Gemstar byte 4
80 0705h Reserved
80 0706h Reserved
80 0707h Reserved
80 0708h Reserved
80 0709h Reserved
80 070Ah Reserved
80 070Bh Reserved
80 070Ch Reserved
7 6 5 4 3 2 1 0
Reserved Reserved Input Select [1:0] Gain [3:0]
Analog input select [1:0]: These bits are effective when manual input select bit is set to 1 at subaddress 7Fh,
bit 1.
00 = CH1 selected
01 = CH2 selected
10 = CH3 selected
11= CH4 selected (default)
Analog output PGA gain [3:0]: These bits are effective when analog output AGC is set to 1 at subaddress 7Fh,
bit 2.
Gain [3:0] Mode 1
0000 = 1.30
0001 = 1.56
0010 = (default) 1.82
0011 = 2.08
0100 = 2.34
0101 = 2.60
0110 = 2.86
0111 = 3.12
0000 = 3.38
0001 = 3.64
0010 = 3.90
0011 = 4.16
0100 = 4.42
0101 = 4.68
0110 = 4.94
0111 = 5.20
7 6 5 4 3 2 1 0
Reserved Polarity Reserved
3 Electrical Specifications
3.1 Absolute Maximum Ratings†
Supply voltage range: IOVDD to I/O GND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0.5 V to 4 V
DVDD to DGND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −0.2 V to 2 V
A33VDD (see Note 1) to A18GND (see Note 2) . . . . . . . . . . . . . . . . −0.3 V to 3.6 V
A18VDD (see Note 3) to A33GND (see Note 4) . . . . . . . . . . . . . . . . . . −0.2 V to 2 V
Digital input voltage, VI to DGND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −0.5 V to 4.5 V
Digital output voltage, VO to DGND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −0.5 V to 4.5 V
Analog input voltage range AIN to AGND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −0.2 V to 2 V
Operating free-air temperature, TA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0°C to 70°C
Storage temperature, Tstg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −65°C to 150°C
†Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only and
functional operation of the device at these or any other conditions beyond those indicated under “recommended operating conditions” is not
implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
NOTES: 1. CH1_A33VDD, CH2_A33VDD
2. CH1_A33GND, CH2_A33GND
3. CH1_A18VDD, CH2_A18VDD, A18VDD_REF, PLL_A18VDD
4. CH1_A18GND, CH2_A18GND, A18GND
3.3.3 Timing
3.3.3.1 Clocks, Video Data, Sync Timing
TEST CONDITIONS
PARAMETER (see NOTE 1) MIN TYP MAX UNIT
t2
t1
VOH
DATACLK
VOL
t3 t4
VOH
Y, C, AVID, VS, HS, FID Valid Data Valid Data
VOL
t5
t1 t3 t6
t6 t2 t5
t4
t7 t8
Change
VC0 (SCL) Data
4.1 Example 1
4.1.1 Assumptions
Input connector: Composite (VI_1_A) (default)
Video format: NTSC (J, M), PAL (B, G, H, I, N) or SECAM (default)
NOTE: NTSC-443, PAL-Nc, and PAL-M are masked from the autoswitch process by default.
See the autoswitch mask register at address 04h.
Output format: 10-bit ITU-R BT.656 with embedded syncs (default)
NOTE: HS/CS, VS/VBLK, AVID, FID, and GLCO are logic inputs by default. See output
formatter 3 and 4 registers at addresses 35h and 36h, respectively.
4.2 Example 2
4.2.1 Assumptions
Input connector: S-video [VI_2_C (luma), VI_1_C (chroma)]
Video format: NTSC (J, M, 443), PAL (B, D, G, H, I, N, Nc, 60) or SECAM (default)
Output format: 10-bit ITU-R BT.656 with discrete sync outputs
4.3 Example 3
4.3.1 Assumptions
Input connector: Component [VI_1_B (Pb), VI_2_B (Y), VI_3_B (Pr)]
Video format: NTSC (J, M, 443), PAL (B, D, G, H, I, N, Nc, 60) or SECAM (default)
Output format: 20-bit ITU-R BT.656 with discrete sync outputs
5 Application Information
FID C0
VS/VBLK C1
2.2 kΩ 2.2 kΩ
C2
HS/CS IOVDD3.3V
C3
A3.3VDD XTAL1 C4 DVDD1.8V
A1.8VDD XTAL2 C5
22 Ω 12 kΩ
0.1 µF (2)
VOUT 0.1 µF (2)
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
22 µF
75 Ω
DVDD
HS/CS
FID
DGND
VS/VBLK
IOVDD
PLL_A18VDD
IOGND
PLL_A18GND
VI_1_A
CH1_A18VDD
XTAL2
XTAL1
CH1_A18GND
C_0
C_1
C_2
C_3
C_4
C_5
1 kΩ 22 kΩ
VI_1A
1 60
VI_1B VI_1_B C_6 C6
2 59
VI_1C VI_1_C C_7 C7
3 58
0.1 µF (3) CH1_A33GND C_8 C8
75 Ω (3) 4 57
CH1_A33VDD C_9 C9
5 56
0.1 µF (2) CH2_A33VDD DGND
6 55
0.1 µF (3) CH2_A33GND DVDD
7 54
VI_2A VI_2_A Y_0 Y_0 0.1 µF
8 53
VI_2B VI_2_B Y_1 Y_1
9 52
VI_2C VI_2_C Y_2 Y_2
10 51
CH2_A18GND Y_3 Y_3
75 Ω (3) 11 TVP5147PFP 50
CH2_A18VDD Y_4 Y_4
12 49
A18VDD_REF IOGND
13 48
0.1 µF (3) A18GND_REF IOVDD
14 47
NC Y_5 Y_5 0.1 µF
15 46
NC Y_6 Y_6
16 45
VI_3A VI_3_A Y_7 Y_7
17 44
VI_3B VI_3_B Y_8 Y_8
18 43
VI_3C VI_3_C Y_9 Y_9
19 42
75 Ω (3) 0.1 µF (3) NC DGND
41
20
NC DVDD
0.1 µF 0.1 µF
GLCO/I2CA
DATACLK
A18GND
RESETB
A18VDD
INTREQ
IOGND
IOVDD
PWDN
DGND
DGND
AGND
DVDD
VI_4A
AVID
SDA
SCL
FSS
NC
NC
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
0.1 µF
VI_4A
75 Ω 0.1 µF
2.2 kΩ (2)
GND
0.1 µF DATACLK
IOVDD 0.1 µF GLCO/I2CA
XTAL1
XTAL2 AVID
10 kΩ FSS
I2C Address selection
14.31818 MHz GLCO/I2CA 1 RESETB
2 1−2 Base Addr. 0xBA
PWDN
2−3 Base Addr. 0xB8
3 INTREQ
CL1 CL2 10 kΩ SDA
SCL
NOTE: If XTAL1 is connected to clock source, input voltage high must be 1.8 V.
TVP5147 can be a drop-in replacement for TVP5146.
Terminals 69 and 71 must be connected to ground through pulldown resistors.
It is recommended that there be a thermal land, which is an area of solder-tinned-copper, underneath the
PowerPAD package. The thermal land varies in size, depending on the PowerPAD package being used, the
PCB construction, and the amount of heat that needs to be removed. In addition, the thermal land may or may
not contain numerous thermal vias depending on PCB construction.
Other requirements for using thermal lands and thermal vias are detailed in the TI application note
PowerPADt Thermally Enhanced Package Application Report, (SLMA002), available via the TI Web pages
beginning at URL: http://www.ti.com
For the TVP5147 device, this thermal land must be grounded to the low-impedance ground plane of the
device. This improves not only thermal performance but also the electrical grounding of the device. It is also
recommended that the device ground terminal landing pads be connected directly to the grounded thermal
land. The land size must be as large as possible without shorting device signal terminals. The thermal land
can be soldered to the exposed thermal pad using standard reflow soldering techniques.
While the thermal land can be electrically floated and configured to remove heat to an external heat sink, it
is recommended that the thermal land be connected to the low-impedance ground plane for the device. More
information can be obtained from the TI application note PHY Layout (SLLA020).
www.ti.com 10-Dec-2020
PACKAGING INFORMATION
Orderable Device Status Package Type Package Pins Package Eco Plan Lead finish/ MSL Peak Temp Op Temp (°C) Device Marking Samples
(1) Drawing Qty (2) Ball material (3) (4/5)
(6)
TVP5147PFP NRND HTQFP PFP 80 96 RoHS & Green NIPDAU Level-3-260C-168 HR 0 to 70 TVP5147
TVP5147PFPR NRND HTQFP PFP 80 1000 RoHS & Green NIPDAU Level-3-260C-168 HR 0 to 70 TVP5147
(1)
The marketing status values are defined as follows:
ACTIVE: Product device recommended for new designs.
LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect.
NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design.
PREVIEW: Device has been announced but is not in production. Samples may or may not be available.
OBSOLETE: TI has discontinued the production of the device.
(2)
RoHS: TI defines "RoHS" to mean semiconductor products that are compliant with the current EU RoHS requirements for all 10 RoHS substances, including the requirement that RoHS substance
do not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, "RoHS" products are suitable for use in specified lead-free processes. TI may
reference these types of products as "Pb-Free".
RoHS Exempt: TI defines "RoHS Exempt" to mean products that contain lead but are compliant with EU RoHS pursuant to a specific EU RoHS exemption.
Green: TI defines "Green" to mean the content of Chlorine (Cl) and Bromine (Br) based flame retardants meet JS709B low halogen requirements of <=1000ppm threshold. Antimony trioxide based
flame retardants must also meet the <=1000ppm threshold requirement.
(3)
MSL, Peak Temp. - The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.
(4)
There may be additional marking, which relates to the logo, the lot trace code information, or the environmental category on the device.
(5)
Multiple Device Markings will be inside parentheses. Only one Device Marking contained in parentheses and separated by a "~" will appear on a device. If a line is indented then it is a continuation
of the previous line and the two combined represent the entire Device Marking for that device.
(6)
Lead finish/Ball material - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead finish/Ball material values may wrap to two
lines if the finish value exceeds the maximum column width.
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information
provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and
continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals.
TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.
Addendum-Page 1
PACKAGE MATERIALS INFORMATION
www.ti.com 5-Jan-2022
TRAY
Pack Materials-Page 1
www.ti.com
IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATA SHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, regulatory or other requirements.
These resources are subject to change without notice. TI grants you permission to use these resources only for development of an
application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license
is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you
will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these
resources.
TI’s products are provided subject to TI’s Terms of Sale or other applicable terms available either on ti.com or provided in conjunction with
such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for
TI products.
TI objects to and rejects any additional or different terms you may have proposed. IMPORTANT NOTICE
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2022, Texas Instruments Incorporated