Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications,
enhancements, improvements, and other changes to its products and services at any time and to discontinue
any product or service without notice. Customers should obtain the latest relevant information before placing
orders and should verify that such information is current and complete. All products are sold subject to TI’s terms
and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in
accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI
deems necessary to support this warranty . Except where mandated by government requirements, testing of all
parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for
their products and applications using TI components. To minimize the risks associated with customer products
and applications, customers should provide adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right,
copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process
in which TI products or services are used. Information published by TI regarding third-party products or services
does not constitute a license from TI to use such products or services or a warranty or endorsement thereof.
Use of such information may require a license from a third party under the patents or other intellectual property
of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of information in TI data books or data sheets is permissible only if reproduction is without
alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction
of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for
such altered documentation.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that
product or service voids all express and any implied warranties for the associated TI product or service and
is an unfair and deceptive business practice. TI is not responsible or liable for any such statements.
Following are URLs where you can obtain information on other Texas Instruments products and application
solutions:
ProductsApplications
Amplifiersamplifier.ti.comAudiowww.ti.com/audio
Data Convertersdataconverter.ti.comAutomotivewww.ti.com/automotive
DSPdsp.ti.comBroadbandwww.ti.com/broadband
Interfaceinterface.ti.comDigital Controlwww.ti.com/digitalcontrol
Logiclogic.ti.comMilitarywww.ti.com/military
Power Mgmtpower.ti.comOptical Networkingwww.ti.com/opticalnetwork
Microcontrollersmicrocontroller.ti.comSecuritywww.ti.com/security
Low Power Wireless www.ti.com/lpwTelephonywww.ti.com/telephony
Video & Imagingwww.ti.com/video
Wirelesswww.ti.com/wireless
Macrovision is a trademark of Macrovision Corporation.
O
The TVP5147M1 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 TVP5147M1 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 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 I
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 TVP5147M1 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.
Introduction
2
C host port interface. Furthermore, luma peaking (sharpness) with
The TVP5147M1 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 TVP5147M1 decoder can pass through the output formatter 2×
sampled raw luma data for host-based VBI processing.
The main blocks of the TVP5147M1 decoder include:
•Robust sync detection for weak and noisy signals as well as VCR trick modes
•Y/C separation by 2-D 5-line adaptive comb or chroma trap filter
•Two 10-bit, 30-MSPS A/D converters with analog preprocessors [clamp and automatic gain control
(AGC)]
•Analog video output
•Luminance processor
•Chrominance processor
•Clock/timing processor and power-down control
•Software-controlled power-saving standby mode
•Output formatter
2
•I
C host port interface
•VBI data processor
•Macrovision copy protection detection circuit (Type 1, 2, 3, and separate color stripe detection)
•3.3-V tolerant digital I/O ports
ther trademarks are the property of their respective owners.
SLES140A—March 2007TVP5147M1PFP
1
Page 10
Introduction
1.1Detailed Functionality
•Two 30-MSPS, 10-bit A/D channels with programmable gain control
•Supports NTSC (J, M, 4.43), PAL (B, D, G, H, I, M, N, Nc, 60) and SECAM (B, D, G, K, K1, L) CVBS, and
S-video
•Supports analog component YPbPr video format with embedded sync
•10 analog video input terminals for multisource connection
•Supports analog video output
•User-programmable video output formats
−10-bit ITU-R BT.656 4:2:2 YCbCr with embedded syncs
−10-bit 4:2:2 YCbCr with separate syncs
−20-bit 4:2:2 YCbCr with separate syncs
−2× sampled raw VBI data in active video during a vertical blanking period
−Sliced VBI data during a vertical blanking period or active video period (full field mode)
•HSYNC/VSYNC outputs with programmable position, polarity, width, and field ID (FID) output
•Composite and S-video processing
−Adaptive 2-D 5-line adaptive comb filter for composite video inputs; chroma-trap available
−Automatic video standard detection (NTSC/PAL/SECAM) and switching
−Luma-peaking with programmable gain
−Patented chroma transient improvement (CTI)
−Patented architecture for locking to weak, noisy, or unstable signals
−Single 14.31818-MHz reference crystal for all standards
−Line-locked internal pixel sampling clock generation with horizontal and vertical lock signal outputs
−Genlock output RTC format for downstream video encoder synchronization
•Certified Macrovision copy protection detection
2
SLES140A—March 2007TVP5147M1PFP
Page 11
•VBI data processor
Gemstar is a trademark of Gemstar-TV Guide Intermational.
P
−Teletext (NABTS, WST)
−CC and extended data service (EDS)
−Wide screen signaling (WSS)
−Copy generation management system (CGMS)
−Video program system (VPS/PDC)
−Vertical interval time code (VITC)
−Gemstar 1×/2× mode
−V-Chip decoding
−Register readback of CC, WSS (CGMS), VPS/PDC, VITC and Gemstar 1×/2× sliced data
2
•I
C host port interface
•Reduced power consumption: 1.8-V digital core, 3.3-V for digital I/O, and 1.8-V/3.3 V analog core with
power-save and power-down modes
•80-terminal TQFP PowerPAD package
1.2TVP5147M1 Applications
•DLP projectors
•Digital TV
•LCD TV/monitors
•DVD recorders
•PVR
•PC video cards
•Video capture/video editing
•Video conferencing
Introduction
1.3Related Products
•TVP5146M2 NTSC/PAL/SECAM 2y10-Bit Digital VIdeo Decoder With MacrovisionE Detection,
YPbPr/RGB Inputs, and 5-Line Comb Filter (SLES141)
•TVP5150AM1 Ultralow Power NTSC/PAL/SECAM Video Decoder With Robust Sync Detector (SLES098)
VI_1_A: Analog video input for CVBS/Pb/C or analog video output (see Section 2.11.59)
1
2
7
VI_1_x: Analog video input for CVBS/Pb/C
I
VI_2_x: Analog video input for CVBS/Y
I
VI_3_x: Analog video input for CVBS/Pr/C
I
Table 1−1. Terminal Functions
VI_2_C
VI_3_A
VI_3_B
VI_3_C
VI_4_A
Clock Signals
DATACLK40OLine-locked data output clock
XTAL174I
XTAL275OExternal clock reference output. Not connected if XTAL1 is driven by an external single-ended oscillator.
RESETB34IReset input, active low (see Section 2.8)
Host Interface
SCL28II2C clock input
SDA29I/OI2C data bus
9
16
17
18
23
57, 58,
59, 60,
63, 64,
65, 66,
69, 70
43, 44,
45, 46,
47, 50,
51, 52,
53, 54
14, 15,
19, 20,
21, 22
I
Up to 10 composite, 4 S-video, and 2 composite or 3 component video inputs (or a combination thereof)
I
can be supported.
I
The inputs must be ac-coupled. The recommended coupling capacitor is 0.1 µF.
I
The possible input configurations are listed in the input select register at I2C subaddress 00h (see
I
Section 2.11.1).
External clock reference input. It can be connected to an external oscillator with a 1.8-V compatible clock
signal or a 14.31818-MHz crystal oscillator.
Digital video output of CbCr, C[9] is MSB and C[0] is LSB. Also, these terminals can be programmable
general-purpose I/O.
I/O
For the 8-bit mode, the two LSBs are ignored. Unused outputs can be left unconnected.
Digital video output of Y/YCbCr, Y[9] is MSB and Y[0] is LSB.
O
For the 8-bit mode, the two LSBs are ignored. Unused outputs can be left unconnected.
Genlock control output (GLCO) uses real time control (RTC) format.
During reset, this terminal is an input used to program the I2C address LSB.
Not connected. These terminals can be connected to power or ground (compatible with TVP5146
terminals), internally floating.
Power down input:
1 = Power down
0 = Normal mode
6
SLES140A—March 2007TVP5147M1PFP
Page 15
Table 1−1. Terminal Functions (Continued)
I/O
DESCRIPTION
TERMINAL
NAMENUMBER
Power Supplies
AGND26Analog ground. Connect to analog ground.
A18GND_REF13Analog 1.8-V return
A18VDD_REF12Analog power for reference 1.8 V
CH1_A18GND
CH2_A18GND
A18GND
CH1_A18VDD
CH2_A18VDD
A18VDD
CH1_A33GND
CH2_A33GND
CH1_A33VDD
CH2_A33VDD
DGND
DVDD
IOGND39, 49, 62Digital power return
IOVDD38, 48, 61Digital power. Connect to 3.3 V or less for reduced noise.
PLL_A18GND77Analog power return
PLL_A18VDD76Analog power. Connect to 1.8 V.
Sync Signals
HS/CS/GPIO72I/O
VS/VBLK/GPIO73I/O
FID/GPIO71I/O
AVID/GPIO36I/O
79
10
24
78
11
25
3
6
4
5
27, 32, 42,
56, 68
31, 41, 55,
67
Analog 1.8-V return
Analog power. Connect to 1.8 V.
Analog 3.3-V return
Analog power. Connect to 3.3 V.
Digital return
Digital power. Connect to 1.8 V.
Horizontal sync output or digital composite sync output
Programmable general-purpose I/O
Vertical sync output (for modes with dedicated VSYNC) or VBLK output
Programmable general-purpose I/O
Odd/even field indicator output. This terminal needs a pulldown resistor (see Figure 5−1).
Programmable general-purpose I/O
Active video indicator output
Programmable general-purpose I/O
Introduction
SLES140A—March 2007TVP5147M1PFP
7
Page 16
Introduction
8
SLES140A—March 2007TVP5147M1PFP
Page 17
2Functional Description
C
C
C
C
2.1Analog 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
TVP5147M1 supports one analog video output for the selected analog input video.
I/O
M
VI_1_A
PGA
U
X
Functional Description
Analog Front End
VBS/
Pb/C
VBS/
VBS/
VBS/
Pr/C
Y
Y
VI_1_B
VI_1_C
VI_2_A
VI_2_B
VI_2_C
VI_3_A
VI_3_B
VI_3_C
VI_4_A
M
U
X
M
U
X
M
U
X
Clamp
Clamp
Clamp
Clamp
PGA
PGA
11-Bit
ADC
11-Bit
ADC
CH1 A/D
CH2 A/D
Line-Locked
Sampling Clock
Figure 2−1. Analog Processors and A/D Converters
2.1.1 Video Input Switch Control
The TVP5147M1 decoder has two analog channels that accept up to 10 video inputs. The user can configure
the internal analog video switches via the I
2
C interface. The 10 analog video inputs can be used for different
input configurations, some of which are:
SLES140A—March 2007TVP5147M1PFP
9
Page 18
Functional Description
•Up to 10 selectable individual composite video inputs
•Up to four selectable S-video inputs
•Up to three selectable analog YPbPr video inputs and one CVBS input
•Up to two selectable analog YPbPr video inputs, two S-video inputs, and two CVBS inputs
The input selection is performed by the input select register at I
2.1.2 Analog Input Clamping
An internal clamping circuit restores the ac-coupled video signal to a fixed dc level. The clamping circuit
provides line-by-line restoration of the video sync level to a fixed dc reference voltage. The selection between
bottom and mid clamp is performed automatically by the TVP5147M1 decoder.
2.1.3 Automatic Gain Control
The TVP5147M1 decoder uses two programmable gain amplifiers (PGAs), one per channel. The PGA can
scale a signal with a voltage-input compliance of 0.5-V
range. A 4-bit code sets the coarse gain with individual adjustment per channel. Minimum gain corresponds
to a code 0x0 (2.0-V
full scale, +6-dB gain). The TVP5147M1 decoder also has 12-bit fine gain controls for each channel and
applies independently to coarse gain controls. For composite video, the input video signal amplitude can vary
significantly from the nominal level of 1 V
automatically: an automatic gain control (AGC) can be enabled and can adjust the signal amplitude such that
the maximum range of the ADC is reached without clipping. Some nonstandard video signals contain peak
white levels that saturate the ADC. In these cases, the AGC automatically cuts back gain to avoid clipping.
If the AGC is on, then the TVP5147M1 decoder can read the gain currently being used.
full-scale input, −6-dB gain) while maximum gain corresponds to code 0xF (0.5 V
PP
2
C subaddress 00h (see Section 2.11.1).
to 2.0-VPP to a full-scale 10-bit A/D output code
PP
. The TVP5147M1 decoder can adjust its PGA setting
PP
PP
The TVP5147M1 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
TVP5147M1 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.
2.1.4 Analog Video Output
One of the analog input signals is available at the analog video output terminal, which is shared with input
selected by I
voltage is 2 V p-p, thus the signal can be used to drive a 75-Ω line. The magnitude is maintained with an AGC
in 16 steps controlled by the TVP5147M1 decoder. In order to use this function, terminal VI_1_A must be set
as an output terminal. The input mode selection register also selects an active analog output signal.
2
C registers. The signal at this terminal must be buffered by a source follower . The nominal output
2.1.5 A/D Converters
All ADCs have a resolution of 10 bits and can operate up to 30 MSPS. All A/D channels receive an identical
clock from the on-chip phase-locked loop (PLL) at a frequency between 24 MHz and 30 MHz. All ADC
reference voltages are generated internally.
10
SLES140A—March 2007TVP5147M1PFP
Page 19
2.2Digital Video Processing
Figure 2−2 is a block diagram of the TVP5147M1 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.
Functional Description
CH1 A/D
CH2 A/D
2×
Decimation
2×
Decimation
Protection
Detector
XTAL1
XTAL2
RESETB
PWDN
DATACLK
Copy
CVBS/Y
C/CbCr
Timing
Processor
VBI Data
Processor
Composite
Processor
FID
VS/VBLK
HS/CS
GLCO
AVID
Slice VBI Data
YCbCr
Figure 2−2. Digital Video Processing Block Diagram
Output
Formatter
Host
Interface
Y[9:0]
C[9:0]
SCL
SDA
2.2.1 2× Decimation Filter
All input signals are typically oversampled by a factor of 2 (27 MHz). The A/D outputs initially pass through
decimation filters that reduce the data rate to 1× the pixel rate. The decimation filter is a half-band filter.
Oversampling and decimation filtering can effectively increase the overall signal-to-noise ratio by 3 dB.
2.2.2 Composite Processor
Figure 2−3 is a block diagram of the TVP5147M1 digital composite video processing circuit. This processing
circuit receives a digitized composite or S-video signal from the ADCs and performs Y/C separation (bypassed
for S-video input), chroma demodulation for PAL/NTSC and SECAM, and YUV signal enhancements.
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.
SLES140A—March 2007TVP5147M1PFP
11
Page 20
Functional Description
CVBS/Y
CVBS
Line
Delay
SECAM Luma
SECAM
Color
Demodulation
Peaking
–
NTSC/PAL
Remodulation
U
Color LPF
↓ 2
Accumulator
Accumulator
Burst
(U)
Burst
(V)
5-Line
Adaptive
Comb
Filter
Delay
Notch
Filter
Notch
Filter
Notch
Filter
Y
Delay
Contrast
Brightness
Saturation
Adjust
U
Y
Cb
Cr
V
CVBS/C
NTSC/PAL
Demodulation
Figure 2−3. Composite and S-Video Processing Block Diagram
2.2.2.1Color Low-Pass Filter
High filter bandwidth preserves sharp color transitions and produces crisp color boundaries. However, for
nonstandard video sources that have asymmetrical U and V side bands, it is desirable to limit the filter
bandwidth to avoid UV crosstalk. The color low-pass filter bandwidth is programmable to enable one of the
three notch filters. Figure 2−4 and Figure 2−5 represent the frequency responses of the wideband color
low-pass filters.
Color LPF
↓ 2
Notch
Filter
Delay
V
12
SLES140A—March 2007TVP5147M1PFP
Page 21
Functional Description
0
10
0
−10
−20
−30
ITU-R BT.601 −3 dB
−40
Amplitude − dB
−50
−60
−70
0.00.51.01.52.02.53.03.54.0
@ 1.42 MHz
f − Frequency − MHz
Figure 2−4. Color Low-Pass Filter Frequency
Response
2.2.2.2Y/C Separation
10
0
−10
−20
−30
−40
Amplitude − dB
−50
−60
−70
0.00.51.01.52.02.53.03.54.
f − Frequency − MHz
Filter 2
−3 dB @ 844 kHz
Filter 0
−3 dB @ 1.41 MHz
Filter 3
−3 dB @ 554 kHz
Filter 1
−3 dB
@ 1.03 MHz
Figure 2−5. Color Low-Pass Filter With Filter
Characteristics, NTSC/PAL ITU-R BT.601
Sampling
Y/C separation can be done using adaptive 5-line (5-H delay) comb filters or a chroma trap filter. The comb
filter can be selectively bypassed in the luma or chroma path. If the comb filter is bypassed in the luma path,
then chroma trap filters are used which are shown in Figure 2−6 and Figure 2−7. The TI patented adaptive
comb filter algorithm reduces artifacts such as hanging dots at color boundaries. It detects and properly
handles false colors in high-frequency luminance images such as a multiburst pattern or circle pattern.
10
5
0
−5
−10
Notch 1 Filter
−15
−20
Amplitude − dB
Notch 2 Filter
−25
No Notch Filter
−30
−35
−40
01234567
Notch 3 Filter
f − Frequency − MHz
10
5
0
−5
−10
−15
−20
Amplitude − dB
−25
−30
−35
−40
Notch 1 Filter
Notch 2 Filter
No Notch Filter
01234567
f − Frequency − MHz
Notch 3 Filter
Figure 2−6. Chroma Trap Filter Frequency
Response, NTSC ITU-R BT.601 Sampling
SLES140A—March 2007TVP5147M1PFP
Figure 2−7. Chroma Trap Filter Frequency
Response, PAL ITU-R BT.601 Sampling
13
Page 22
Functional Description
Gain
2.2.3 Luminance Processing
The digitized composite video signal passes through either a luminance comb filter or a chroma trap filter,
either of which removes chrominance information from the composite signal to generate a luminance signal.
The luminance signal is then fed into the input of a peaking circuit. Figure 2−8 illustrates the basic functions
of the luminance data path. In the case of S-video, the luminance signal bypasses the comb filter or chroma
trap filter and is fed directly to the circuit. A peaking filter (edge enhancer) amplifies high-frequency
components of the luminance signal. Figure 2−9 shows the characteristics of the peaking filter at four dif ferent
gain settings that are user-programmable via the I
Color transient improvement(CTI) enhances horizontal color transients. The color difference signal transition
points are maintained, but the edges are enhanced for signals which have bandwidth-limited color
components.
14
SLES140A—March 2007TVP5147M1PFP
Page 23
2.3Clock Circuits
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 TVP5147M1 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−10, then the external capacitors must have the following
relationship:
C
= CL2 = 2C
L1
where C
configurations. The TVP5147M1 decoder generates the DATACLK signal used for clocking data.
is the terminal capacitance with respect to ground. Figure 2−10 shows the reference clock
STRAY
Functional Description
− C
L
STRAY
,
TVP5147M1
XTAL1
XTAL2
74
75
Figure 2−10. Reference Clock Configurations
2.4Real-Time Control (RTC)
Although the TVP5147M1 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
F
PLL
where F
PLL
two times the pixel frequency. This information can be generated on the GLCO terminal. Figure 2−11 shows
the detailed timing diagram.
ctrl
+
F
23
2
sclk
is the frequency of the subcarrier PLL, F
14.318-MHz
Clock
TVP5147M1
XTAL1
XTAL2
is the 23-bit PLL frequency control word, and F
ctrl
Valid
Sample
74
75
Invalid
Sample
14.318-MHz
Crystal
C
L1
C
L2
sclk
is
Reserved
RTC
1 CLK
Start
Bit
NOTE: RTC reset bit (R) is active-low, Sequence bit (S) P AL: 1 = (R-Y) line normal, 0 = (R-Y) line inverted, NTSC: 1 = no change
M
S
B
22
45 CLK18 CLK
23-Bit Fsc PLL Increment
L
S
B
0
Figure 2−11. RTC Timing
2.5Output Formatter
The output formatter sets how the data is formatted for output on the TVP5147M1 output buses. Table 2−1
shows the available output modes.
VS, HS, and VBLK are independently software programmable to a 1× pixel count. This allows any possible
alignment to the internal pixel count and line count. The default settings for 525-line and 625-line video outputs
are given as examples below. FID changes at the same transient time when the trailing edge of vertical sync
occurs. The polarity of FID is programmable by an I
2
C interface.
16
SLES140A—March 2007TVP5147M1PFP
Page 25
First Field Video
HS
VS
CS
FID
VBLK
Functional Description
525-Line
525
12345678910 2021
VS StartVS Stop
VBLK StartVBLK Stop
262
263264265266267268269270271272273283284
Second Field Video
HS
VS
CS
FID
VBLK
VBLK StartVBLK Stop
NOTE: Line numbering conforms to ITU-R BT.470
Figure 2−12. Vertical Synchronization Signals for 525-Line System
VS StartVS Stop
SLES140A—March 2007TVP5147M1PFP
17
Page 26
Functional Description
First Field Video
HS
VS
CS
FID
VBLK
625-Line
6226236246251234567232425
VS StartVS Stop
VBLK StartVBLK Stop
310
311312313314315316317318319320336337
Second Field Video
HS
VS
CS
FID
VBLK
VBLK StartVBLK Stop
NOTE: Line numbering conforms to ITU-R BT.470
Figure 2−13. Vertical Synchronization Signals for 625-Line System
NOTE: 20-bit 4:2:2 timing with 1× pixel clock reference
Cb
CrCbCrCb0 Cr0 Cb1 Cr1
AC
AVID StopAVID Start
DATACLK = 1× Pixel Clock
ModeABC
NTSC 60153
PAL 601
Horizontal Blanking
HS Start
5664641922
HS Stop
B
D
2
D
136
142
20
Figure 2−15. Horizontal Synchronization Signals for 20-Bit 4:2:2 Mode
SLES140A—March 2007TVP5147M1PFP
Page 29
HS
Functional Description
First FieldB/2
VS
HS
Second Field
VS
10-Bit (PCLK = 2× Pixel Clock)
ModeB/2
NTSC 60164
PAL 601
H/2 + B/2H/2 + B/2
64
Figure 2−16. VSYNC Position With Respect to HSYNC
H/2
858
864
20-Bit (PCLK = 1× Pixel Clock)
B/2
32
32
H/2
429
432
B/2
2.5.2 Embedded Syncs
Standards with embedded syncs insert the SA V and EAV codes into the data stream on the rising and falling
edges of AVID. These codes contain the V and F bits which also define vertical timing. Table 2−3 gives the
format of the SAV and EAV codes.
H equals 1 always indicates EA V. H equals 0 always indicates SAV. The alignment of V and F to the line and
field counter varies depending on the standard.
The P bits are protection bits:
P3 = V xor H; P2 = F xor H; P1 = F xor V; P0 = F xor V xor H
Table 2−3. EAV and SAV Sequence
D9 (MSB)D8D7D6D5D4D3D2D1D0
Preamble1111111111
Preamble0000000000
Preamble0000000000
Status word1FVHP3P2P1P000
2.6I2C Host Interface
Communication with the TVP5147M1 decoder is via an I2C host interface. The I2C standard consists of two
signals, the serial input/output data (SDA) line and the serial input clock line (SCL), which carry information
between the devices connected to the bus. A third signal (I2CA) is used for slave address selection. Although
2
an I
C system can be multimastered, the TVP5147M1 decoder functions as a slave device only.
Because SDA an d S C L a r e 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 TVP5147M1 devices tied to the same I
because it controls the least significant bit of the I
2
C device address.
2
C bus,
SLES140A—March 2007TVP5147M1PFP
21
Page 30
Functional Description
T able 2−4. I2C Host Interface Terminal Description
SIGNALTYPEDESCRIPTION
I2CAISlave address selection
SCLIInput clock line
SDAI/OInput/output data line
2.6.1 Reset and I2C Bus Address Selection
The TVP5147M1 decoder can respond to two possible chip addresses. The address selection is made at reset
by an externally supplied level on the I2CA terminal. The TVP5147M1 decoder samples the level of terminal
37 at power up or at the trailing edge of RESETB and configures the I
2
C bus address bit A0. The I2CA terminal
has an internal pulldown resistor to pull the terminal low to set a zero.
2
T able 2−5. I
A6A5A4A3A2A1A0 (I2CA)R/WHEX
1011100 (default)1/0B9/B8
1011101
†
If terminal 37 is strapped to DVDD via a 2.2-kΩ resistor, I2C device address A0 is set to 1.
C Address Selection
†
1/0BB/BA
2.6.2 I2C Operation
Data transfers occur using the following illustrated formats.
C bus stop condition
ACK = Acknowledge generated by the slave
NAK = Acknowledge generated by the master, for multiple-byte read master with ACK each byte except
last byte
Subaddress = Subaddress byte
Data = Data byte. If more than one byte of data is transmitted (read and write), the subaddress pointer is
automatically incremented.
2
I
C bus address = Example shown that I2CA is in default mode. Write (B8h), read (B9h)
2.6.3 VBUS Access
The TVP5147M1 decoder has additional internal registers accessible through an indirect access to an internal
24-bit address wide VBUS. Figure 2−17 shows the VBUS register access.
22
SLES140A—March 2007TVP5147M1PFP
Page 31
Functional Description
I2C Registers
00h
HOST
Processor
VBUS Write
Single Byte
B8SACKE8ACKVA0ACK VA1ACK VA2ACK P
B8SACKE0ACKSend DataACK P
I2C
E0h
E1h
E8h
EAh
FFh
VBUS
Data
VBUS[23:0]
VBUS
Address
VBUS Registers
CC
WSS
VITC
Line
Mode
VPS
FIFO
00 0000h
80 051Ch
80 0520h
80 052Ch
80 0600h
80 0700h
90 1904h
FF FFFFh
Multiple Bytes
SACKE8ACK VA0ACK VA1ACK VA2ACK P
B8
B8SACKE1ACKSend DataACKACK PSend Data•••
VBUS Read
Single Byte
SACKE8ACK VA0ACK VA1ACK VA2ACK P
B8
B8SACKE0ACKACK
Multiple Bytes
SACKE8ACK VA0ACK VA1ACK VA2ACK P
B8
B8SACKE1ACKACKNAK PRead Data•••
NOTE: Examples use default I2C address
ACK = Acknowledge generated by the slave
NAK = No acknowledge generated by the master
Read DataNAK PSB9
SB9ACKRead Data
Figure 2−17. VBUS Access
SLES140A—March 2007TVP5147M1PFP
23
Page 32
Functional Description
2.7VBI Data Processor
The TVP5147M1 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 TVP5147M1 decoder
provides fully decoded V-Chip data to the dedicated registers at subaddresses 80 0540h−80 0543h.
Table 2−6. Supported VBI System
VBI SYSTEMSTANDARDLINE NUMBERNUMBER OF BYTES
Teletext WST ASECAM6−23 (Fields 1 and 2)38
Teletext WST BPAL6−22 (Fields 1 and 2)43
Teletext NABTS CNTSC10−21 (Fields 1 and 2)34
Teletext NABTS DNTSC-J10−21 (Fields 1 and 2)35
Closed CaptionPAL22 (Fields 1 and 2)2
Closed CaptionNTSC21 (Fields 1 and 2)2
WSSPAL23 (Fields 1 and 2)14 bits
WSS-CGMSNTSC20 (Fields 1 and 2)20 bits
VITCPAL6−229
VITCNTSC10−209
VPS (PDC)PAL1613
V-Chip (decoded)NTSC21 (Fields 1 and 2)2
Gemstar 1xNTSC2
Gemstar 2xNTSC5 with frame byte
UserAnyProgrammableProgrammable
24
SLES140A—March 2007TVP5147M1PFP
Page 33
2.7.1 VBI FIFO and Ancillary Data in Video Stream
Ancillary data preamble
1 word
N word
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 1 1 lines of teletext data
with the NTSC NABTS standard.
Table 2−7. Ancillary Data Format and Sequence
Functional Description
BYTE
NO.
000000000
111111111
211111111
3NEPEP010DID2DID1DID0Data ID (DID)
4NEPEPF5F4F3F2F1F0Secondary data ID (SDID)
5NEPEPN5N4N3N2N1N0Number of 32-bit data (NN)
6Video line # [7:0]Internal data ID0 (IDID0)
7000Data
81. DataData byte
92. DataData byte
103. DataData byte
114. DataData byte
::::
4N+700000000Fill byte
NOTE: The number of bytes (m) varies depending on the VBI data service.
D7
(MSB)
D6D5D4D3D2D1D0
(LSB)
Ancillary data preamble
Match#1Match#2Video line # [9:8]Internal data ID1 (IDID1)
error
m. DataData byte
CS[7:0]Check sum
DESCRIPTION
1st word
Nth word
EP:Even parity for D0−D5, NEP: Negated even parity
DID:91h: Sliced data of VBI lines of first field
SDID:This field holds the data format taken from the line mode register bits [2:0] of the corresponding line.
NN:Number of Dwords beginning with byte 8 through 4N+7. Note this value is the number of Dwords
IDID0:Transaction video line number [7:0]
IDID1:Bit 0/1 = Transaction video line number [9:8]
CS:Sum of D0−D7 of first data through last data byte.
Fill byte:Fill bytes make a multiple of 4 bytes from byte 0 to last fill byte. For teletext modes, byte 8 is the sync
SLES140A—March 2007TVP5147M1PFP
53h: Sliced data of line 24 to end of first field
55h: Sliced data of VBI lines of second field
97h: Sliced data of line 24 to end of second field
where each Dword is 4 bytes.
Bit 2 = Match 2 flag
Bit 3 = Match 1 flag
Bit 4 = 1 if an error was detected in the EDC block. 0 if no error was detected.
pattern byte. Byte 9 is the first data byte.
25
Page 34
Functional Description
(i.e., NTSC 601: n = 1707)
2.7.2 VBI Raw Data Output
The TVP5147M1 decoder can output raw A/D video data at twice the sampling rate for external VBI slicing.
This is transmitted as an ancillary data block, although somewhat differently from the way the sliced VBI data
is transmitted in the FIFO format as described in Section 2.7.1. The samples are transmitted during the active
portion of the line. VBI raw data uses ITU-R BT.656 format having only luma data. The chroma samples are
replaced by luma samples. The TVP5147M1 decoder inserts a four-byte preamble 000h 3FFh 3FFh 180h
before data start. There are no checksum bytes and fill bytes in this mode.
Table 2−8. VBI Raw Data Output Format
BYTE
NO.D9(MSB)
00000000000
11111111111
21111111111
30110000000
41. Data
52. Data
::
n−1n−5. Data
nn–4. Data
D8D7D6D5D4D3D2D1D0
2.8Reset and Initialization
Reset is initiated at power up or any time terminal 34 (RESETB) is brought low. Table 2−9 describes the status
of the TVP5147M1 terminals during and immediately after reset.
The following register writes must be made before normal operation of the device.
26
SDA
1 ms (min)
200 ns (min)
Reset
Invalid I2C CycleValid
Figure 2−18. Reset Timing
STEPI2C SUBADDRESSI2C DATA
10x030x01
20x030x00
Normal Operation
1 ms (min)
SLES140A—March 2007TVP5147M1PFP
Page 35
2.9Adjusting External Syncs
The proper sequence to program the following external syncs is:
•To set NTSC, PAL-M, NTSC 443, PAL60 (525-line modes):
−Set the video standard to NTSC (register 02h)
−Set HSYNC, VSYNC, VBLK, and AVID external syncs (registers 16h through 24h)
•To set PAL, PAL-N, SECAM (625-line modes):
−Set the video standard to PAL (register 02h)
−Set HSYNC, VSYNC, VBLK, and AVID external syncs (registers 16h through 24h)
•For autoswitch, set the video standard to autoswitch (register 02h)
2.10 Internal Control Registers
The TVP5147M1 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 TVP5147M1 is
through a standard I
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.
2
C host port interface, as described earlier. Table 2−10 shows the summary of these
T able 2−10. I
2
C Register Summary
Functional Description
REGISTER NAMEI2C SUBADDRESSDEFAULTR/W
Input select00h00hR/W
AFE gain control01h0FhR/W
Video standard02h00hR/W
Operation mode03h00hR/W
Autoswitch mask04h23hR/W
Color killer05h10hR/W
Luminance processing control 106h00hR/W
Luminance processing control 207h00hR/W
Luminance processing control 308h02hR/W
Luminance brightness09h80hR/W
Luminance contrast0Ah80hR/W
Chrominance saturation0Bh80hR/W
Chroma hue0Ch00hR/W
Chrominance processing control 10Dh00hR/W
Chrominance processing control 20Eh0EhR/W
Reserved0Fh−15h
AVID start pixel16h−17h055hR/W
AVID stop pixel18h−19h325hR/W
HSYNC start pixel1Ah−1Bh000hR/W
HSYNC stop pixel1Ch−1Dh040hR/W
VSYNC start line1Eh−1Fh004hR/W
VSYNC stop line20h−21h007hR/W
NOTE: R = Read only
W = Write only
R/W = Read and write
Reserved register addresses must not be written to.
SLES140A—March 2007TVP5147M1PFP
27
Page 36
Functional Description
VBLK start line22h−23h001hR/W
VBLK stop line24h−25h015hR/W
Reserved26h−2Ah
Overlay delay2Bh00hR/W
Reserved2Ch
CTI delay2Dh00hR/W
CTI control2Eh00hR/W
Reserved2Fh−31h
Sync control32h00hR/W
Output formatter 133h40hR/W
Output formatter 234h00hR/W
Output formatter 335hFFhR/W
Output formatter 436hFFhR/W
Output formatter 537hFFhR/W
Output formatter 638hFFhR/W
Clear lost lock detect39h00hR/W
Status 13AhR
Status 23BhR
AGC gain status3Ch−3DhR
Reserved3Eh
Video standard status3FhR
GPIO input 140hR
GPIO input 241hR
Reserved42h−45h
AFE coarse gain for CH146h20hR/W
AFE coarse gain for CH247h20hR/W
AFE coarse gain for CH348h20hR/W
AFE coarse gain for CH449h20hR/W
AFE fine gain for Pb4Ah−4Bh900hR/W
AFE fine gain for chroma4Ch−4Dh900hR/W
AFE fine gain for Pr4Eh−4Fh900hR/W
AFE fine gain for CVBS_Luma50h−51h900hR/W
Reserved52h−56h
Field ID control57h00hR/W
Reserved58h−68h
F-bit and V-bit control 169h00hR/W
Reserved6Ah−6Bh
Back-end AGC control6Ch08hR/W
Reserved6Dh−6Eh
AGC decrement speed control6Fh04hR/W
ROM version70hR
Reserved71h−73h
AGC white peak processing74h00hR/W
NOTE: R = Read only
T able 2−10. I2C Register Summary (Continued)
REGISTER NAMEI2C SUBADDRESSDEFAULTR/W
W = Write only
R/W = Read and write
Reserved register addresses must not be written to.
28
SLES140A—March 2007TVP5147M1PFP
Page 37
T able 2−10. I2C Register Summary (Continued)
REGISTER NAMEI2C SUBADDRESSDEFAULTR/W
F and V bit control75h12hR/W
VCR trick mode control76h8AhR/W
Horizontal shake increment77h64hR/W
AGC increment speed78h05hR/W
AGC increment delay79h1EhR/W
Reserved7Ah−7Eh
Analog output control 17Fh00hR/W
Chip ID MSB80h51hR
Chip ID LSB81h47hR
Reserved82h
CPLL speed control83h09hR/W
Reserved84h−96h
Status request97h00hR/W
Reserved98h−99h
Vertical line count9Ah−9BhR
Reserved9Ch−9Dh
AGC decrement delay9Eh00hR/W
Reserved9Fh−B0h
VDP TTX filter 1 mask 1B1h00hR/W
VDP TTX filter 1 mask 2B2h00hR/W
VDP TTX filter 1 mask 3B3h00hR/W
VDP TTX filter 1 mask 4B4h00hR/W
VDP TTX filter 1 mask 5B5h00hR/W
VDP TTX filter 2 mask 1B6h00hR/W
VDP TTX filter 2 mask 2B7h00hR/W
VDP TTX filter 2 mask 3B8h00hR/W
VDP TTX filter 2 mask 4B9h00hR/W
VDP TTX filter 2 mask 5BAh00hR/W
VDP TTX filter controlBBh00hR/W
VDP FIFO word countBChR
VDP FIFO interrupt thresholdBDh80hR/W
ReservedBEh
VDP FIFO resetBFh00hR/W
VDP FIFO output controlC0h00hR/W
VDP line number interruptC1h00hR/W
VDP pixel alignmentC2h−C3h01EhR/W
ReservedC4h−D5h
VDP line startD6h06hR/W
VDP line stopD7h1BhR/W
VDP global line modeD8hFFhR/W
VDP full field enableD9h00hR/W
VDP full field modeDAhFFhR/W
ReservedDBh−DFh
NOTE: R = Read only
W = Write only
R/W = Read and write
Reserved register addresses must not be written to.
Functional Description
SLES140A—March 2007TVP5147M1PFP
29
Page 38
Functional Description
VBUS data access with no VBUS address incrementE0h00hR/W
VBUS data access with VBUS address incrementE1h00hR/W
FIFO read dataE2hR
ReservedE3h−E7h
VBUS address accessE8h−EAh00 0000hR/W
ReservedEBh−EFh
Interrupt raw status 0F0hR
Interrupt raw status 1F1hR
Interrupt status 0F2hR
Interrupt status 1F3hR
Interrupt mask 0F4h00hR/W
Interrupt mask 1F5h00hR/W
Interrupt clear 0F6h00hR/W
Interrupt clear 1F7h00hR/W
ReservedF8h−FFh
NOTE: R = Read only
T able 2−10. I2C Register Summary (Continued)
REGISTER NAMEI2C SUBADDRESSDEFAULTR/W
W = Write only
R/W = Read and write
Reserved register addresses must not be written to.
NOTE 1: When VI_1_A is set to output, the total number of inputs is nine. The video output can be either CVBS or luma.
(see Note 1)
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.
SLES140A—March 2007TVP5147M1PFP
31
Page 40
Functional Description
2.11.2AFE Gain Control Register
Subaddress01h
Default0Fh
76543210
Reserved11AGC chromaAGC luma
Bit 3: 1 must be written to this bit.
Bit 2: 1 must be written to this bit.
AGC chroma enable: Controls automatic gain in the chroma/PbPr channel:
0 = Manual (if AGC luma is set to manual, AGC chroma is forced to be in manual)
1 = Enabled auto gain, applied a gain value acquired from the sync channel for S-video and component
mode. When AGC luma is set, this state is valid. (default)
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.
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.
32
SLES140A—March 2007TVP5147M1PFP
Page 41
2.11.4Operation Mode Register
Subaddress03h
Default00h
76543210
ReservedPower save
Power save:
Functional Description
0 = Normal operation (default)
1 = Power-save mode. Reduces the clock speed of the internal processor and switches off the ADCs. I
interface is active and all current operating settings are preserved.
ReservedPedestal not presentReservedVBI rawLuminance signal delay [3:0]
Pedestal not present:
0 = 7.5 IRE pedestal is present on the analog video input signal (default)
1 = Pedestal is not present on the analog video input signal
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.
10 = Luma comb/trap filter bypassed (default on S-video, component mode, and SECAM)
11 = Reserved
Peaking gain [1:0]:
00 = 0 (default)
01 = 0.5
10 = 1
11 = 2
2.11.9Luminance Processing Control 3 Register
Subaddress08h
Default02h
Functional Description
76543210
ReservedTrap 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.
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 601NTSC SqpPAL 601PAL Sqp
default85 (55h)86 (56h)88 (58h)103 (67h)
The TVP5147M1 decoder updates the AVID start only when the AVID start MSB byte is written to. If the user
changes these registers, then the TVP5147M1 decoder retains values in different modes until this device
resets. The AVID start pixel register also controls the position of the SAV code.
SLES140A—March 2007TVP5147M1PFP
37
Page 46
Functional Description
2.11.17AVID Stop Pixel Register
Subaddress18h−19h
Default325h
Subaddress76543210
18hAVID stop [7:0]
19hReservedAVID stop [9:8]
A VID 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 601NTSC SqpPAL 601PAL Sqp
default805 (325h)726 (2D6h)808 (328h) 696 (2B8h)
The TVP5147M1 decoder updates the AVID stop only when the AVID stop MSB byte is written to. If the user
changes these registers, then the TVP5147M1 decoder retains values in different modes until this device
resets. The AVID start pixel register also controls the position of the EAV code.
2.11.18HSYNC Start Pixel Register
Subaddress1Ah−1Bh
Default000h
Subaddress76543210
1AhHSYNC start [7:0]
1BhReservedHSYNC start [9:8]
HSYNC start pixel [9:0]: This is an absolute pixel location from HSYNC start pixel 0.
The TVP5147M1 decoder updates the HSYNC start only when the HSYNC start MSB is written to. If the user
changes these registers, then the TVP5147M1 decoder retains values in different modes until this device
resets.
2.11.19HSYNC Stop Pixel Register
Subaddress1Ch−1Dh
Default040h
Subaddress76543210
1ChHSYNC stop [7:0]
1DhReservedHSYNC stop [9:8]
HSYNC stop [9:0]: This is an absolute pixel location from HSYNC start pixel 0.
The TVP5147M1 decoder updates the HSYNC stop only when the HSYNC stop MSB is written to. If the user
changes these registers, then the TVP5147M1 decoder retains values in different modes until this device
resets.
2.11.20VSYNC Start Line Register
Subaddress1Eh−1Fh
Default004h
Subaddress76543210
1EhVSYNC start [7:0]
1FhReservedVSYNC start [9:8]
38
VSYNC start [9:0]: This is an absolute line number . The TVP5147M1 decoder updates the VSYNC start only
when the VSYNC start MSB is written to. If the user changes these registers, then the TVP5147M1 decoder
retains values in different modes until this decoder resets.
NTSC: default 004h PAL: default 001h
SLES140A—March 2007TVP5147M1PFP
Page 47
Functional Description
2.11.21VSYNC Stop Line Register
Subaddress20h−21h
Default007h
Subaddress76543210
20hVSYNC stop [7:0]
21hReservedVSYNC stop [9:8]
VSYNC stop [9:0]: This is an absolute line number . The TVP5147M1 decoder updates the VSYNC stop only
when the VSYNC stop MSB is written to. If the user changes these registers, the TVP5147M1 decoder retains
values in different modes until this decoder resets.
NTSC: default 007h PAL: default 004h
2.11.22VBLK Start Line Register
Subaddress22h−23h
Default001h
Subaddress76543210
22hVBLK start [7:0]
23hReservedVBLK start [9:8]
VBLK start [9:0]: This is an absolute line number . The TVP5147M1 decoder updates the VBLK start line only
when the VBLK start MSB is written to. If the user changes these registers, the TVP5147M1 decoder retains
values in different modes until this resets (see Section 2.11.16)
NTSC: default 001h PAL: default 623 (26Fh)
2.11.23VBLK Stop Line Register
Subaddress24h−25h
Default015h
Subaddress76543210
24hVBLK stop [7:0]
25hReservedVBLK stop [9:8]
VBLK stop [9:0]: This is an absolute line number. The TVP5147M1 decoder updates the VBLK stop only when
the VBLK stop MSB is written to. If the user changes these registers, then the TVP5147M1 decoder retains
values in different modes until this device resets (see Section 2.11.16).
NTSC: default 21 (015h) PAL: default 23 (017h)
2.11.24CTI Delay Register
Subaddress2Dh
Default00h
76543210
ReservedCTI delay [2:0]
CTI delay [2:0]: Sets the delay of the Y channel with respect to Cb/Cr in the CTI block
ReservedYCbCr code rangeCbCr codeReservedOutput format [2:0]
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)
0 = Y[9:0] and C[9:0] high impedance (default)
1 = Y [9:0] and C[9:0] active
Black Screen [1:0]:
00 = Normal operation (default)
01 = Black screen out when TVP5147M1 detects lost lock (using with tuner input but not with VCR)
10 = Black screen out
11 = Black screen out
CLK polarity:
0 = Data clocked out on the falling edge of DATACLK (default)
1 = Data clocked out on the rising edge of DATACLK
Clock enable:
0 = DATACLK outputs are high-impedance (default).
1 = DATACLK outputs are enabled.
SLES140A—March 2007TVP5147M1PFP
41
Page 50
Functional Description
2.11.29Output Formatter 3 Register
Subaddress35h
DefaultFFh
76543210
GPIO [1:0]AVID [1:0]GLCO [1:0]FID [1:0]
GPIO [1:0]: FSS terminal function select
00 = GPIO is logic 0 output.
01 = GPIO is logic 1 output.
10 = Reserved
11 = GPIO is logic input (default).
AVID [1:0]: AVID terminal function select
00 = AVID is logic 0 output.
01 = AVID is logic 1 output.
10 = AVID is active video indicator output.
11 = AVID is logic input (default).
GLCO [1:0]: GLCO terminal function select
00 = GLCO is logic 0 output.
01 = GLCO is logic 1 output.
10 = GCLO is genlock output.
11 = GCLO is logic input (default).
FID [1:0]: FID terminal function select
00 = FID is logic 0 output.
01 = FID is logic 1 output.
10 = FID is FID output.
11 = FID is logic input (default).
42
SLES140A—March 2007TVP5147M1PFP
Page 51
2.11.30Output Formatter 4 Register
Subaddress36h
DefaultFFh
76543210
VS/VBLK [1:0]HS/CS [1:0]C_1 [1:0]C_0 [1:0]
VS/VBLK [1:0]: VS terminal function select
00 = VS/VBLK is logic 0 output.
01 = VS/VBLK is logic 1 output.
10 = VS/VBLK is vertical sync or vertical blank output corresponding to bit 1 (VS/VBLK) in the sync control
register at subaddress 32h (see Section 2.11.26).
11 = VS/VBLK is logic input (default).
HS/CS [1:0]: HS terminal function select
00 = HS/CS is logic 0 output.
01 = HS/CS is logic 1 output.
10 = HS/CS is horizontal sync or composite sync output corresponding to bit 0 (HS/CS) in the sync control
register at subaddress 32h (see Section 2.11.26).
11 = HS/CS is logic input (default).
C_1 [1:0]: C_1 terminal function select
Functional Description
00 = C_1 is logic 0 output.
01 = C_1 is logic 1 output.
10 = Reserved
11 = C_1 is logic input (default).
C_0 [1:0]: C_0 terminal function select
00 = C_0 is logic 0 output.
01 = C_0 is logic 1 output.
10 = Reserved
11 = C_0 is logic input (default).
C_x functions are only available in the 10-bit output mode.
SLES140A—March 2007TVP5147M1PFP
43
Page 52
Functional Description
2.11.31Output Formatter 5 Register
Subaddress37h
DefaultFFh
76543210
C_5 [1:0]C_4 [1:0]C_3 [1:0]C_2 [1:0]
C_5 [1:0]: C_5 terminal function select
00 = C_5 is logic 0 output.
01 = C_5 is logic 1 output.
10 = Reserved
11 = C_5 is logic input (default).
C_4 [1:0]: C_4 terminal function select
00 = C_4 is logic 0 output.
01 = C_4 is logic 1 output.
10 = Reserved
11 = C_4 is logic input (default).
C_3 [1:0]: C_3 terminal function select
00 = C_3 is logic 0 output.
01 = C_3 is logic 1 output.
10 = Reserved
11 = C_3 is logic input (default).
C_2 [1:0]: C_2 terminal function select
00 = C_2 is logic 0 output.
01 = C_2 is logic 1 output.
10 = Reserved
11 = C_2 is logic input (default).
C_x functions are only available in the 10-bit output mode.
44
SLES140A—March 2007TVP5147M1PFP
Page 53
2.11.32Output Formatter 6 Register
Subaddress38h
DefaultFFh
76543210
C_9 [1:0]C_8 [1:0]C_7 [1:0]C_6 [1:0]
C_9 [1:0]: C_9 terminal function select
00 = C_9 is logic 0 output.
01 = C_9 is logic 1 output.
10 = Reserved
11 = C_9 is logic input (default).
C_8 [1:0]: C_8 terminal function select
00 = C_8 is logic 0 output.
01 = C_8 is logic 1 output.
10 = Reserved
11 = C_8 is logic input (default).
C_7 [1:0]: C_7 terminal function select
00 = C_7 is logic 0 output.
01 = C_7 is logic 1 output.
10 = Reserved
11 = C_7 is logic input (default).
Functional Description
C_6 [1:0]: C_6 terminal function select
00 = C_6 is logic 0 output.
01 = C_6 is logic 1 output.
10 = Reserved
11 = C_6 is logic input (default).
C_x functions are only available in the 10-bit output mode.
2.11.33Clear Lost Lock Detect Register
Subaddress39h
Default00h
76543210
ReservedClear 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.34)
0 = No effect (default)
1 = Clears bit 4 in the status 1 register
SLES140A—March 2007TVP5147M1PFP
45
Page 54
Functional Description
2.11.34Status 1 Register
Subaddress3Ah
Read only
76543210
Peak white
detect status
Peak white detect status:
Line-alternating status:
Field rate status:
Lost lock detect:
Line-alternating
status
0 = Peak white is not detected.
1 = Peak white is detected.
0 = Nonline-alternating
1 = Line-alternating
0 = 60 Hz
1 = 50 Hz
Field rate
status
Lost lock
detect
Color subcarrier
lock status
Vertical sync
lock status
Horizontal sync
lock status
TV/VCR
status
0 = No lost lock since this bit was cleared.
1 = Lost lock since this bit was cleared.
Color subcarrier lock status:
0 = Color subcarrier is not locked.
1 = Color subcarrier is locked.
Vertical sync lock status:
0 = Vertical sync is not locked.
1 = Vertical sync is locked.
Horizontal sync lock status:
0 = Horizontal sync is not locked.
1 = Horizontal sync is locked.
TV/VCR status:
0 = TV
1 = VCR
46
SLES140A—March 2007TVP5147M1PFP
Page 55
Functional Description
2.11.35Status 2 Register
Subaddress3Bh
Read only
76543210
Signal presentWeak signal detectionPAL switch polarityField sequence statusColor killedMacrovision detection [2:0]
Signal present detection:
0 = Signal not present
1 = Signal present
Weak signal detection:
0 = No weak signal
1 = Weak signal mode
PAL switch polarity of first line of odd field:
0 = PAL switch is zero.
1 = PAL switch is one.
Field sequence status:
0 = Even field
1 = Odd field
Color killed:
0 = Color killer not active
1 = Color killer activated
Macrovision detection [2:0]:
000 = No copy protection
001 = AGC pulses/pseudo syncs present (type 1)
010 = 2-line color stripe only present
011 = AGC pulses/pseudo syncs and 2-line color stripe present (type 2)
100 = Reserved
101 = Reserved
110 = 4-line color stripe only present
111 = AGC pulses/pseudo syncs and 4-line color stripe present (type 3)
2.11.36AGC Gain Status Register
Subaddress3Ch−3Dh
Read only
Subaddress76543210
3ChFine gain [7:0]
3DhCoarse gain [3:0]Fine gain [11:8]
Fine gain [11:0]: This register provides the fine gain value of sync channel.
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 TVP5147M1 decoder with AGC on. In
manual gain control mode, these register values are not updated by the TVP5147M1 decoder.
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.
2.11.38GPIO Input 1 Register
Subaddress40h
Read only
76543210
C_7C_6C_5C_4C_3C_2C_1C_0
C_x input status:
0 = Input is a low.
1 = Input is a high.
48
These status bits are only valid when terminals are used as input and its states updated at every line.
SLES140A—March 2007TVP5147M1PFP
Page 57
Functional Description
2.11.39GPIO Input 2 Register
Subaddress41h
Read only
76543210
GPIOAVIDGLCOVSHSFIDC_9C_8
GPIO input terminal status:
0 = Input is a low.
1 = Input is a high.
AVID input terminal status:
0 = Input is a low.
1 = Input is a high.
GLCO input terminal status:
0 = Input is a low.
1 = Input is a high.
VS input terminal status:
0 = Input is a low.
1 = Input is a high.
HS input status:
0 = Input is a low.
1 = Input is a high.
FID input status:
0 = Input is a low.
1 = Input is a high.
C_x 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.
SLES140A—March 2007TVP5147M1PFP
49
Page 58
Functional Description
2.11.40AFE Coarse Gain for CH 1 Register
Subaddress46h
Default20h
76543210
CGAIN 1 [3:0]Reserved
CGAIN 1 [3:0]: Coarse_Gain = 0.5 + (CGAIN 1)/10, where 0 ≤ CGAIN 1 ≤ 15
This register works only in manual gain control mode. When AGC is active, writing to any value is ignored.
CGAIN 2 [3:0]: Coarse_Gain = 0.5 + (CGAIN 2)/10, where 0 ≤ CGAIN 2 ≤ 15
This register works only in manual gain control mode. When AGC is active, writing to any value is ignored.
CGAIN 3 [3:0]: Coarse_Gain = 0.5 + (CGAIN 3)/10, where 0 ≤ CGAIN 3 ≤ 15
This register works only in the manual gain control mode. When AGC is active, writing to any value is ignored.
CGAIN 4 [3:0]: Coarse_Gain = 0.5 + (CGAIN 4)/10, where 0 ≤ CGAIN 4 ≤ 15
This register works only in the manual gain control mode. When AGC is active, writing to any value is ignored.
FGAIN 1 [11:0]: This fine gain applies to component Pb.
Fine_Gain = (1/2048) * FGAIN 1, where 0 ≤ FGAIN 1 ≤ 4095
This register works only in manual gain control mode. When AGC is active, writing to any value is ignored.
FGAIN 3 [11:0]: This fine gain applies to component Pr (see AFE fine gain for Pb register, Section 2.11.44).
This register works only in manual gain control mode. When AGC is active, writing to any value is ignored.
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 TVP5147M1 EVM)
SLES140A—March 2007TVP5147M1PFP
53
Page 62
Functional Description
Mode
2.11.49F-bit and V-bit Control 1 Register
Subaddress69h
Default00h
76543210
ReservedVPLLAdaptiveReservedF-bit mode [1:0]
VPLL: VPLL time constant control
0 = VPLL adapts the time constant to the input signal (default)
1 = VPLL time constants are fixed
Adaptive:
0 = Enable F-bit and V-bit adaptation to detected lines per frame (default)
1 = Disable F-bit and V-bit adaptation to detected lines per frame
F-bit mode [1:0]:
00 = Auto mode. If lines per frame is standard decoded F and V bits as per 656 standard from line count
else decode F bit from VSYNC input and set V-bit = 0 (default).
01 = Decode F and V bits from input syncs
10 = Reserved
11 = Always decode F and V bits from line count
This register is used in conjunction with the F-bit and V-bit control 2 register (subaddress 75h) as indicated
below:
656 = ITU-R BT.656 standard
Toggle = Toggles from field to field
Pulse = Pulses low for 1 line prior to field transition
Switch = V bit switches high before the F bit transition and low after the F bit transition
Switch9 = V bit switches high 1 line prior to F bit transition, then low after 9 lines
Reserved = Not used
SLES140A—March 2007TVP5147M1PFP
Page 63
2.11.50Back-End AGC Control Register
Subaddress6Ch
Default08h
76543210
Reserved1PeakColorSync
This register disables the back-end AGC when the front-end AGC uses specific amplitude references
(sync-height, color burst, or composite peak) to decrement the front-end gain. For example, writing 0x09 to
this register disables the back-end AGC whenever the front-end AGC uses the sync-height to decrement the
front-end gain.
Peak: Disables back-end AGC when the front-end AGC uses the composite peak as an amplitude reference.
0 = Disabled (default)
1 = Enabled
Color: Disables back-end AGC when the front-end AGC uses color burst as an amplitude reference.
0 = Disabled (default)
1 = Enabled
Sync: Disables back-end AGC when the front-end AGC uses the sync height as an amplitude reference.
0 = Disabled (default)
1 = Enabled
Functional Description
2.11.51AGC Decrement Speed Control Register
Subaddress6Fh
Default04h
76543210
ReservedAGC decrement speed [2:0]
AGC decrement speed: Adjusts gain decrement speed. Only used for composite/luma peaks.
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.
56
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%.
SLES140A—March 2007TVP5147M1PFP
Page 65
Functional Description
00 = (default)
01 =
10 =
2.11.54F and V Bit Control Register
Subaddress75h
Default12h
76543210
RabbitReservedFast lockF and V [1:0]Phase Det.HPLL
Rabbit: Enable rabbit ear
0 = Disabled (default)
1 = Enabled
Fast lock: Enable fast lock where vertical PLL is reset and a 2-second 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 VLines per frameF bitV bit
00 = (default)
01 =
10 =
11 =Reserved
StandardITU−R BT 656ITU−R BT 656
Nonstandard−evenForced to 1Switch at field boundary
Nonstandard−oddTogglesSwitch at field boundary
StandardITU−R BT 656ITU−R BT 656
NonstandardTogglesSwitch at field boundary
StandardITU−R BT 656ITU−R BT 656
NonstandardPulsed modeSwitch at field boundary
Phase detector: Enable integral window phase detector
0 = Disabled
1 = Enabled (default)
HPLL: Enable horizontal PLL to free run
0 = Disabled (default)
1 = Enabled
SLES140A—March 2007TVP5147M1PFP
57
Page 66
Functional Description
2.11.55VCR Trick Mode Control Register
Subaddress76h
Default8Ah
76543210
Switch headerHorizontal 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)
Horizontal shake threshold [6:0]:
000 0000 = Zero threshold
000 1010 = 0Ah (default)
111 1111 = Largest threshold
Capture:
Setting a 1b in this register causes the internal processor to capture the current settings of the AGC status
and the vertical line count registers. Since this capture is not immediate, it is necessary to check for completion
of the capture by reading the capture bit repeatedly after setting it and waiting for it to be cleared by the internal
processor. Once the capture bit is 0b, the AGC status and vertical line counters (3Ch/3Dh and 9Ah/9Bh) have
been updated and can be safely read in any order.
2.11.64Vertical Line Count Register
Subaddress9Ah9Bh
Read only
Subaddress76543210
9AhVertical line [7:0]
9BhReservedVertical line [9:8]
Vertical line [9:0] represents the detected a 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.
Since this register is a double-byte register, it is necessary to capture the setting into the register to ensure
that the value is not updated between reading the lower and upper bytes. In order to cause this register to
capture the current settings, bit 0 of the status request register (subaddress 97h) must be set to a 1b. Once
the internal processor has updated and can be read. Either byte may be read first since no further update will
occur until bit 0 of 97h is set to 1b again.
2.11.65AGC Decrement Delay Register
Subaddress9Eh
Default00h
76543210
AGC decrement delay [7:0]
AGC decrement delay [7:0]: Number of frames to delay gain decrements
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]):
Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
D[3]H[3]D[2]H[2]D[1]H[1]D[0]H[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 (P AL 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).
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
Mode: indicates which teletext mode is in use.
0 = Teletext filter applies to 2 header bytes (default)
1 = Teletext filter applies to 5 header bytes
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.
62
SLES140A—March 2007TVP5147M1PFP
Page 71
1P1[3]
D1[3]
1P1[2]
D1[2]
1P1[1]
D1[1]
1P1[0]
D1[0]
D2[3:0]
1P2[3:0]
1M2[3:0]
D3[3:0]
1P3[3:0]
1M3[3:0]
1M1[3]
1M1[2]
1M1[1]
1M1[0]
NIBBLE 1
NIBBLE 2
NIBBLE 3
PASS 1
Filter 1
Enable
Functional Description
00
D4[3:0]
1P4[3:0]
1M4[3:0]
D5[3:0]
1P5[3:0]
1M5[3:0]
D1..D5
2P1..2P5
2M1..2M5
NIBBLE 4
NIBBLE 5
FILTER 1
FILTER 2
Figure 2−19. Teletext Filter Function
2.11.68VDP FIFO Word Count Register
SubaddressBCh
01
PASS
10
11
2
Filter Logic
PASS 2
Filter 2
Enable
Read only
76543210
FIFO word count [7:0]
FIFO word count [7:0]: This register provides the number of words in the FIFO.
NOTE: 1 word equals 2 bytes.
SLES140A—March 2007TVP5147M1PFP
63
Page 72
Functional Description
2.11.69VDP FIFO Interrupt Threshold Register
SubaddressBDh
Default80h
76543210
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.
2.11.70VDP FIFO Reset Register
SubaddressBFh
Default00h
76543210
ReservedFIFO 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.
2.11.71VDP FIFO Output Control Register
SubaddressC0h
Default00h
76543210
ReservedHost 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
2.11.72VDP Line Number Interrupt Register
SubaddressC1h
Default00h
76543210
Field 1 enableField 2 enableLine number [5:0]
Field 1 interrupt enable:
0 = Disabled (default)
1 = Enabled
Field 2 interrupt enable:
0 = Disabled (default)
1 = Enabled
Line number [5:0]: Interrupt line number (default 00h)
64
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.
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.
2.11.74VDP Line Start Register
SubaddressD6h
Default06h
76543210
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.
2.11.75VDP Line Stop Register
SubaddressD7h
Default1Bh
76543210
VDP line stop [7:0]
VDP line stop [7:0]: Set the VDP stop line address
2.11.76VDP Global Line Mode Register
SubaddressD8h
DefaultFFh
76543210
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.
SLES140A—March 2007TVP5147M1PFP
65
Page 74
Functional Description
2.11.77VDP Full Field Enable Register
SubaddressD9h
Default00h
76543210
ReservedFull field enable
Full field enable:
0 = Disabled full field mode (default)
1 = Enabled full field mode
This register enables the full field mode. In this mode, all lines outside the vertical blank area and all lines in
the line mode register programmed with FFh are sliced with the definition of the VDP full field mode register
at subaddress DAh. Values other than FFh in the line mode registers allow a different slice mode for that
particular line.
2.11.78VDP Full Field Mode Register
SubaddressDAh
DefaultFFh
76543210
Full field mode [7:0]
Full field mode [7:0]:
This register programs the specific VBI standard for full field mode. It can be any VBI standard. Individual line
settings take priority over the full field register . This allows each VBI line to be programmed independently but
have the remaining lines in full field mode. The full field mode register has the same bit definition as line mode
registers (default FFh).
Global line mode has priority over the full field mode.
2.11.79VBUS Data Access With No VBUS Address Increment Register
SubaddressE0h
Default00h
76543210
VBUS data [7:0]
VBUS data [7:0]: VBUS data register for VBUS single-byte read/write transaction.
2.11.80VBUS Data Access With VBUS Address Increment Register
SubaddressE1h
Default00h
76543210
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.
66
SLES140A—March 2007TVP5147M1PFP
Page 75
Functional Description
2.11.81FIFO Read Data Register
SubaddressE2h
Read only
76543210
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.71).
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.
2.11.83Interrupt Raw Status 0 Register
SubaddressF0h
Read only
76543210
FIFO THRSTTXWSSVPSVITCCC F2CC F1Line
FIFO THRS: FIFO threshold passed, unmasked
0 = Not passed
1 = Passed
TTX: Teletext data available unmasked
0 = Not available
1 = Available
WSS: WSS data available unmasked
0 = Not available
1 = Available
VPS: VPS data available unmasked
0 = Not available
1 = Available
VITC: VITC data available unmasked
0 = Not available
1 = Available
CC F2: CC field 2 data available unmasked
0 = Not available
1 = Available
SLES140A—March 2007TVP5147M1PFP
67
Page 76
Functional Description
CC F1: CC field 1 data available unmasked
0 = Not available
1 = Available
Line: Line number interrupt unmasked
0 = Not available
1 = Available
The host interrupt raw status 0 and 1 registers represent the interrupt status without applying mask bits.
2.11.84Interrupt Raw Status 1 Register
SubaddressF1h
Read only
76543210
ReservedH/V lockMacrovision status changedStandard changedFIFO full
H/V lock: unmasked
0 = H/V lock status unchanged
1 = H/V lock status changed
Macrovision status changed: unmasked
0 = Macrovision status unchanged
1 = Macrovision status changed
Standard changed: unmasked
0 = Video standard unchanged
1 = Video standard changed
FIFO full: unmasked
0 = FIFO not full
1 = FIFO was full during write to FIFO
The FIFO full error flag is set when the current line of VBI data cannot enter the FIFO. For example, if the FIFO
has only 10 bytes left and teletext is the current VBI line, then the FIFO full error flag is set, but no data is written
because the entire teletext line does not fit. However, if the next VBI line is closed caption requiring only 2 bytes
of data plus the header, then this goes into the FIFO even if the full error flag is set.
2.11.85Interrupt Status 0 Register
SubaddressF2h
Read only
76543210
FIFO THRSTTXWSSVPSVITCCC F2CC F1Line
FIFO THRS: FIFO threshold passed, masked
0 = Not passed
1 = Passed
TTX: Teletext data available masked
0 = Not available
1 = Available
68
WSS: WSS data available masked
0 = Not available
1 = Available
SLES140A—March 2007TVP5147M1PFP
Page 77
Functional Description
VPS: VPS data available masked
0 = Not available
1 = Available
VITC: VITC data available masked
0 = Not available
1 = Available
CC F2: CC field 2 data available masked
0 = Not available
1 = Available
CC F1: CC field 1 data available masked
0 = Not available
1 = Available
Line: Line number interrupt masked
0 = Not available
1 = Available
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.
2.11.86Interrupt Status 1 Register
SubaddressF3h
Read only
76543210
ReservedH/V lockMacrovision status changedStandard changedFIFO full
H/V lock: H/V lock status changed mask
0 = H/V lock status unchanged
1 = H/V lock status changed
Macrovision status changed: Macrovision status changed masked
0 = Macrovision status not changed
1 = Macrovision status changed
Standard changed: Standard changed masked
0 = Video standard not changed
1 = Video standard changed
FIFO full: full status of FIFO masked
0 = FIFO not full
1 = FIFO was full during write to FIFO, see the interrupt mask 1 register at subaddress F5h for details (see
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.
70
SLES140A—March 2007TVP5147M1PFP
Page 79
Functional Description
2.11.88Interrupt Mask 1 Register
SubaddressF5h
Default00h
76543210
ReservedH/V lockMacrovision status changedStandard changedFIFO full
H/V lock: H/V lock status changed masked
0 = H/V lock status unchanged (default)
1 = H/V lock status changed
Macrovision status changed: Macrovision status changed mask
0 = Macrovision status unchanged
1 = Macrovision status changed
Standard changed: Standard changed mask
0 = Disabled (default)
1 = Enabled video standard changed
FIFO full: FIFO full mask
0 = Disabled (default)
1 = Enabled FIFO full interrupt
2.11.89Interrupt Clear 0 Register
SubaddressF6h
Default00h
76543210
FIFO THRSTTXWSSVPSVITCCC F2CC F1Line
FIFO THRS: FIFO threshold passed clear
0 = No effect (default)
1 = Clear bit 7 (FIFO_THRS) in the interrupt status 0 register at subaddress F2h
TTX: Teletext data available clear
0 = No effect (default)
1 = Clear bit 6 (TTX available) in the interrupt status 0 register at subaddress F2h
WSS: WSS data available clear
0 = No effect (default)
1 = Clear bit 5 (WSS available) in the interrupt status 0 register at subaddress F2h
VPS: VPS data available clear
0 = No effect (default)
1 = Clear bit 4 (VPS available) in the interrupt status 0 register at subaddress F2h
VITC: VITC data available clear
0 = Disabled (default)
1 = Clear bit 3 (VITC available) in the interrupt status 0 register at subaddress F2h
CC F2: CC field 2 data available clear
0 = Disabled (default)
1 = Clear bit 2 (CC field 2 available) in the interrupt status 0 register at subaddress F2h
CC F1: CC field 1 data available clear
0 = Disabled (default)
1 = Clear bit 1 (CC field 1 available) in the interrupt status 0 register at subaddress F2h
SLES140A—March 2007TVP5147M1PFP
71
Page 80
Functional Description
Line: Line number interrupt clear
0 = Disabled (default)
1 = Clear bit 0 (line interrupt available) in the interrupt status 0 register at subaddress F2h
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.
2.11.90Interrupt Clear 1 Register
SubaddressF7h
Default00h
76543210
ReservedH/V lockMacrovision status changedStandard changedFIFO full
H/V lock: Clear H/V lock status changed flag
0 = H/V lock status unchanged
1 = H/V lock status changed
Macrovision status changed: Clear Macrovision status changed flag
0 = No effect (default)
1 = Clear bit 2 (Macrovision status changed) in the interrupt status 1 register at subaddress F3h and the
interrupt raw status 1 register at subaddress F1h
Standard changed: Clear standard changed flag
0 = No effect (default)
1 = Clear bit 1 (video standard changed) in the interrupt status 1 register at subaddress F3h and the
interrupt raw status 1 register at subaddress F1h
FIFO full: Clear FIFO full flag
0 = No effect (default)
1 = Clear bit 0 (FIFO full flag) in the interrupt status 1 register at subaddress F3h and the interrupt raw
status 1 register at subaddress F1h
72
SLES140A—March 2007TVP5147M1PFP
Page 81
Functional Description
2.12 VBUS Register Definitions
2.12.1VDP Closed Caption Data Register
Subaddress80 051Ch−80 051Fh
Read only
Subaddress76543210
80 051ChClosed caption field 1 byte 1
80 051DhClosed caption field 1 byte 2
80 051EhClosed caption field 2 byte 1
80 051FhClosed caption field 2 byte 2
These registers contain the closed caption data arranged in bytes per field.
2.12.2VDP WSS Data Register
Subaddress80 0520h−80 0526h
WSS NTSC (CGMS):
Read only
Subaddress76543210Byte
80 0520hb5b4b3b2b1b0WSS field 1 byte 1
80 0521hb13b12b11b10b9b8b7b6WSS field 1 byte 2
80 0522hb19b18b17b16b15b14WSS field 1 byte 3
80 0523hReserved
80 0524hb5b4b3b2b1b0WSS field 2 byte 1
80 0525hb13b12b11b10b9b8b7b6WSS field 2 byte 2
80 0526hb19b18b17b16b15b14WSS field 2 byte 3
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
Subaddress76543210Byte
80 0520hb7b6b5b4b3b2b1b0WSS field 1 byte 1
80 0521hb13b12b11b10b9b8WSS field 1 byte 2
80 0522hReserved
80 0523hReserved
80 0524hb7b6b5b4b3b2b1b0WSS field 2 byte 1
80 0525hb13b12b11b10b9b8WSS field 2 byte 2
80 0526hReserved
14-D: When incoming video program is TV-14-D rated then this bit is set high
PG-D: When incoming video program is TV-PG-D rated then this bit is set high
MA-L: When incoming video program is TV-MA-L rated then this bit is set high
14-L: When incoming video program is TV-14-L rated then this bit is set high
PG-L: When incoming video program is TV-PG-L rated then this bit is set high
2.12.5VDP V-Chip TV Rating Block 2 Register
Subaddress80 0541h
Read only
76543210
MA-S14-SPG-SReservedMA-V14-VPG-VY7-FV
TV parental guidelines rating block 2:
MA-S: When incoming video program is TV-MA-S rated then this bit is set high
14-S: When incoming video program is TV-14-S rated then this bit is set high
74
PG-S: When incoming video program is TV-PG-S rated then this bit is set high
MA-V: When incoming video program is TV-MA-V rated then this bit is set high
14-V: When incoming video program is TV-14-V rated then this bit is set high
PG-V: When incoming video program is TV-PG-S rated then this bit is set high
Y7-FV: When incoming video program is TV-Y7-FV rated then this bit is set high
SLES140A—March 2007TVP5147M1PFP
Page 83
Functional Description
2.12.6VDP V-Chip TV Rating Block 3 Register
Subaddress80 0542h
Read only
76543210
NoneTV-MATV-14TV-PGTV-GTV-Y7TV-YNone
TV parental guidelines rating block 3:
None: no block intended
TV-MA: When incoming video program is TV-MA rated in TV parental guidelines rating then this bit is set
high
TV-14: When incoming video program is TV-14 rated in TV parental guidelines rating then this bit is set
high
TV-PG: When incoming video program is TV-PG rated in TV parental guidelines rating then this bit is set
high
TV-G: When incoming video program is TV-G rated in TV parental guidelines rating then this bit is set high
TV-Y7: When incoming video program is TV-Y7 rated in TV parental guidelines rating then this bit is set
high
TV-Y: When incoming video program is TV-G rated in TV parental guidelines rating then this bit is set high
None: no block intended
2.12.7VDP V-CHIP MPAA Rating Data Register
Subaddress80 0543h
Read only
76543210
Not RatedXNC-17RPG-13PGGN/A
MPAA rating block (E5h):
Not rated: When incoming video program is not rated in MPAA rating then this bit is set high
X: When incoming video program is X rated in MPAA rating then this bit is set high
NC-17: When incoming video program is NC-17 rated in MPAA rating then this bit is set high
R: When incoming video program is R rated in MPAA rating then this bit is set high
PG-13: When incoming video program is PG-13 rated in MPAA rating then this bit is set high
PG: When incoming video program is PG rated in MPAA rating then this bit is set high
G: When incoming video program is G rated in MPAA rating then this bit is set high
N/A: When incoming video program is N/A rated in MPAA rating then this bit is set high
SLES140A—March 2007TVP5147M1PFP
75
Page 84
Functional Description
2.12.8VDP General Line Mode and Line Address Register
Analog input voltage range AIN to AGND −0.2 V to 2 V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Operating free-air temperature, T
Storage temperature, T
†
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.
Digital supply voltage33.33.6V
Digital supply voltage1.651.81.95V
Analog supply voltage33.33.6V
Analog supply voltage1.651.81.95V
Analog input voltage (ac-coupling necessary)0.512V
Digital input voltage, high (Note 1)0.7 IOV
Digital input voltage, low (Note 2)0.3 IOV
Output current, V
Output current, V
Operating free-air temperature070°C
2. Exception: 0.3 AV
MINNOMMAX
DD
= 2.4 V−4mA
out
= 0.4 V4mA
out
for XTAL1 terminal
DD18
for XTAL1 terminal
DD18
DD
UNIT
V
V
3.2.1 Crystal Specifications
CRYSTAL SPECIFICATIONSMINNOMMAXUNIT
Frequency14.31818MHz
Frequency tolerance±50ppm
SLES140A—March 2007TVP5147M1PFP
79
Page 88
Electrical Specifications
)
)
)
3.3Electrical Characteristics
For minimum/maximum values: IOVDD = 3 V to 3.6 V, DVDD = 1.65 V to 1.95 V, AV
AV
For typical values: IOV
= 1.65 V to 1.95 V, TA = 0°C to 70°C
DD18
= 3.3 V, DVDD = 1.8 V, AV
DD
3.3.1 DC Electrical Characteristics (see Note 1)
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
I
DDIO(D
I
DD(D)
I
DD33(A
I
DD18(A
P
TOT
P
SAVE
P
DOWN
I
lkg
C
i
V
OH
V
OL
NOTE 1: Measured with a load of 10 kΩ in parallel to 15 pF.
3.3-V IO digital supply current
1.8-V digital supply current
3.3-V analog supply current
1.8-V analog supply current
Total power dissipation (normal operation)S-video490mW
Total power dissipation (power save)100mW
Total power dissipation (power down)10mW
Input leakage current10µA
Input capacitanceBy design8pF
Output voltage high0.8IOV
Output voltage low0.2 IOV
Vi(pp)Input voltage rangeC
∆GGain control range−66dB
DNLDifferential nonlinearityAFE only0.751LSB
INLIntegral nonlinearityAFE only12.5LSB
FrFrequency responseMultiburst (60 IRE)−0.9dB
XTALKCrosstalk1 MHz−50dB
SNRSignal-to-noise ratio, all channels1 MHz, 1 V
GMGain match (Note 1)Full scale, 1 MHz1.5%
NSNoise spectrumLuma ramp (100 kHz to full, tilt-null)−58dB
DPDifferential phaseModulated ramp0.5°
DGDifferential gainModulated ramp±1.5%
V
O
NOTE 1: Component inputs only
Input impedance, analog video inputsBy design200kΩ
Input capacitance, analog video inputsBy design10pF
coupling
Output voltageCL = 10 pF22.4V
= 0.1 µF0.512V
P-P
54dB
80
SLES140A—March 2007TVP5147M1PFP
Page 89
3.3.3 Timing
3.3.3.1Clocks, Video Data, Sync Timing
PARAMETER
Duty cycle DATACLK45%50%55%
t
1
t
2
t
3
t
4
t
5
NOTE 1: CL = 15 pF
High time, DATACLK18.5ns
Low time, DATACLK18.5ns
Fall time, DATACLK90% to 10%4ns
Rise time, DATACLK10% to 90%4ns
Output delay time10ns
t
1
DATACLK
Y, C, AVID, VS, HS, FID
Valid DataValid Data
TEST CONDITIONS
(see NOTE 1)
t
2
t
3
t
5
Electrical Specifications
MINTYPMAXUNIT
V
OH
V
OL
t
4
V
OH
V
OL
Figure 3−1. Clocks, Video Data, and Sync Timing
3.3.3.2I2C Host Port Timing
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
t
t
t
t
t
t
t
t
C
f
1
2
3
4
5
6
7
8
b
I2C
Bus free time between STOP and START1.3µs
Data hold time00.9µs
Data setup time100ns
Setup time for a (repeated) START condition0.6µs
Setup time for a STOP condition0.6ns
Hold time for a (repeated) START condition0.6µs
Rise time VC1(SDA) and VC0(SCL) signal250ns
Fall time VC1(SDA) and VC0(SCL) signal250ns
Capacitive load for each bus line400pF
I2C clock frequency400kHz
Stop Start
VC1 (SDA)
t
1
VC0 (SCL)
Stop
Data
t
t
t
6
t
7
t
2
Change
t
8
3
6
t
4
t
5
Data
Figure 3−2. I2C Host Port Timing
SLES140A—March 2007TVP5147M1PFP
81
Page 90
Electrical Specifications
82
SLES140A—March 2007TVP5147M1PFP
Page 91
4Example Register Settings
The following example register settings are provided only as a reference. These settings, given the assumed
input connector, video format, and output format, set up the TVP5147M1 decoder and provide video output.
Example register settings for other features and the VBI data processor are not provided here.
4.1Example 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, PAL-M, and PAL-60 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)
4.1.2 Recommended Settings
Recommended I2C writes: For the given assumptions, only one write is required. All other registers are set
up by default.
2
I
C register address 08h = Luminance processing control 3 register
2
I
C data 00h = Optimizes the trap filter selection for NTSC and PAL
Example Register Settings
2
I
C register address 0Eh = Chrominance processing control 2 register
2
I
C data 04h = Optimizes the chrominance filter selection for NTSC and PAL
2
I
C register address 34h = Output formatter 2 register
2
I
C data 11h = Enables YCbCr output and the clock output
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.2Example 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.2.2 Recommended Settings
Recommended I2C writes: This setup requires additional writes to output the discrete sync 10-bit 4:2:2 data,
HS, and VS, and to autoswitch between all video formats mentioned above.
SLES140A—March 2007TVP5147M1PFP
83
Page 92
Example Register Settings
I2C register address 00h = Input select register
I
2
I
C register address 04h = Autoswitch mask register
I
2
I
C register address 08h = Luminance processing control 3 register
I
2
I
C register address 0Eh = Chrominance processing control 2 register
I
2
I
C register address 33h = Output formatter 1 register
I
2
I
C register address 34h = Output formatter 2 register
I
2
C register address 36h = Output formatter 4 register
I
I
2
C data 46h = Sets luma to VI_2_C and chroma to VI_1_C
2
C data 3Fh = Includes NTSC 443 and PAL (M, Nc, 60) in the autoswitch
2
C data 00h = Optimizes the trap filter selection for NTSC and PAL
2
C data 04h = Optimizes the chrominance filter selection for NTSC and PAL
2
C data 41h = Selects the 10-bit 4:2:2 output format
2
C data 11h = Enables YCbCr output and the clock output
2
C data 11h = Enables HS and VS sync outputs
4.3Example 3
4.3.1 Assumptions
Input connector:Component [VI_1_B (Pb), VI_2_B (Y), VI_3_B (Pr)]
Video format:480I, 576I
Output format:20-bit ITU-R BT.656 with discrete sync outputs
4.3.2 Recommended Settings
Recommended I2C writes: This setup requires additional writes to output the discrete sync 20-bit 4:2:2 data,
HS, and VS, and to autoswitch between all video formats mentioned above.
84
SLES140A—March 2007TVP5147M1PFP
Page 93
I2C register address 00h = Input select register
2
I
C data 95h = Sets Pb to VI_1_B, Y to VI_2_B, and Pr to VI_3_B
2
I
C register address 04h = Autoswitch mask register
2
I
C data 3Fh = Includes NTSC 443 and PAL (M, Nc, 60) in the autoswitch
2
I
C register address 08h = Luminance processing control 3 register
2
I
C data 00h = Optimizes the trap filter selection for NTSC and PAL
2
I
C register address 0Eh = Chrominance processing control 2 register
2
I
C data 04h = Optimizes the chrominance filter selection for NTSC and PAL
2
I
C register address 33h = Output formatter 1 register
2
I
C data 41h = Selects the 20-bit 4:2:2 output format
2
I
C register address 34h = Output formatter 2 register
2
I
C data 11h = Enables YCbCr output and the clock output
2
C register address 36h = Output formatter 4 register
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.
Figure 5−1. Example Application Circuit
SLES140A—March 2007TVP5147M1PFP
87
Page 96
Application Information
5.2Designing With PowerPADt Devices
The TVP5147 device is housed in a high-performance, thermally enhanced, 80-terminal PowerPAD package
(TI package designator: 80PFP). Use of the PowerP AD package does not require any special considerations
except to note that the thermal pad, which is an exposed die pad on the bottom of the device, is a metallic
thermal and electrical conductor . Therefore, if not implementing the PowerPAD
masks (or other assembly techniques) can be required to prevent any inadvertent shorting by the exposed
thermal pad
any etches or signal vias under the device, but to have only a grounded thermal land as in the following
explanation. Although the actual size of the exposed die pad may vary, the minimum size required for the
keep-out area for the 80-terminal PFP PowerPAD package is 8 mm × 8 mm.
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
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
PowerPADtThermally 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.
of connection etches or vias under the package. The recommended option, however, is not to run
PCB features, the use of solder
package being used, the
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).
PowerPAD is a trademark of Texas Instruments.
88
SLES140A—March 2007TVP5147M1PFP
Page 97
PACKAGE OPTION ADDENDUM
www.ti.com
26-Feb-2007
PACKAGING INFORMATION
Orderable DeviceStatus
(1)
Package
Type
Package
Drawing
Pins Package
Qty
Eco Plan
TVP5147M1PFPACTIVEHTQFPPFP8096Green (RoHS &
no Sb/Br)
TVP5147M1PFPG4ACTIVEHTQFPPFP8096Green (RoHS &
no Sb/Br)
TVP5147M1PFPRACTIVEHTQFPPFP801000 Green (RoHS &
no Sb/Br)
TVP5147M1PFPRG4ACTIVEHTQFPPFP801000 Green (RoHS &
no Sb/Br)
(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)
Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check
http://www.ti.com/productcontent for the latest availability information and additional product content details.
TBD: The Pb-Free/Green conversion plan has not been defined.
Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements
for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered
at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes.
Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and
package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS
compatible) as defined above.
Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame
retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material)
(2)
Lead/Ball Finish MSL Peak Temp
CU NIPDAULevel-3-260C-168 HR
CU NIPDAULevel-3-260C-168 HR
CU NIPDAULevel-3-260C-168 HR
CU NIPDAULevel-3-260C-168 HR
(3)
(3)
MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder
temperature.
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
Page 98
Page 99
Page 100
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.