NTSC/PAL/SECAM 4×10-Bit Digital Video Decoder
With Macrovision™ Detection, YPbPr Inputs, 5-Line Comb
Filter, and SCART Support
Data Manual
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of the Texas
Instruments standard warranty. Production processing does not
necessarily include testing of all parameters.
With Macrovision™ Detection, YPbPr Inputs, 5-Line Comb Filter, and SCART Support
Check for Samples: TVP5146M2
1Introduction
1.1Features
1234
• Four 30-MSPS 11-bit A/D channels with
programmable gain control
• Supports NTSC (J, M, 4.43), PAL (B, D, G, H, I,
M, N, Nc, 60), SECAM (B, D, G, K, K1, L), CVBS,
and S-Video– Line-locked internal pixel sampling clock
• Supports analog SD YPbPr component and
SCART (RGB/YPbPr + CVBS) video formats
with embedded sync– Genlock output RTC format for downstream
• Ten analog video input terminals for
multisource connection• Certified Macrovision™ copy protection
• 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– Wide screen signaling (WSS)
– Sliced VBI data during a vertical blanking– Copy generation management system
period or active video period (full field mode)(CGMS)
• HSYNC/VSYNC outputs with programmable– Video program system (VPS/PDC)
position, polarity, width, and field ID (FID)
output
• Component video processing
– Gain (contrast) and offset (brightness)
adjustments
– Automatic component video detection
(525/625)
– Color space conversion from RGB to YCbCr
• Composite and S-Video processing
– Adaptive 2-D 5-line adaptive comb filter forwith power-save and power-down modes
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) circuit
– Patented architecture for locking to weak,
noisy, or unstable signals
– Single 14.31818-MHz reference crystal for all
standards
generation with horizontal and vertical lock
signal outputs
video encoder synchronization
detection
• Available in commercial (0°C to 70°C) and
industrial (−40°C to 85°C) temperature ranges
• VBI data processor
– Teletext (NABTS, WST)
– CC and extended data service (EDS)
– 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
• I2C host port interface
• Reduced power consumption: 1.8-V digital
core, 3.3-V for digital I/O, and 1.8-V analog core
• 80-terminal TQFP PowerPAD™ package
• RGB Sync on Green is not currently supported,
and all references to "RGB" in this data manual
imply "SCART RGB"
1
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas
Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
2PowerPAD is a trademark of Texas Instruments.
3Gemstar is a trademark of Gemstar-TV Guide Intermational.
4Macrovision is a trademark of Macrovision Corporation.
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of the Texas
Instruments standard warranty. Production processing does not
necessarily include testing of all parameters.
The TVP5146M2 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 TVP5146M2 decoder supports
the analog-to-digital (A/D) conversion of component RGB and 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 four 11-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 ten video input terminals can be configured to a
combination of RGB, YPbPr, CVBS, or S-Video video inputs.
Component, composite, or S-Video signals are sampled at 2× the ITU-R BT.601 clock frequency, line
locked, and are then decimated to the 1× pixel rate. CVBS decoding utilizes 5-line adaptive comb filtering
for both the luma and chroma data paths to reduce both cross-luma and cross-chroma artifacts. A chroma
trap filter is also available. On CVBS and S-Video inputs, the user can control video characteristics, such
as contrast, brightness, saturation, and hue via an I2C host port interface. Furthermore, luma peaking
(sharpness) with programmable gain is included, as well as a patented chroma transient improvement
(CTI) circuit.
A built-in color space converter is applied to decoded component RGB data.
Two output formats can be selected: 20-bit 4:2:2 YCbCr or 10-bit 4:2:2 YCbCr.
The TVP5146M2 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.
www.ti.com
The TVP5146M2 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 TVP5146M2 decoder can pass through the
output formatter 2× the sampled raw luma data for host-based VBI processing.
The main blocks of the TVP5146M2 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
•Fast-switch input for pixel-by-pixel switching between CVBS and YPbPr/RGB component video inputs
(SCART support)
•Four 11-bit 30-MSPS ADCs with analog preprocessors [clamp and automatic gain control (AGC)]
•Luminance processor
•Chrominance processor
•Component processor
•Clock/timing processor and power-down control
•Software-controlled power-saving standby mode
•Output formatter
•I2C host port interface
•VBI data processor
•Macrovision™ copy protection detection circuit (Type 1, 2, 3, and separate color stripe detection)
Throughout this data manual, several conventions are used to convey information. These conventions are
listed below:
•To identify a binary number or field, a lower case b follows the numbers. For example: 000b is a 3-bit
binary field.
•To identify a hexadecimal number or field, a lower case h follows the numbers. For example: 8AFh is a
12-bit hexadecimal field.
•All other numbers that appear in this document that do not have either a b or h following the number
are assumed to be decimal format.
•If the signal or terminal name has a bar above the name (for example, RESETB), then this indicates
the logical NOT function. When asserted, this signal is a logic low, 0, or 0b.
•RSVD indicates that the referenced item is reserved.
1.6Ordering Information
T
A
0°C to 70°C
-40°C to 85°C
(1) For the most current package and ordering information, see the Package Option Addendum at the end
of this document, or see the TI web site at www.ti.com.
(2) Package drawings, standard packing quantities, thermal data, symbolization, and PCB design
DATACLK40OLine-locked data output clock
XTAL174I
XTAL275OExternal clock reference. Not connected if XTAL1 is driven by an external single-ended oscillator.
Digital Video
57, 58,
59, 60,Digital video output of CbCr, C_9 is MSB and C_0 is LSB. C_0 and C_[9-2] can be used as
C_[9:0]/GPIO63, 64,Oprogrammable general purpose I/O. C_1 (pin 69) requires an external pulldown resistor and should
65, 66,not be used for general purpose I/O.
69, 70
43, 44,
45, 46,
Y_[9:0]47, 50,O
51, 52,
53, 54
Miscellaneous Signals
FSS/GPIO35I/O(YPbPr/RGB) and the composite video input.
GLCO/I2CA37I/O
INTREQ30OInterrupt request
PWDN33I1 = Power down
RESETB34IReset, active low
Host Interface
SCL28I/OI2C clock
SDA29I/OI2C data bus
I/ODESCRIPTION
VI_1_x: Analog video input for CVBS/Pb/B/C
VI_2_x: Analog video input for CVBS/Y/G
VI_3_x: Analog video input for CVBS/Pr/R/C
VI_4_A: Analog video input for CVBS/Y
IUp to 10 composite, 4 S-video, and 2 composite or 3 component video inputs (or a combination
thereof) can be supported.
The inputs must be ac coupled. The recommended coupling capacitor is 0.1 µF.
The possible input configurations are listed in the input select register at I2C subaddress 00h (see
Table 2-12).
External clock reference. It can be connected to an external oscillator with a 1.8-V compatible clock
signal or to a 14.31818-MHz crystal oscillator.
Digital video output of Y/YCbCr; Y_9 is MSB and Y_0 is LSB.
For the 8-bit mode, the two LSBs are ignored. Unused outputs can be left unconnected.
Fast-switch (blanking) input. Switching signal between the synchronous component video
Programmable general-purpose I/O
Genlock control output (GLCO)
During reset, this terminal is an input used to program the I2C address LSB.
Figure 2-1 shows a functional diagram of the analog processors and ADCs. This block provides the
analog interface to all video inputs. It accepts up to ten inputs and performs source selection, video
clamping, video amplification, A/D conversion, and gain and offset adjustments to center the digitized
video signal.
The TVP5146M2 decoder has four analog channels that accept up to ten video inputs. The user can
configure the internal analog video switches via the I2C interface. The ten analog video inputs can be used
for different input configurations, some of which are:
•Up to ten selectable individual composite video inputs, as well as other combinations of YPbPr,
S-Video, and SCART can be supported (see Table 2-12)
The input selection is performed by the input select register at I2C subaddress 00h (see Table 2-12).
2.1.2Analog 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 TVP5146M2 decoder.
2.1.3Automatic Gain Control
The TVP5146M2 decoder uses four programmable gain amplifiers (PGAs), one per channel. The PGA
can scale a signal with a voltage-input compliance of 0.5 VPPto 2 VPPto a full-scale 10-bit A/D output
code range. A 4-bit code sets the coarse gain with individual adjustment per channel. Minimum gain
corresponds to a code 0x0 (2-VPP full-scale input, –6-dB gain) while maximum gain corresponds to code
0xF (0.5-VPP full scale, +6-dB gain). The TVP5146M2 decoder also has 12-bit fine gain controls for each
channel and applies them independently to coarse gain controls. For composite video, the input video
signal amplitude can vary significantly from the nominal level of 1 VPP. The TVP5146M2 decoder can
adjust its PGA setting automatically: an 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 TVP5146M2 decoder can read the gain currently being used.
SLES141F–JULY 2005–REVISED NOVEMBER 2010
The TVP5146M2 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
TVP5146M2 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, respectively.
2.1.4ADCs
All ADCs have a resolution of 11 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.
2.2Digital Video Processing
Figure 2-2 is a block diagram of the TVP5146M2 digital video decoder processor. This processor receives
digitized video signals from the ADCs and performs composite processing for CVBS and S-Video inputs,
YCbCr signal enhancements for CVBS and S-Video inputs, and YPbPr/RGB processing for component
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.
www.ti.com
Figure 2-2. Digital Video Processing Block Diagram
2.2.12x Decimation Filter
All input signals are oversampled by a factor of two (27 MHz). The A/D outputs first 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.2Composite Processor
Figure 2-3 is a block diagram of the TVP5146M2 digital composite video processing circuit. This 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.
High filter bandwidth preserves sharp color transitions and produces crisp color boundaries. However, for
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.
www.ti.com
Figure 2-4. Color Low-Pass Filter FrequencyFigure 2-5. Color Low-Pass Filter With Filter
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, 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. Adaptive comb filtering is the recommended mode of operation.
SLES141F–JULY 2005–REVISED NOVEMBER 2010
Figure 2-6. Chroma Trap Filter Frequency Response, Figure 2-7. Chroma Trap Filter Frequency Response,
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. High-frequency components of the luminance
signal are enhanced by a peaking filter (sharpness). Figure 2-9 shows the characteristics of the peaking
filter at four different gain settings that are programmable via the host port.
CTI enhances horizontal color transients by delay modulation for both color difference signals. The
operation must be performed only on YCbCr-formatted data. The color difference signal transition points
are maintained, but the edges are enhanced for signals that have bandwidth-limited color components (for
example, CVBS and S-Video).
The component video processing block supports a user-selectable contrast, brightness, and saturation
adjustment in YCbCr output formats. For YCbCr output formats, gain and offset values are applied to the
luma data path to map the pixel values to the correct output range (for 10-bit Y
and to provide a means of adjusting contrast and brightness. For Y, digital contrast (gain) and brightness
(offset) factors can vary from 0 to 255. The contrast control adjusts the amplitude range of the Y output
centered at the midpoint of the output code range. The limit block limits the output to the ITU-R BT.601
range (Y
For CbCr components, a saturation (gain) factor is applied to the CbCr inputs to map them to the CbCr
output code range and provide saturation control. Similarly, the limit block can limit CbCr outputs to a valid
range:
Cb,Cr
to Y
min
= 64 / Cb,Cr
min
) or an extended range, depending on a user setting.
max
Figure 2-10. Y Component Gain, Offset, Limit
= 960
max
SLES141F–JULY 2005–REVISED NOVEMBER 2010
= 64 and Y
min
max
= 940),
Figure 2-11. CbCr Component Gain, Offset, Limit
2.2.6Color Space Conversion
The formulas for RGB to YCbCr conversion are given as:
Y = 0.299 × R + 0.587 × G + 0.114 × B
Cb = –0.172 × R – 0.339 × G + 0.511 × B + 512
Cr = 0.511 × R – 0.428 × G – 0.083 × B + 512
2.3Clock Circuits
An internal line-locked PLL generates the system and pixel clocks. A 14.31818-MHz clock is required to
drive the PLL. This can be input to the TVP5146M2 decoder at the 1.8-V level on terminal 74 (XTAL1), or
a crystal of 14.31818-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-12, then the external capacitors must
have the following relationship:
CL1= CL2= 2CL− C
Where,
C
is the terminal capacitance with respect to ground
STRAY
CLis the crystal load capacitance specified by the crystal manufacturer
Figure 2-12 shows the reference clock configurations. The TVP5146M2 decoder generates the DATACLK
Although the TVP5146M2 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 from the following equation:
The TVP5146M2 decoder supports the SCART interface used in European audio/video end equipment to
carry composite video, S-Video, and RGB video on the same cable. If composite video and RGB video are
present simultaneously on the video terminals assigned to a SCART interface, the TVP5146M2 decoder
assumes they are pixel synchronous to each other. The timing for both composite video and RGB video is
obtained from the composite source, and its derived clock is used to sample RGB video as well. The
fast-switch input terminal allows switching between these two input video sources on a pixel-by-pixel
basis. The fast switch is a hard switch; there is no alpha blending between both sources.
2.5.2Separate Syncs
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 in Figure 2-14 and Figure 2-15. FID changes at the same transient time when the
trailing edge of vertical sync occurs. The polarity of FID is programmable by an I2C interface.
Standards with embedded syncs insert the SAV 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 EAV. 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:
Preamble1111111111
Preamble0000000000
Preamble0000000000
Status word1FVHP3P2P1P000
P3 = V xor H; P2 = F xor H; P1 = F xor V; P0 = F xor V xor H
Communication with the TVP5146M2 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 an I2C system can be multimastered, the TVP5146M2 decoder functions as a slave
device only.
Because SDA and SCL are kept open drain at a logic-high output level or when the bus is not driven, the
user must connect SDA and SCL to a positive supply voltage via a pullup resistor on the board. The slave
addresses select signal, terminal 37 (I2CA), enables the use of two TVP5146M2 devices tied to the same
I2C bus, because it controls the least-significant bit of the I2C device address.
SCLI/OInput/output clock line
SDAI/OInput/output data line
2.6.1Reset and I2C Bus Address Selection
The TVP5146M2 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 TVP5146M2 decoder samples the level of
terminal 37 at power up or at the trailing edge of RESETB and configures the I2C bus address bit A0.
www.ti.com
Table 2-5. I2C Address Selection
A6A5A4A3A2A1A0 (I2CA)R/WHEX
1011100 (default)1/0B9/B8
1011101
(1) If terminal 37 is strapped to DVDD via a 2.2-kΩ resistor, I2C device address A0 is set to 1.
(1)
1/0BB/BA
2.6.2I2C Operation
Data transfers occur using the following illustrated formats.
S = I2C bus start condition
P = I2C 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.
I2C bus address = Example shown that I2CA is in default mode [write (B8h), read (B9h)]
ACK = Acknowledge generated by the slave
NAK = No Acknowledge generated by the master
TVP5146M2
www.ti.com
2.6.3VBUS Access
The TVP5146M2 decoder has additional internal registers accessible through an indirect access to an
internal 24-bit address wide VBUS. Figure 2-19 shows the VBUS register access.
The TVP5146M2 decoder requires delays in the I2C accesses to accommodate the internal processor
timing. In accordance with I2C specifications, the TVP5146M2 decoder holds the I2C clock line (SCL) low
to indicate the wait period to the I2C master. If the I2C master is not designed to check for the I2C clock
line held-low condition, then the maximum delays must always be inserted where required. These delays
are of variable length; maximum delays are indicated in the following diagram:
The TVP5146M2 VDP slices various data services such as 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
(EPG or 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 VBI data
standard(s) in 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 its high data bandwidth, the teletext results are stored in FIFO only. The TVP5146M2 decoder provides
fully decoded V-Chip data to the dedicated registers at subaddresses 800540h to 800543h (see
Table 2-115 through Table 2-118).
www.ti.com
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
WSS-CGMSPAL23 (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 (Field 2)2
Gemstar 1xNTSC2
Gemstar 2xNTSC5 with frame byte
UserAnyProgrammableProgrammable
Sliced VBI data can be output as ancillary data in the video stream in ITU-R BT.656 mode. VBI data is
output on the Y_[9:2] terminals during the horizontal blanking period. Table 2-7 shows the header format
and sequence of the ancillary data inserted into the video stream. This format is also used to store any
VBI data into the FIFO. The size of the FIFO is 512 bytes. Therefore, the FIFO can store up to 11 lines of
teletext data with the NTSC NABTS standard.
Table 2-7. Ancillary Data Format and Sequence
BYTE NO.D6D5D4D3D2D1DESCRIPTION
000000000
111111111Ancillary data preamble
211111111
3NEPEP010DID2DID1DID0Data ID (DID)
4NEPEPF5F4F3F2F1F0Secondary data ID (SDID)
5NEPEPN5N4N3N2N1N0Number of 32 bit data (NN)
6Video line # [7:0]Internal data ID0 (IDID0)
7000Data error Match #1Match #2Video line # [9:8]Internal data ID1 (IDID1)
81. DataData byte1st word
EP:Even parity for D0-D5
NEP:Negated even parity
DID:91h: Sliced data of VBI lines of first field
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
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. This value is the number of Dwords where each Dword is 4 bytes.
IDID0:Transaction video line number [7:0]
IDID1:Bit 0/1 = Transaction video line number [9:8]
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.
CS:Sum of D0-D7 of DID through last data byte
Fill byte:Fill bytes make a multiple of four bytes from byte 0 to last fill byte. For teletext modes, byte 8 is the sync pattern byte. Byte 9 is
The TVP5146M2 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 TVP5146M2 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
BYTED9D0
NO.(MSB)(LSB)
00000000000
11111111111
21111111111
30110000000
41. Data
52. Data
⋮⋮
n-1n-5. Data
nn-4. Data
D8D7D6D5D4D3D2D1DESCRIPTION
www.ti.com
VBI raw data preamble
2× pixel rate luma data
(i.e., NTSC 601: n = 1707)
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 TVP5146M2 terminals during and immediately after reset.
NOTE: All times shown are minimum values. Maximum time between 1.8 V and 3.3 V should be no longer than 1 second.
TVP5146M2
www.ti.com
TI recommends the following power-up sequence.
The following register writes must be made before normal operation of the device.
Figure 2-20. Reset Timing
STEP
10x030x01
20x030x00
I2CI2C
SUBADDRESSDATA
SLES141F–JULY 2005–REVISED NOVEMBER 2010
When using the TVP5146M2I over the industrial (−40°C to 85°C) temperature range, the following register
writes are required following device power up and RESETB to write 0x14 to VBUS register 0xA00014.
This setup is optional when using the TVP5146M2 over the commercial (0°C to 70°C) temperature range.
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).
The TVP5146M2 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 TVP5146M2 is
through a standard I2C host port interface, as previously described. Table 2-10 shows the summary of
these registers. Detailed programming information for each register is described in the following sections.
Additional registers are accessible through an indirect procedure involving access to an internal 24-bit
address wide VBUS. Table 2-11 shows the summary of the VBUS registers.
NOTE
Do not write to reserved registers. Reserved bits in any defined register must be written with
zeros, unless otherwise noted.
Table 2-10. I2C Register Summary
REGISTER NAMEDEFAULTR/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
Component Pr saturation10h80hR/W
Component Y contrast11h80hR/W
Component Pb saturation12h80hR/W
Reserved13h
Component Y brightness14h80hR/W
Reserved15h
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
VBLK start line22h-23h001hR/W
VBLK stop line24h-25h015hR/W
Embedded Sync Offset Control 126h00hR/W
Embedded Sync Offset Control 227h00hR/W
(1)
I2C
SUBADDRESS
(1) R = Read only, W = Write only, R/W = Read and write
Reserved register addresses must not be written to.
Fast-switch control28hCChR/W
Reserved29h
Fast-switch SCART delay2Ah00hR/W
Reserved2Bh
SCART delay2Ch00hR/W
CTI delay2Dh00hR/W
CTI control2Eh00hR/W
Brightness and Contrast Range Extender2Fh00hR/W
Reserved30h-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-45hR
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 Pb_B4Ah-4Bh900hR/W
AFE fine gain for Y_G_Chroma4Ch-4Dh900hR/W
AFE fine gain for Pr_R4Eh-4Fh900hR/W
AFE fine gain for CVBS_Luma50h-51h900hR/W
Reserved52h-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
F-bit and V-bit control 275h16hR/W
VCR trick mode control76h8AhR/W
Horizontal shake increment77h64hR/W
AGC increment speed78h05hR/W
AGC increment delay79h1EhR/W
Ten input terminals can be configured to support composite, S-Video, and component YPbPr or SCART as listed in Table 2-13. Users must
follow this table properly for S-Video and component applications because only the terminal configurations listed in Table 2-13 are
supported.
Table 2-13. Analog Channel and Video Mode Selection
Bit 3:1b must be written to this bit
Bit 2:1b must be written to this bit
AGC chroma:
Controls automatic gain in the chroma/B/R/PbPr channel:
0 = Manual (if AGC luma is set to manual, AGC chroma is forced to be in manual)
1 = Enabled auto gain, applies 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 affect only the analog front-end (AFE). The brightness and contrast controls are not affected by these settings.
Table 2-15. Video Standard Register
Subaddress02h
Default00h
76543210
ReservedVideo standard [2:0]
With the autoswitch code running, the user can force the decoder to operate in a particular video standard mode by writing the appropriate
value into this register. Changing these bits causes the register settings to be reinitialized.
00 = Adaptive (default)
01 = Reserved
10 = Fast
00 = Normal
When in the Normal mode, the horizontal PLL (H-PLL) response time is set to its slowest setting. This mode improves noise immunity
and provides a more stable output line frequency for standard TV signal sources (for example, TV tuners, DVD players, video
surveillance cameras, etc.).
When in the Fast mode, the H-PLL response time is set to its fastest setting. This mode enables the H-PLL to respond more quickly to
large variations in the horizontal timing (for example, VCR head switching intervals). This mode is recommended for VCRs and also
cameras locked to the AC power-line frequency.
When in the Adaptive mode, the H-PLL response time is automatically adjusted based on the measured horizontal phase error. In this
mode, the H-PLL response time typically approaches its slowest setting for most standard TV signal sources and approaches its fastest
setting for most VCR signal sources.
Power save
0 = Normal operation (default)
1 = Power save mode. Reduces the clock speed of the internal processor and switches off the ADCs. I2C interface is active and all
Table 2-19. Luminance Processing Control 1 Register
Subaddress06h
Default00h
76543210
ReservedPedestal notReservedVBI 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 = Disable (default)
1 = Enable
During the duration of the vertical blanking as defined by VBLK start and stop registers 22h through 25h, the chroma samples are
replaced by luma samples. This feature may be used to support VBI processing performed by an external device during the vertical
blanking interval. To use this bit, the output format must be the 10-bit ITU-R BT.656 mode.
Table 2-21. Luminance Processing Control 3 Register
Subaddress08h
Default02h
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 stopband of the chroma trap filter is centered at the chroma subcarrier frequency with the stopband bandwidth controlled
by the two control bits.
Trap filter stop band bandwidth (MHz):
Filter select [1:0]NTSC ITU-R 601PAL ITU-R 601
001.21291.2129
010.87010.8701
10 (default)0.71830.7383
110.50100.5010
www.ti.com
Table 2-22. Luminance Brightness Register
Subaddress09h
Default80h
76543210
Brightness [7:0]
Brightness [7:0]:
This register works for CVBS and S-Video luminance. See subaddress 2Fh.
0000 0000 = 0 (dark)
1000 0000 = 128 (default)
1111 1111 = 255 (bright)
For composite and S-Video outputs, the output black level relative to the nominal black level (64 out of 1024) as a function of the
This register works for CVBS and S-Video luminance. See subaddress 2Fh.
0000 0000 = 0 (minimum contrast)
1000 0000 = 128 (default)
1111 1111 = 255 (maximum contrast)
For composite and S-Video outputs, the total luminance gain relative to the nominal luminance gain as a function of the Contrast [7:0]
Where MCis the contrast multiplier setting in the Brightness and Contrast Range Extender register at I2C subaddress 2Fh.
Table 2-24. Chrominance Saturation Register
Subaddress0Bh
Default80h
76543210
Saturation [7:0]
Saturation [7:0]:
This register works for CVBS and S-Video chrominance.
0000 0000 = 0 (no color)
1000 0000 = 128 (default)
1111 1111 = 255 (maximum)
For composite and S-Video outputs, the total chrominance gain relative to the nominal chrominance gain as a function of the Saturation
[7:0] setting is as follows.
Chrominance Gain = (nominal_chrominance_gain) × (Saturation [7:0] / 128)
Table 2-25. Chroma Hue Register
Subaddress0Ch
Default00h
76543210
Hue [7:0]
Hue [7:0]:
Does not apply to a component or SECAM video. This register works for CVBS and S-Video chrominance.
0111 1111 = +180 degrees
0000 0000 = 0 degrees (default)
1000 0000 = –180 degrees
See Figure 2-6 and Figure 2-7 for characteristics.
www.ti.com
Table 2-28. Component Pr Saturation Register
Subaddress10h
Default80h
76543210
Pr saturation [7:0]
Pr saturation [7:0]:
This register works only with YPbPr component video. For RGB video, use the AFE gain registers.
0000 0000 = minimum
1000 0000 = default
1111 1111 = maximum
For component video, the total Pr gain relative to the nominal Pr gain as a function of the Pr saturation [7:0] setting is as follows:
Pr Gain = (nominal_chrominance_gain) × (Pr saturation [7:0] / 128)
This register works only with YPbPr component video. For RGB video, use the AFE gain registers.
0000 0000 = minimum
1000 0000 = default
1111 1111 = maximum
For component video outputs, the total luminance gain relative to the nominal luminance gain as a function of the Y contrast [7:0] is as
follows:
Y Gain = (nominal_luminance_gain) × (Y contrast [7:0] / 128)
Table 2-30. Component Pb Saturation Register
Subaddress12h
Default80h
76543210
Pb saturation [7:0]
Pb saturation:
This register works only with YPbPr component video. For RGB video, use the AFE gain registers.
0000 0000 = minimum
1000 0000 = default
1111 1111 = maximum
For component video, the total Pb gain relative to the nominal Pb gain as a function of the Pb saturation [7:0] setting is as follows:
Pb Gain = (nominal_chrominance_gain) × (Pb saturation [7:0] / 128)
Table 2-31. Component Y Brightness Register
Subaddress14h
Default80h
76543210
Y brightness [7:0]
Y brightness:
This register works only with YPbPr component video. For RGB video, use the AFE gain registers.
0000 0000 = minimum
1000 0000 = default
1111 1111 = maximum
For component video, the output black level relative to the nominal black level (64 out of 1024) as a function of Y brightness [7:0] is as
follows:
Black Level = nominal_black_level + (Y brightness [7:0] – 128)
0 = AVID out active in VBLK (default)
1 = AVID out inactive in VBLK
AVID start [9:0]:
AVID start pixel number, this is an absolute pixel location from HSYNC start pixel 0.
NTSC 601 default: is 85 (55h)
PAL 601 default: is 95 (5Fh)
The TVP5146M2 decoder updates the AVID start only when the AVID start MSB byte is written to. If the user changes these registers,
the TVP5146M2 decoder retains values in different modes until this decoder resets. The AVID start pixel register also controls the
position of the SAV code.
Table 2-33. AVID Stop Pixel Register
Subaddress18h-19h
Default325h
Subaddress76543210
18hAVID stop [7:0]
19hReservedAVID stop [9:8]
AVID stop [9:0]:
AVID stop pixel number. The number of pixels of active video must be an even number. This is an absolute pixel location from HSYNC
start pixel 0.
NTSC 601 default: 805 (325h)
PAL 601 default: 815 (32Fh)
The TVP5146M2 decoder updates the AVID stop only when the AVID stop MSB byte is written to. If the user changes these registers,
the TVP5146M2 decoder retains values in different modes until this decoder resets. The AVID start pixel register also controls the
position of the EAV code.
www.ti.com
Table 2-34. HSYNC 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 TVP5146M2 decoder updates the HSYNC start only when the HSYNC start MSB byte is written to. If the user changes these
registers, the TVP5146M2 decoder retains values in different modes until this decoder resets.
This is an absolute pixel location from HSYNC start pixel 0.
The TVP5146M2 decoder updates the HSYNC stop only when the HSYNC Stop MSB byte is written to. If the user changes these
registers, the TVP5146M2 decoder retains values in different modes until this decoder resets.
Table 2-36. VSYNC Start Line Register
Subaddress1Eh-1Fh
Default004h
Subaddress76543210
1EhVSYNC start [7:0]
1FhReservedVSYNC start [9:8]
VSYNC start [9:0]:
This is an absolute line number.
The TVP5146M2 decoder updates the VSYNC start only when the VSYNC start MSB byte is written to. If the user changes these
registers, the TVP5146M2 decoder retains values in different modes until this decoder resets.
NTSC default: 004h
PAL default: 001h
Table 2-37. VSYNC 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 TVP5146M2 decoder updates the VSYNC stop only when the VSYNC stop MSB byte is written to. If the user changes these
registers, the TVP5146M2 decoder retains values in different modes until this decoder resets.
NTSC default: 007h
PAL default: 004h
Table 2-38. VBLK 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 TVP5146M2 decoder updates the VBLK start line only when the VBLK start MSB byte is written to. If the user changes these
registers, the TVP5146M2 decoder retains values in different modes until this decoder resets.
NTSC default: 1 (001h)
PAL default: 623 (26Fh)
This is an absolute line number.
The TVP5146M2 decoder updates the VBLK stop only when the VBLK stop MSB byte is written to. If the user changes these registers,
the TVP5146M2 decoder retains values in different modes until this decoder resets.
NTSC default: 21 (015h)
PAL default: 23 (017h)
Table 2-40. Embedded Sync Offset Control 1 Register
Subaddress26h
Default00h
76543210
Offset [7:0]
This register allows the line position of the embedded F bit and V bit signals to be offset from the 656 standard positions. This register is
only applicable to input video signals with standard number of lines.
0111 1111 = 127 lines
⋮
0000 0001 = 1 line
0000 0000 = 0 line
1111 1111 = –1 line
⋮
1000 0000 = –128 lines
Table 2-41. Embedded Sync Offset Control 2 Register
Subaddress27h
Default00h
76543210
Offset [7:0]
This register allows the line relationship between the embedded F bit and V bit signals to be offset from the 656 standard positions and
moves F relative to V. This register is only applicable to input video signals with standard number of lines.
0111 1111 = 127 lines
⋮
0000 0001 = 1 line
0000 0000 = 0 line
1111 1111 = –1 line
4-bit CTI coring limit control values, unsigned, linear control range from 0 to ±60, step size = 4
1111 = ±60
⋮
0001 = ±4
0000 = 0 (default)
CTI gain [3:0]:
4-bit CTI gain control values, unsigned, linear control range from 0 to 15/16, step size = 1/16
1111 = 15/16
⋮
0001 = 1/16
0000 = 0 (default)
www.ti.com
Table 2-47. Brightness and Contrast Range Extender Register
Subaddress2Fh
Default00h
76543210
ReservedContrastBrightness multiplier [3:0]
Contrast multiplier (MC):
Increases the contrast control range for composite and S-Video modes.
0 = 2x contrast control range (default), Gain = n/64 – 1 where n is the contrast control and 64 ≤ n ≤ 255
1 = Normal contrast control range, Gain = n/128 where n is the contrast control and 0 ≤ n ≤ 255
Brightness multiplier [3:0] (MB):
Increases the brightness control range for composite and S-Video modes from 1x to 16x.
0h = 1x
1h = 2x
3h = 4x
7h = 8x
Fh = 16x
Note: In general, the brightness multiplier should be set to 0h for 10-bit outputs and 3h for 8-bit outputs
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)
000 = 10-bit 4:2:2 (pixel x 2 rate) with embedded syncs (ITU-R BT.656) (default)
001 = 20-bit 4:2:2 (pixel rate) with separate syncs
010 = Reserved
011 = 10-bit 4:2:2 with separate syncs
100-111 = Reserved
Note: 10-bit mode is also used for the raw VBI output mode when bit 4 (VBI raw) in the luminance processing control 1 register at
subaddress 06h is set (see Table 2-19).
Y_[9:0] and C_[9:0] output enable
0 = Y_[9:0] and C_[9:0] high-impedance (default)
1 = Y_[9:0] and C_[9:0] active
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
Table 2-51. Output Formatter Control 3 Register
Subaddress35h
DefaultFFh
76543210
FSS [1:0]AVID [1:0]GLCO [1:0]FID [1:0]
FSS [1:0]:
FSS terminal function select
00 = FSS is logic 0 output
01 = FSS is logic 1 output
10 = Reserved
11 = FSS 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 = GLCO is genlock output
11 = GLCO 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)
VS terminal function select
00 = VS is logic 0 output
01 = VS 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 Table 2-48)
11 = VS is logic input (default)
HS/CS [1:0]:
HS terminal function select
00 = HS is logic 0 output
01 = HS 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 Table 2-48)
11 = HS is logic input (default)
C_1 [1:0]:
C_1 terminal function select
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)
Note: C_x functions are available only in the 10-bit output mode.
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)
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)
Table 2-55. Clear 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 Table 2-56)
0 = No effect (default)
1 = Clears bit 4 in the status 1 register
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.
1111 1111 1111 = 1.9995
1000 0000 0000 = 1
0010 0000 0000 = 0.5
Coarse gain [3:0]:
This register provides the coarse gain value of sync channel.
1111 = 2
0101 = 1
0000 = 0.5
The AGC gain status register is updated automatically by the TVP5146M2 decoder when AGC is on. In manual gain control mode, these
register values are not updated by the TVP5146M2 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.
Table 2-60. GPIO Input 1 Register
Subaddress40h
Read only
76543210
C_7C_6C_5C_4C_3C_2C_1C_0
C_x input status:
0 = Input is low
1 = Input is high
These status bits are valid only when terminals are used as inputs and are updated at every line.
This fine gain applies to component B/Pb.
Fine Gain = (1/2048) × FGAIN 1, where 0 ≤ FGAIN 1 ≤ 4095
This register is only updated when the MSB (register 4Bh) is written to.
This register works only in manual gain control mode. When AGC is active, writing to any value is ignored.
1111 1111 1111 = 1.9995
1100 0000 0000 = 1.5
1001 0000 0000 = 1.125 (default)
1000 0000 0000 = 1
0100 0000 0000 = 0.5
0011 1111 1111 to 0000 0000 0000 = Reserved
Table 2-68. AFE Fine Gain for Y_G_Chroma Register
Subaddress4Ch-4Dh
Default900h
Subaddress76543210
4ChFGAIN 2 [7:0]
4DhReservedFGAIN 2 [11:8]
FGAIN 2 [11:0]:
This gain applies to component Y/G channel or S-video chroma.
Fine_Gain = (1/2048) × FGAIN 2, where 0 ≤ FGAIN 2 ≤ 4095
This register works only in manual gain control mode. When AGC is active, writing to any value is ignored.
1111 1111 1111 = 1.9995
1100 0000 0000 = 1.5
1001 0000 0000 = 1.125 (default)
1000 0000 0000 = 1
0100 0000 0000 = 0.5
0011 1111 1111 to 0000 0000 0000 = Reserved
www.ti.com
Table 2-69. AFE Fine Gain for Pr_R Register
Subaddress4Eh-4Fh
Default900h
Subaddress76543210
4EhFGAIN 3 [7:0]
4FhReservedFGAIN 3 [11:8]
FGAIN 3 [11:0]:
This fine gain applies to component Pb/B.
Fine_Gain = (1/2048) × FGAIN 3, where 0 ≤ FGAIN 3 ≤ 4095
This register works only in manual gain control mode. When AGC is active, writing to any value is ignored.
1111 1111 1111 = 1.9995
1100 0000 0000 = 1.5
1001 0000 0000 = 1.125 (default)
1000 0000 0000 = 1
0100 0000 0000 = 0.5
0011 1111 1111 to 0000 0000 0000 = Reserved
Fine_Gain = (1/2048) × FGAIN 4, where 0 ≤ FGAIN 4 ≤ 4095
This register works only in manual gain control mode. When AGC is active, writing to any value is ignored.
1111 1111 1111 = 1.9995
1100 0000 0000 = 1.5
1001 0000 0000 = 1.125 (default)
1000 0000 0000 = 1
0100 0000 0000 = 0.5
0011 1111 1111 to 0000 0000 0000 = Reserved
Table 2-71. F-Bit and V-Bit Decode 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:
00 = Auto mode. If lines per frame is standard decoded F and V bits as per ITU−R BT. 656 standard from line count, 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:
1111ReservedReservedReservedReservedReserved
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 the F-bit transition, then low after nine lines
Reserved = Not used
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 when 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 the 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
Table 2-73. AGC Decrement Speed Register
Subaddress6Fh
Default04h
76543210
ReservedAGC decrement speed [2:0]
AGC decrement speed:
Adjusts gain decrement speed. Only used for composite/luma peaks.
111 = 7 (slowest)
110 = 6 (default)
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 front-end feedback type AGC algorithm
0 = Enabled (default)
1 = Disabled
Composite peak:
Use of the composite peak as a video amplitude reference for front-end feedback type AGC algorithm
Note: Required for CVBS and SCART (with color burst) video sources.
0 = Enabled (default)
1 = Disabled
Color burst B:
Use of the color burst amplitude as a video amplitude reference for 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 front-end feedback type AGC algorithm
0 = Enabled (default)
1 = Disabled
Note: If all 4 bits of the lower nibble are set to logic 1 (that is, no amplitude reference selected), then the front-end analog and digital
gains are automatically set to nominal values of 2 and 2304, respectively.
If all 4 bits of the upper nibble are set to logic 1 (that is, no amplitude reference selected), then the back-end gain is set automatically to
unity.
If the input sync height is greater than 100% and the AGC-adjusted output video amplitude becomes less than 100%, then the back-end
scale factor attempts to increase the contrast in the back end to restore the video amplitude to 100%.
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
StandardITU-R BT 656ITU-R BT 656
00Nonstandard evenForced to 1Switch at field boundary
Color PLL speed control
1001 = Faster (default)
1010 =
1011 = Slower
Other = Reserved
Table 2-84. Status Request Register
Subaddress97h
Default00h
76543210
ReservedCapture
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. Because 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.
Table 2-85. Vertical Line Count Register
Subaddress9Ah-9Bh
Read only
Subaddress76543210
9AhVertical line [7:0]
9BhReservedVertical line [9:8]
Vertical line [9:0]:
Represent 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.
Because 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. 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.
Table 2-86. AGC Decrement Delay Register
Subaddress9Eh
Default1Eh
76543210
AGC decrement delay [7:0]
AGC decrement delay:
Number of frames to delay gain decrements
1111 1111 = 255
0001 1110 = 30 (default)
0000 0000 = 0
For an NABTS system, the packet prefix consists of five bytes. Each byte contains four data bits (D[3:0]) interlaced with four 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 the 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 hamming protection bits.
For a WST system (PAL or NTSC), the packet prefix consists of two bytes. The two bytes contain three bits of magazine number (M[2:0])
and five bits of row address (R[4:0]), interlaced with eight Hamming protection bits H[7:0]:
The mask bits enable filtering using the corresponding bit in the pattern register. For example, a 1 in the LSB of mask 1 means that the filter
module must compare the LSB of nibble 1 in the pattern register to the first data bit on the transaction. If these match, then a true result is
returned. A 0 in a bit of mask means that the filter module must ignore that data bit of the transaction. If all 0s are programmed in the mask
bits, then the filter matches all patterns returning a true result (default 00h).
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.
Table 2-91. VDP FIFO Reset Register
SubaddressBFh
Default00h
76543210
ReservedFIFO reset
FIFO reset:
Writing any data to this register clears the FIFO and VDP data registers (CC, WSS/CGMS, VITC, and VPS/Gemstar). After clearing
them, this register is automatically cleared.
Table 2-92. VDP FIFO Output Control Register
SubaddressC0h
Default00h
76543210
ReservedHost access
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
Interrupt line number (default 00h)
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 zero or one is invalid and does not generate an interrupt.
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.
Table 2-95. VDP Line Start Register
SubaddressD6h
Default06h
76543210
VDP line start [7:0]
VDP line start [7:0]:
Sets the VDP line starting address
This register must be set properly before enabling the line mode registers. VDP processor works only in the VBI region set by this
register and the VDP line stop register at subaddress D7h.
www.ti.com
Table 2-96. VDP Line Stop Register
SubaddressD7h
Default1Bh
76543210
VDP line stop [7:0]
VDP line stop [7:0]:
Sets the VDP stop line address
Table 2-97. VDP 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 definitions as the line mode registers (see Table 2-119).
General line mode has priority over the global line mode.
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.
Table 2-99. VDP 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.
Table 2-100. VBUS 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.
Table 2-101. VBUS Data Access With VBUS Address Increment Register
SubaddressE1h
Default00h
76543210
VBUS data [7:0]
VBUS data [7:0]:
VBUS data register for VBUS multi-byte read/write transaction. VBUS address is auto-incremented after each data byte read/write.
Table 2-102. FIFO 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 host port. 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, bit 0 (host access enable) in the VDP FIFO output control register at subaddress C0h must be set to 1 (see Table 2-92).
VBUS is a 24-bit wide internal bus. The user must program in these registers the 24-bit address of the internal register to be accessed
via host port indirect access mode.
Table 2-104. Interrupt Raw Status 0 Register
SubaddressF0h
Read only
76543210
FIFO THRSTTXWSS/CGMSVPS/GemstarVITCCC F2CC F1Line
The host Interrupt Raw Status 0 and Interrupt Raw Status 1 registers represent the interrupt status without applying mask bits.
See also the interrupt raw status 1 register at subaddress F1h (Table 2-105).
FIFO THRS:
unmasked
0 = Macrovision status unchanged
1 = Macrovision status changed
Standard changed:
unmasked
0 = Video standard unchanged
1 = Video standard changed
FIFO full:
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, 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, this goes into the FIFO even if the full
error flag is set.
FIFO THRSTTXWSS/CGMSVPS/GemstarVITCCC F2CC F1Line
Interrupt Status 0 and Interrupt Status 1 (see Table 2-107) 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 the Interrupt Clear 0 and Interrupt Clear 1 registers.
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:
Masked status of FIFO
0 = FIFO not full
1 = FIFO was full during write to FIFO, see the interrupt mask 1 register at subaddress F5h for details (see Table 2-109)
FIFO THRSTTXWSS/CGMSVPS/GemstarVITCCC F2CC F1Line
The host Interrupt Mask 0 and Interrupt Mask 1 (see Table 2-109) registers can be used by the external processor to mask unnecessary
interrupt sources for the Interrupt Status 0 and Interrupt Status 1 register bits, and for the external interrupt terminal. The external interrupt
is generated from all nonmasked interrupt flags.
FIFO THRSTTXWSS/CGMSVPS/GemstarVITCCC F2CC F1Line
The host Interrupt Clear 0 and Interrupt Clear 1 (see Table 2-111) registers are used by the external processor to clear the interrupt status
bits in the host Interrupt Status 0 and Interrupt Status 1 registers. When no nonmasked interrupts remain set in the registers, the external
interrupt terminal also becomes inactive.
FIFO THRS:
FIFO threshold passed clear
0 = No effect (default)
1 = Clear FIFO_THRES bit in status register 0 bit 7
TTX:
Teletext data available clear
0 = No effect (default)
1 = Clear TTX available bit in status register 0 bit 6
WSS/CGMS:
WSS/CGMS data available clear
0 = No effect (default)
1 = Clear WSS/CGMS available bit in status register 0 bit 5
VPS/Gemstar:
VPS/Gemstar data available clear
0 = No effect (default)
1 = Clear VPS/Gemstar available bit in status register 0 bit 4
VITC:
VITC data available clear
0 = Disabled (default)
1 = Clear VITC available bit in status register 0 bit 3
CC F2:
CC field 2 data available clear
0 = Disabled (default)
1 = Clear CC field 2 available bit in status register 0 bit 2
CC F1:
CC field 1 data available clear
0 = Disabled (default)
1 = Clear CC field 1 available bit in status register 0 bit 1
LINE:
Line number interrupt clear
0 = Disabled (default)
1 = Clear Line interrupt available bit in status register 0 bit 0
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
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.
Table 2-113. VDP WSS Data Register
Subaddress80 0520h - 80 0526h
Read only
WSS/CGMS NTSC (CGMS)
Subaddress76543210Byte
80 0520hb5b4b3b2b1b0WSS/CGMS Field 1 Byte 1
80 0521hb13b12b11b10b9b8b7b6WSS/CGMS Field 1 Byte 2
80 0522hb19b18b17b16b15b14WSS/CGMS Field 1 Byte 3
80 0523hReserved
80 0524hb5b4b3b2b1b0WSS/CGMS Field 2 Byte 1
80 0525hb13b12b11b10b9b8b7b6WSS/CGMS Field 2 Byte 2
80 0526hb19b18b17b16b15b14WSS/CGMS Field 2 Byte 3
These registers contain the wide screen signaling data for NTSC.
Bits 0 to 1 represent word 0, aspect ratio
Bits 2 to 5 represent word 1, header code for word 2
Bits 6 to 13 represent word 2, copy control
Bits 14 to 19 represent word 3, CRC
www.ti.com
WSS/CGMS PAL/SECAM
Subaddress76543210Byte
80 0520hb7b6b5b4b3b2b1b0WSS/CGMS Field 1 Byte 1
80 0521hb13b12b11b10b9b8WSS/CGMS Field 1 Byte 2
80 0522hReserved
80 0523hReserved
80 0524hb7b6b5b4b3b2b1b0WSS/CGMS Field 2 Byte 1
80 0525hb13b12b11b10b9b8WSS/CGMS Field 2 Byte 2
80 0526hReserved
These registers contain the wide screen signaling data for PAL/SECAM:
Bits 0 to 3 represent Group 1, Aspect Ratio
Bits 4 to 7 represent Group 2, Enhanced Services
Bits 8 to 10 represent Group 3, Subtitles
Bits 11 to 13 represent Group 4, Others
Table 2-115. VDP V-Chip TV Rating Block 1 Register
Subaddress80 0540h
Read only
76543210
Reserved14-DPG-DReservedMA-L14-LPG-LReserved
TV Parental Guidelines Rating Block 3
14-D: When incoming video program is TV-14-D rated, this bit is set high.
PG-D: When incoming video program is TV-PG-D rated, this bit is set high.
MA-L: When incoming video program is TV-MA-L rated, this bit is set high.
14-L: When incoming video program is TV-14-L rated, this bit is set high.
PG-L: When incoming video program is TV-PG-L rated, this bit is set high.
Table 2-116. VDP 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, this bit is set high.
14-S: When incoming video program is TV-14-S rated, this bit is set high.
PG-S: When incoming video program is TV-PG-S rated, this bit is set high.
MA-V: When incoming video program is TV-MA-V rated, this bit is set high.
14-V: When incoming video program is TV-14-V rated, this bit is set high.
PG-V: When incoming video program is TV-PG-S rated, this bit is set high.
Y7-FV: When incoming video program is TV-Y7-FV rated, this bit is set high.
Table 2-117. VDP V-Chip TV Rating Block 3 Register
Subaddress80 0542h
Read only
76543210
NoneTV-MATV-14TV-PGTV-GTV-Y7TV-YNone
TV Parental Guidelines Rating Block 1
None: No block intended
TV-MA: When incoming video program is TV-MA rated in TV Parental Guidelines Rating, this bit is set high.
TV-14: When incoming video program is TV-14 rated in TV Parental Guidelines Rating, this bit is set high.
TV-PG: When incoming video program is TV-PG rated in TV Parental Guidelines Rating, this bit is set high.
TV-G: When incoming video program is TV-G rated in TV Parental Guidelines Rating, this bit is set high.
TV-Y7: When incoming video program is TV-Y7 rated in TV Parental Guidelines Rating, this bit is set high.
TV-Y: When incoming video program is TV-G rated in TV Parental Guidelines Rating, this bit is set high.
Table 2-118. VDP V-Chip MPAA Rating Data Register
Subaddress80 0543h
Read only
76543210
Not RatedXNC-17RPG-13PGGNA
MPAA Rating Block (E5h)
Not Rated: When incoming video program is Not Rated rated in MPAA Rating, this bit is set high.
X: When incoming video program is X rated in MPAA Rating, this bit is set high.
NC-17: When incoming video program is NC-17 rated in MPAA Rating, this bit is set high.
R: When incoming video program is R rated in MPAA Rating, this bit is set high.
PG-13: When incoming video program is PG-13 rated in MPAA Rating, this bit is set high.
PG: When incoming video program is PG rated in MPAA Rating, this bit is set high.
G: When incoming video program is G rated in MPAA Rating, this bit is set high.
N/A: When incoming video program is N/A rated in MPAA Rating, this bit is set high.
over operating free-air temperature range (unless otherwise noted)
IOVDD to IOGND0.54V
DVDD to DGND–0.22V
A33VDD
A18VDD
(2)
to A33GND
(4)
to A18GND
VIto DGNDDigital input voltage range–0.54.5V
VOto DGNDDigital output voltage range–0.54.5V
AINto AGNDAnalog input voltage range–0.22V
T
A
T
stg
(1) 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.
(2) CH1_A33VDD, CH2_A33VDD, CH3_A33VDD, CH4_A33VDD
(3) CH1_A33GND, CH2_A33GND, CH3_A33GND, CH4_A33GND
(4) CH1_A18VDD, CH2_A18VDD, CH3_A18VDD, CH4_A18VDD, A18VDD_REF, PLL_A18VDD
(5) CH1_A18GND, CH2_A18GND, CH3_A18GND, CH4_A18GND
Supply voltage range
(3)
(5)
Operating free-air temperature°C
Storage temperature–65150°C
(1)
MINMAX UNIT
–0.33.6V
–0.22V
Commercial070
Industrial−4085
3.2Recommended Operating Conditions
MINNOMMAX UNIT
IOV
DD
DV
DD
AV
DD33
AV
DD18
V
I(P-P)
V
IH
V
IL
I
OH
I
OL
T
A
(1) Exception: 0.7 AV
(2) Exception: 0.3 AV
(3) Currents out of a terminal are given as a negative number
Supply voltage, digital33.33.6V
Supply voltage, digitalV
Commercial1.651.81.95
Industrial1.71.81.9
Supply voltage, analog33.33.6V
Supply voltage, analogV
Commercial1.651.81.95
Industrial1.71.81.9
Analog input voltage, analog (ac-coupling necessary)0.512V
Input voltage high, digital
Input voltage low, digital
High-level output current
Low-level output currentV
Operating free-air temperature°C
for XTAL1 terminal
DD18
for XTAL1 terminal
DD18
(1)
(2)
(3)
V
= 2.4 V–4–8mA
OUT
= 2.4 V68mA
OUT
0.7 IOV
DD
0.3 IOV
DD
Commercial070
Industrial–4085
3.3Crystal Specifications
MINNOMMAXUNIT
Frequency14.31818MHz
Frequency tolerance
(1) This number is the required specification for the external crystal/oscillator and is not tested.
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 TVP5146M2 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.1Assumptions
Input connector: Composite (VI_1_A) (default)
Video format:NTSC (J, M), PAL (B, G, H, I, N), or SECAM (default)
Note: NTSC-443, PAL-Nc, and PAL-M are masked from the autoswitch process by
default. See the autoswitch mask register at address 04h.
Output format:10-bit ITU-R BT.656 with embedded syncs (default)
4.1.2Recommended Settings
Recommended I2C writes: For the given assumptions, only one write is required. All other registers are set
up by default.
I2C register address 08h = Luminance processing control 3 register
I2C data 00h = Optimizes the trap filter selection for NTSC and PAL
SLES141F–JULY 2005–REVISED NOVEMBER 2010
I2C register address 0Eh = Chrominance processing control 2 register
I2C data 04h = Optimizes the chrominance filter selection for NTSC and PAL
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.2Recommended 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.
I2C register address 00h = Input select register
I2C data 46h = Sets luma to VI_2_C and chroma to VI_1_C
Input connector: Component [VI_1_B (Pb), VI_2_B (Y), VI_3_B (Pr)]
Video format:NTSC (J, M, 443), PAL (B, G, H, I, M, N, Nc) and SECAM
Output format:20-bit 4:2:2 YCbCr with discrete sync outputs
4.3.2Recommended 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.
I2C register address 00h = Input select register
I2C data 95h = Sets Pb to VI_1_B, Y to VI_2_B, and Pr to VI_3_B