Tvp5150am1 PDF
Tvp5150am1 PDF
Tvp5150am1 PDF
1 Introduction
1.1
1
Features
• Accepts NTSC (J, M, 4.43), PAL (B, D, G, H, I, • Standard Programmable Video Output Formats
M, N, Nc), and SECAM (B, D, G, K, K1, L) Video – ITU-R BT.656, 8-Bit 4:2:2 With Embedded
• Supports ITU-R BT.601 Standard Sampling Syncs
• High-Speed 9-Bit Analog-to-Digital Converter – 8-Bit 4:2:2 With Discrete Syncs
(ADC) • Macrovision™ Copy Protection Detection
• Two Composite Inputs or One S-Video Input • Advanced Programmable Video Output
• Fully Differential CMOS Analog Preprocessing Formats
Channels With Clamping and Automatic Gain – 2× Oversampled Raw Vertical Blanking
Control (AGC) for Best Signal-to-Noise (S/N) Interval (VBI) Data During Active Video
Performance – Sliced VBI Data During Horizontal Blanking
• Ultralow Power Consumption or Active Video
• 48-Terminal PBGA Package (ZQC) or • VBI Modes Supported
32-Terminal TQFP Package (PBS) – Teletext (NABTS, WST)
• Power-Down Mode: <1 mW – Closed-Caption Decode With FIFO and
• Brightness, Contrast, Saturation, Hue, and Extended Data Services (XDS)
Sharpness Control Through I2C – Wide Screen Signaling, Video Program
• Complementary 4-Line (3-H Delay) Adaptive System, CGMS-A, Vertical Interval Time
Comb Filters for Both Cross-Luminance and Code
Cross-Chrominance Noise Reduction – Gemstar 1x/2x Electronic Program Guide
• Patented Architecture for Locking to Weak, Compatible Mode
Noisy, or Unstable Signals – Custom Configuration Mode That Allows
• Single 14.31818-MHz Crystal for All Standards User to Program Slice Engine for Unique VBI
• Internal Phase-Locked Loop (PLL) for Data Signals
Line-Locked Clock and Sampling • Power-On Reset
• Subcarrier Genlock Output for Synchronizing • Industrial Temperature Range
Color Subcarrier of External Encoder (TVP5150AM1I): –40°C to 85°C
• 3.3-V Digital I/O Supply Voltage Range • Qualified for Automotive Applications
(AEC-Q100 Rev G – TVP5150AM1IPBSQ1,
TVP5150AM1IPBSRQ)
1.2 Description
The TVP5150AM1 device is an ultralow-power NTSC/PAL/SECAM video decoder. Available in a
space-saving 48-terminal PBGA package or a 32-terminal TQFP package, the TVP5150AM1 decoder
converts NTSC, PAL, and SECAM video signals to 8-bit ITU-R BT.656 format. Discrete syncs are also
available. The optimized architecture of the TVP5150AM1 decoder allows for ultralow power consumption.
The decoder consumes 115-mW power under typical operating conditions and consumes less than 1 mW
in power-down mode, considerably increasing battery life in portable applications. The decoder uses just
one crystal for all supported standards. The TVP5150AM1 decoder can be programmed using an I2C
serial interface.
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.
PRODUCTION DATA information is current as of publication date. Copyright © 2007–2011, Texas Instruments Incorporated
Products conform to specifications per the terms of the Texas
Instruments standard warranty. Production processing does not
necessarily include testing of all parameters.
TVP5150AM1
The TVP5150AM1 decoder converts baseband analog video into digital YCbCr 4:2:2 component video.
Composite and S-video inputs are supported. The TVP5150AM1 decoder includes one 9-bit
analog-to-digital converter (ADC) with 2× sampling. Sampling is ITU-R BT.601 (27.0 MHz, generated from
the 14.31818-MHz crystal or oscillator input) and is line locked. The output formats can be 8-bit 4:2:2 or
8-bit ITU-R BT.656 with embedded synchronization.
The TVP5150AM1 decoder utilizes Texas Instruments patented technology for locking to weak, noisy, or
unstable signals. A Genlock/real-time control (RTC) output is generated for synchronizing downstream
video encoders.
Complementary four-line adaptive comb filtering is available for both the luminance and chrominance data
paths to reduce both cross-luminance and cross-chrominance artifacts; a chrominance trap filter is also
available.
Video characteristics including hue, brightness, saturation, and sharpness may be programmed using the
industry standard I2C serial interface. The TVP5150AM1 decoder generates synchronization, blanking,
lock, and clock signals in addition to digital video outputs. The TVP5150AM1 decoder includes methods
for advanced vertical blanking interval (VBI) data retrieval. The VBI data processor slices, parses, and
performs error checking on teletext, closed caption, and other data in several formats.
The TVP5150AM1 decoder detects copy-protected input signals according to the Macrovision™ standard
and detects Type 1, 2, 3, and colorstripe processes.
The main blocks of the TVP5150AM1 decoder include:
• Robust sync detector
• ADC with analog processor
• Y/C separation using four-line adaptive comb filter
• Chrominance processor
• Luminance processor
• Video clock/timing processor and power-down control
• Output formatter
• I2C interface
• VBI data processor
• Macrovision detection for composite and S-video
1.3 Applications
The following is a partial list of suggested applications:
• Digital televisions
• PDAs
• Notebook PCs
• Cell phones
• Video recorder/players
• Internet appliances/web pads
• Handheld games
• Surveillance
• Portable navigation
• Portable video projectors
1.5 Trademarks
TI and MicroStar Junior are trademarks of Texas Instruments.
Macrovision is a trademark of Macrovision Corporation.
Gemstar is a trademark of Gemstar-TV Guide International.
Other trademarks are the property of their respective owners.
3.2 Composite Processing Block Diagram ............. 10 4.5 DC Electrical Characteristics ....................... 75
3.3 Adaptive Comb Filtering ............................ 11 4.6 Analog Electrical Characteristics ................... 75
3.4 Color Low-Pass Filter ............................... 12 4.7 Clocks, Video Data, Sync Timing ................... 76
3.5 Luminance Processing ............................. 13 4.8 I2C Host Port Timing ................................ 77
2 Device Details
Macrovision
Detection
Luminance
Processing
Y/C Separation
PGA
Formatter
Output
AIP1A M
U ADC
AIP1B X YOUT[7:0]
YCbCr 8-Bit
Chrominance 4:2:2
Processing
VBI Data
Processor (VDP)
SCL
Host
Embedded Processor
SDA Interface
PDN
XTAL1/OSC
FID/GLCO
Timing Processor
XTAL2
Horizontal and
Color PLLs
VSYNC/PALI
INTREQ/GPCL/VBLK
SCLK
HSYNC
AVID
INTREQ/GPCL/VBLK
G
F
E
CH_AGND
CH_AVDD
D
HSYNC
REFM
REFP
C
AVID
PDN
B
A
32 31 30 29 28 27 26 25
AIP1A 1 24 VSYNC/PALI
1 2 3 4 5 6 7
AIP1B 2 23 FID/GLCO
PLL_AGND 3 22 SDA
PLL_AVDD 4 21 SCL
XTAL1/OSC 5 20 DVDD
XTAL2 6 19 DGND
AGND 7 18 YOUT0
RESETB 8 17 YOUT1
9 10 11 12 13 14 15 16
IO_DVDD
YOUT7/I2CSEL
YOUT6
YOUT5
YOUT4
YOUT3
YOUT2
SCLK
This terminal has three functions selectable by bit 7 of I2C register 03h and bit 1 of I2C
register 0Fh:
• INTREQ: Interrupt request output
INTREQ/GPCL/ • GPCL: General-purpose control logic output. In this mode, the state of terminal 27 is
VBLK
B5 27 O directly programmed via I2C.
• VBLK: Vertical blanking output. In this mode, terminal 27 indicates the vertical blanking
interval of the output video. The beginning and end times of this signal are
programmable via I2C.
An external pullup or pulldown resistor is required under certain conditions (see Figure 6-1).
IO_DVDD G2 10 P Digital output supply. Connect to 3.3-V digital supply.
SCLK G1 9 O System clock at 2x the frequency of the pixel clock.
Power-down terminal (active low). Puts the decoder in standby mode. Preserves the value
PDN A5 28 I
of the registers.
I2CSEL: Determines address for I2C (sampled during reset). A pullup or pulldown resistor is
needed (>1 kΩ) to program the terminal to the desired address.
YOUT7/I2CSEL F3 11 I/O 1 = Address is BAh
0 = Address is B8h
YOUT7: Most significant bit (MSB) of ITU-R BT.656 output/YCbCr 4:2:2 output
3 Functional Description
Gain Factor
Peak
Bandpass X Peaking
Detector
Composite
Delay + Delay
Line
Delay -
Y
Y
Quadrature
Modulation
Brightness
Cb
Saturation
Adjust
SECAM Luminance
Notch Cr
Filter
Cb Cr
Composite SECAM Color Color Notch
Cb
Demodulation LPF ↓ 2 Filter
Burst 4-Line
Accumulator Adaptive
(Cb) Comb LP
Filter Filter Delay
Quadrature Color LP
Composite Cr Filter Delay
Modulation LPF ↓ 2
Burst
Accumulator
(Cr)
Figure 3-1. Composite Processing Block Diagram (Comb/Trap Filter Bypassed for SECAM)
Figure 3-2. Chrominance Trap Filter Frequency Figure 3-3. Chrominance Trap Filter Frequency
Response, NTSC ITU-R BT.601 Sampling Response, PAL ITU-R BT.601 Sampling
Figure 3-4. Color Low-Pass Filter with Filter Characteristics, NTSC/PAL ITU-R BT.601 Sampling
At power-up the host interface is required to program the VDP-configuration RAM (VDP-CRAM) contents
with the lookup table (see Section 3.21.65). This is done through port address C3h. Each read from or
write to this address auto increments an internal counter to the next RAM location. To access the
VDP-CRAM, the line mode registers (D0h to FCh) must be programmed with FFh to avoid a conflict with
the internal microprocessor and the VDP in both writing and reading. Full field mode must also be
disabled.
Available VBI lines are from line 6 to line 27 of both field 1 and field 2. Each line can be any VBI mode.
Output data is available either through the VBI-FIFO (B0h) or through dedicated registers at 90h to AFh,
both of which are available through the I2C port.
Table 3-3. Summary of Line Frequencies, Data Rates, and Pixel Counts
COLOR
ACTIVE PIXEL HORIZONTAL
STANDARDS PIXELS PER LINES PER SUB-CARRIER
PIXELS PER FREQUENCY LINE RATE
(ITU-R BT.601) LINE FRAME FREQUENCY
LINE (MHz) (kHz)
(MHz)
NTSC-J, M 858 720 525 13.5 3.579545 15.73426
NTSC-4.43 858 720 525 13.5 4.43361875 15.73426
PAL-M 858 720 525 13.5 3.57561149 15.73426
PAL-B, D, G, H, I 864 720 625 13.5 4.43361875 15.625
PAL-N 864 720 625 13.5 4.43361875 15.625
PAL-Nc 864 720 625 13.5 3.58205625 15.625
SECAM 864 720 625 13.5 4.40625/4.25 15.625
525 Line
525 1 2 3 4 5 6 7 8 9 10 11 20 21 22
Composite
Video
VSYNC
FID
INTREQ/GPCL/VBLK
↔ ↔
VBLK Start VBLK Stop
262 263 264 265 266 267 268 269 270 271 272 273 282 283 284
Composite
Video
VSYNC
FID
INTREQ/GPCL/VBLK
↔ ↔
VBLK Start VBLK Stop
625 Line
310 311 312 313 314 315 316 317 318 319 320 333 334 335 336
Composite
Video
VSYNC
FID
INTREQ/GPCL/VBLK
↔ ↔
VBLK Start VBLK Stop
VSYNC
FID
INTREQ/GPCL/VBLK
↔ ↔
VBLK Start VBLK Stop
A. Line numbering conforms to ITU-R BT.470 and ITU-R BT.1700.
Figure 3-5. 8-Bit 4:2:2, Timing With 2× Pixel Clock (SCLK) Reference
NTSC 601 1436 1437 1438 1439 1440 1441 … 1455 1456 … 1583 1584 … 1711 1712 1713 1714 1715 0 1 2 3
PAL 601 1436 1437 1438 1439 1440 1441 1459 1460 1587 1588 1723 1724 1725 1726 1727 0 1 2 3
SECAM 1436 1437 1438 1439 1440 1441 … 1479 1480 … 1607 1608 … 1719 1720 1721 1722 1723 17 17 17 17
24 25 26 27
ITU 656 Cb Y Cr Y FF 00 10 80 10 80 10 FF 00 00 XX Cb Y Cr Y
Datastream 359 718 359 719 0 0 0 1
HSYNC
↔
AVID HSYNC Start
↔ ↔
AVID Stop AVID Start
A. AVID rising edge occurs four SCLK cycles early when in the ITU-R BT.656 output mode.
Figure 3-6. Horizontal Synchronization Signals
NOTE
The above settings alter AVID output timing, but the video output data is not forced to black
level outside of the AVID interval.
VBLK Stop
Active Video Area
AVID Cropped
Area
VBLK Start
HSYNC
Data transfer rate on the bus is up to 400 kbit/s. The number of interfaces connected to the bus is
dependent on the bus capacitance limit of 400 pF. The data on the SDA line must be stable during the
high period of the SCL except for start and stop conditions. The high or low state of the data line can only
change with the clock signal on the SCL line being low. A high-to-low transition on the SDA line while the
SCL is high indicates an I2C start condition. A low-to-high transition on the SDA line while the SCL is high
indicates an I2C stop condition.
Every byte placed on the SDA must be eight bits long. The number of bytes which can be transferred is
unrestricted. Each byte must be followed by an acknowledge bit. The acknowledge-related clock pulse is
generated by the I2C master.
Step 2 7 6 5 4 3 2 1 0
I2C slave address (master) 1 0 1 1 1 0 X 0
Step 3 9
I2C Acknowledge (slave) A
Step 4 7 6 5 4 3 2 1 0
I2C Write register address (master) Addr Addr Addr Addr Addr Addr Addr Addr
Step 5 9
I2C Acknowledge (slave) A
Step 6 7 6 5 4 3 2 1 0
2
I C Write data (master) Data Data Data Data Data Data Data Data
Step 7 (1) 9
2
I C Acknowledge (slave) A
Step 8 0
I2C Stop (master) P
(1) Repeat steps 6 and 7 until all data have been written.
The second phase is the data phase. In this phase, an I2C master initiates a read operation to the
TVP5150AM1 decoder by generating a start condition followed by the TVP5150AM1 I2C slave address
(see the following illustration of a read operation), in MSB first bit order, followed by a 1 to indicate a read
cycle. After an acknowledge from the TVP5150AM1 decoder, the I2C master receives one or more bytes
of data from the TVP5150AM1 decoder. The I2C master acknowledges the transfer at the end of each
byte. After the last data byte desired has been transferred from the TVP5150AM1 decoder to the master,
the master generates a not acknowledge followed by a stop.
Step 2 7 6 5 4 3 2 1 0
I2C slave address (master) 1 0 1 1 1 0 X 0
Step 3 9
2
I C Acknowledge (slave) A
Step 4 7 6 5 4 3 2 1 0
I2C Write register address (master) Addr Addr Addr Addr Addr Addr Addr Addr
Step 5 9
I2C Acknowledge (slave) A
Step 6 0
2
I C Stop (master) P
Step 8 7 6 5 4 3 2 1 0
I2C slave address (master) 1 0 1 1 1 0 X 1
Step 9 9
2
I C Acknowledge (slave) A
Step 10 7 6 5 4 3 2 1 0
I2C Read data (slave) Data Data Data Data Data Data Data Data
Step 11 (1) 9
I2C Not Acknowledge (master) A
Step 12 0
2
I C Stop (master) P
(1) Repeat steps 10 and 11 for all bytes read. Master does not acknowledge the last read data received.
The 64-µs delay is for all registers that do not require a reinitialization. Delays may be more for some
registers.
TVP5150AM1 TVP5150AM1
14.31818-MHz
Crystal CL1
5 14.31818-MHz 5
XTAL1 XTAL1
TTL Clock
R CL2
6 6
XTAL2 XTAL2
NOTE: The resistor (R) in parallel with the crystal is recommended to support a wide range of crystal types. A 100-kΩ resistor
may be used for most crystal types.
SCLK
22 21 0
>128 SCLK
23 SCLK 7 SCLK
23-Bit Frequency Control
1 SCLK 1 SCLK
M L
RTC S S
B B
21 0
1 CLK
Reset
Bit
NOTE
I2C SCL and SDA signals must not change state until the TVP5150AM1 reset sequence has
been completed.
After RESETB is released, outputs SCLK and YOUT0 to YOUT7 are high-impedance until the chip is
initialized and the outputs are activated.
PLL_AVDD
DVDD
IO_DVDD
t1
Normal Operation
RESETB Reset
t2
PDN
t3
SDA Data
SCL
(2) These registers are used for firmware patch code and should not be written to or read from during
normal operation.
28 Functional Description Copyright © 2007–2011, Texas Instruments Incorporated
Submit Documentation Feedback
www.ti.com: TVP5150AM1
TVP5150AM1
Address 00h
Default 00h
7 6 5 4 3 2 1 0
Reserved Black output Reserved Channel 1 S-video
source selection
selection
Black output
0 = Normal operation (default)
1 = Force black screen output (outputs synchronized)
a. Forced to 10h in normal mode
b. Forced to 01h in extended mode
Address 01h
Default 15h
7 6 5 4 3 2 1 0
Reserved 1 0 1 Automatic gain control
Address 02h
Default 00h
7 6 5 4 3 2 1 0
Reserved Color burst TV/VCR mode Composite Color Luminance Power-down
reference peak disable subcarrier PLL peak disable mode
enable frozen
Address 03h
Default 01h
7 6 5 4 3 2 1 0
VBLK/GPCL GPCL logic INTREQ/GPCL/ Lock status YCbCr output HSYNC, Vertical Clock output
select level VBLK output (HVLK) enable VSYNC/PALI, blanking on/off enable
enable (TVPOE) AVID,
FID/GLCO
output enable
VBLK/GPCL function select (affects INTREQ/GPCL/VBLK output only if bit 1 of I2C register 0Fh is set to
1)
0 = GPCL (default)
1 = VBLK
GPCL logic level (affects INTREQ/GPCL/VBLK output only if bit 7 is set to 0 and bit 5 is set to 1)
0 = GPCL is set to logic 0 (default)
1 = GPCL is set to logic 1
INTREQ/GPCL/VBLK output enable
0 = Output disabled (default)
1 = Output enabled (recommended)
Note: The INTREQ/GPCL/VBLK output (pin 27) must never be left floating. An external 10-kΩ pulldown
resistor is required when the INTREQ/GPCL/VBLK output is disabled (bit 5 of I2C register 03h is set to 0).
Lock status (HVLK) (configured along with register 0Fh, see Figure 3-12 for the relationship between the
configuration shared pins)
0 = Terminal VSYNC/PALI outputs the PAL indicator (PALI) signal and terminal FID/GLCO outputs the
field ID (FID) signal (default) (if terminals are configured to output PALI and FID in register 0Fh).
1 = Terminal VSYNC/PALI outputs the horizontal lock indicator (HLK) and terminal FID outputs the
vertical lock indicator (VLK) (if terminals are configured to output PALI and FID in register 0Fh).
These are additional functions that are provided for ease of use.
YCbCr output enable
0 = YOUT[7:0] high impedance (default)
1 = YOUT[7:0] active
Note: YOUT7 must be pulled high or low for device I2C address select.
HSYNC, VSYNC/PALI, active video indicator (AVID), and FID/GLCO output enables
0 = HSYNC, VSYNC/PALI, AVID, and FID/GLCO are high-impedance (default).
1 = HSYNC, VSYNC/PALI, AVID, and FID/GLCO are active.
Note: This control bit has no effect on the FID/GLCO output when it is programmed to output the
GLCO signal (see bit 3 of address 0Fh). When the GLCO signal is selected, the FID/GLCO output is
always active.
0F(Bit 2)
VSYNC/PALI
0F(Bit 4)
LOCK24B
VSYNC 0
PALI 0 M VSYNC/PALI/HLK/HVLK
HLK 0 M PALI/HLK/HVLK 1 U Pin 24
M U X
HLK/HVLK 1
U X
HVLK 1
X
HVLK 1
M VLK/HVLK 1
VLK 0 U M FID/VLK/HVLK 0
X U M
FID 0 FID/GLCO/VLK/HVLK
X U Pin 23
GLCO 1
X
0F(Bit 6)
LOCK23
0F(Bit 3)
03(Bit 4) FID/GLCO
HVLK
VBLK 1
M VBLK/GPCL 1
GPCL 0 U M INTREQ/GPCL/VBLK
X U Pin 27
INTREQ 0
X
03(Bit 7)
VBLK/GPCL select 0F(Bit 1)
INTREQ/GPCL/VBLK
NOTE
Also see the configuration shared pins register at subaddress 0Fh.
Address 04h
Default DCh
7 6 5 4 3 2 1 0
Reserved SEC_OFF N4.43_OFF PALN_OFF PALM_OFF Reserved
N4.43_OFF
0 = NTSC4.43 is unmasked from the autoswitch process. Autoswitch does switch to NTSC4.43.
1 = NTSC4.43 is masked from the autoswitch process. Autoswitch does not switch to NTSC4.43
(default).
PALN_OFF
0 = PAL-N is unmasked from the autoswitch process. Autoswitch does switch to PAL-N.
1 = PAL-N is masked from the autoswitch process. Autoswitch does not switch to PAL-N (default).
PALM_OFF
0 = PAL-M is unmasked from the autoswitch process. Autoswitch does switch to PAL-M.
1 = PAL-M is masked from the autoswitch process. Autoswitch does not switch to PAL-M (default).
SEC_OFF
0 = SECAM is unmasked from the autoswitch process. Autoswitch does switch to SECAM (default).
1 = SECAM is masked from the autoswitch process. Autoswitch does not switch to SECAM.
Address 06h
Default 10h
7 6 5 4 3 2 1 0
Reserved Automatic color killer Color killer threshold
Address 07h
Default 60h
7 6 5 4 3 2 1 0
2× luminance Pedestal not Disable raw Luminance bypass Luminance signal delay with respect to chrominance signal
output enable present header enabled during
vertical blanking
Address 08h
Default 00h
7 6 5 4 3 2 1 0
Reserved Luminance filter Reserved Peaking gain Mac AGC control
select
Address 09h
Default 80h
7 6 5 4 3 2 1 0
Brightness[7:0]
Address 0Ah
Default 80h
7 6 5 4 3 2 1 0
Saturation[7:0]
Address 0Bh
Default 00h
7 6 5 4 3 2 1 0
Hue control
Address 0Ch
Default 80h
7 6 5 4 3 2 1 0
Contrast [7:0]
Contrast [7:0]: This register works for CVBS and S-Video luminance.
1111 1111 – 1101 0000 = Reserved
1100 1111 = 207 (maximum contrast)
1000 0000 = 128 (default)
0000 0000 = 0 (minimum contrast)
The total luminance gain relative to the nominal luminance gain as a function of the Contrast [7:0] setting
is as follows:
Luminance Gain = nominal_luminance_gain × (Contrast[7:0] / 128)
NOTE
Luminance peak processing (see bit 1 of subaddress: 02h) may limit the upper end of the
contrast control range.
Address 0Dh
Default 47h
7 6 5 4 3 2 1 0
Reserved YCbCr output CbCr code YCbCr data path bypass YCbCr output format
code range format
Address 0Eh
Default 00h
7 6 5 4 3 2 1 0
Reserved Luminance trap filter select
NTSC/PAL/SECAM
WCF FILTER SELECT
ITU-R BT.601
00 1.2244
01 0.8782
0
10 0.7297
11 0.4986
00 1.4170
01 1.0303
1
10 0.8438
11 0.5537
Address 0Fh
Default 08h
7 6 5 4 3 2 1 0
Reserved LOCK23 Reserved LOCK24B FID/GLCO VSYNC/PALI INTREQ/GPCL/ Reserved, must
VBLK be set to 0
Address 11h
Default 00h
7 6 5 4 3 2 1 0
AVID start pixel MSB [9:2]
Active video cropping start pixel MSB [9:2], set this register first before setting register 12h. The
TVP5150AM1 decoder updates the AVID start values only when register 12h is written to. This start pixel
value is relative to the default values of the AVID start pixel.
Address 12h
Default 00h
7 6 5 4 3 2 1 0
Reserved AVID active AVID start pixel LSB [1:0]
AVID active
0 = AVID out active in VBLK (default)
1 = AVID out inactive in VBLK
Active video cropping start pixel LSB [1:0]: The TVP5150AM1 decoder updates the AVID start values
only when this register is written to.
AVID start [9:0] (combined registers 11h and 12h)
01 1111 1111 = 511
00 0000 0001 = 1
00 0000 0000 = 0 (default)
11 1111 1111 = –1
10 0000 0000 = –512
NOTE
Adjusting AVID start also adjusts the horizontal position of the embedded sync SAV code.
Address 13h
Default 00h
7 6 5 4 3 2 1 0
AVID stop pixel MSB [9:2]
Active video cropping stop pixel MSB [9:2], set this register first before setting the register 14h. The
TVP5150AM1 decoder updates the AVID stop values only when register 14h is written to. This stop pixel
value is relative to the default values of the AVID stop pixel.
Address 14h
Default 00h
7 6 5 4 3 2 1 0
Reserved AVID stop pixel LSB
Active video cropping stop pixel LSB [1:0]: The number of pixels of active video must be an even number.
The TVP5150AM1 decoder updates the AVID stop values only when this register is written to.
AVID stop [9:0] (combined registers 13h and 14h)
01 1111 1111 = 511
00 0000 0001 = 1
00 0000 0000 = 0 (default) (see Figure 3-6 and Figure 3-7)
11 1111 1111 = –1
10 0000 0000 = –512
NOTE
Adjusting AVID stop also adjusts the horizontal position of the embedded sync EAV code.
Address 15h
Default 01h
7 6 5 4 3 2 1 0
Reserved F/V bit control Reserved GLCO/RTC
Address 16h
Default 80h
7 6 5 4 3 2 1 0
HSYNC start
U Y V Y F 0 0 X 8 1 8 1 F 0 0 X U Y
YOUT[7:0] F 0 0 Y 0 0 0 0 F 0 0 Y
HSYNC
AVID
128 SCLK
Start of Start of Digital
Nhbhs
Digital Line Active Line
Nhb
Address 18h
Default 00h
7 6 5 4 3 2 1 0
Vertical blanking start
Address 19h
Default 00h
7 6 5 4 3 2 1 0
Vertical blanking stop
Address 1Ah
Default 0Ch
7 6 5 4 3 2 1 0
Reserved Color PLL reset Chrominance Chrominance Automatic color gain control
adaptive comb comb filter
filter enable enable (CE)
(ACE)
Address 1Bh
Default 14h
7 6 5 4 3 2 1 0
Reserved WCF Chrominance filter select
NTSC/PAL/SECAM
WCF FILTER SELECT
ITU-R BT.601
00 1.2214
01 0.8782
0
10 0.7297
11 0.4986
00 1.4170
01 1.0303
1
10 0.8438
11 0.5537
Address 1Ch
Default 00h
7 6 5 4 3 2 1 0
Software Macrovision Reserved Field rate Line alternation Color lock H/V lock TV/VCR
initialization detect changed changed reset changed reset changed reset changed reset changed reset
reset reset
Interrupt reset register B is used by the external processor to reset the interrupt status bits in interrupt
status register B. Bits loaded with a 1 allow the corresponding interrupt status bit to reset to 0. Bits loaded
with a 0 have no effect on the interrupt status bits.
Software initialization reset
0 = No effect (default)
1 = Reset software initialization bit
Macrovision detect changed reset
0 = No effect (default)
1 = Reset Macrovision detect changed bit
Field rate changed reset
0 = No effect (default)
1 = Reset field rate changed bit
Line alternation changed reset
0 = No effect (default)
1 = Reset line alternation changed bit
Color lock changed reset
0 = No effect (default)
1 = Reset color lock changed bit
H/V lock changed reset
0 = No effect (default)
1 = Reset H/V lock changed bit
TV/VCR changed reset [TV/VCR mode is determined by counting the total number of lines/frame. The
mode switches to VCR for nonstandard number of lines]
0 = No effect (default)
1 = Reset TV/VCR changed bit
Address 1Dh
Default 00h
7 6 5 4 3 2 1 0
Software Macrovision Reserved Field rate Line alternation Color lock H/V lock TV/VCR
initialization detect changed changed changed changed changed changed
occurred
Interrupt enable register B is used by the external processor to mask unnecessary interrupt sources for
interrupt B. Bits loaded with a 1 allow the corresponding interrupt condition to generate an interrupt on the
external pin. Conversely, bits loaded with zeros mask the corresponding interrupt condition from
generating an interrupt on the external pin. This register only affects the external pin, it does not affect the
bits in the interrupt status register. A given condition can set the appropriate bit in the status register and
not cause an interrupt on the external pin. To determine if this device is driving the interrupt pin either
AND interrupt status register B with interrupt enable register B or check the state of interrupt B in the
interrupt B active register.
Software initialization occurred
0 = Disabled (default)
1 = Enabled
Macrovision detect changed
0 = Disabled (default)
1 = Enabled
Field rate changed
0 = Disabled (default)
1 = Enabled
Line alternation changed
0 = Disabled (default)
1 = Enabled
Color lock changed
0 = Disabled (default)
1 = Enabled
H/V lock changed
0 = Disabled (default)
1 = Enabled
TV/VCR changed
0 = Disabled (default)
1 = Enabled
Address 1Eh
Default 00h
7 6 5 4 3 2 1 0
Reserved Interrupt
polarity B
Interrupt polarity B
0 = Interrupt B is active low (default).
1 = Interrupt B is active high.
Interrupt polarity B must be the same as interrupt polarity A of Interrupt Configuration Register A at
Address C2h.
Interrupt Configuration Register B is used to configure the polarity of interrupt B on the external interrupt
pin. When the interrupt B is configured for active low, the pin is driven low when active and high
impedance when inactive (open-drain). Conversely, when the interrupt B is configured for active high, it is
driven high for active and driven low for inactive.
Note: An external pullup resistor (4.7kΩ to 10kΩ) is required when the polarity of the external interrupt
terminal (pin 27) is configured as active low.
Address 21h-22h
Default 00h
Address 7 6 5 4 3 2 1 0
22h Data[15:8]
21h Data[7:0]
I2C registers 21h and 22h can be used to write data to or read data from indirect registers. See I2C
registers 23h and 24h.
Address 23h
Default 00h
7 6 5 4 3 2 1 0
ADDR[7:0]
Address 24h
Default 00h
7 6 5 4 3 2 1 0
R/W[7:0]
This register selects the most significant bits of the indirect register address and performs either an
indirect read or write operation. Data will be written from are read to Indirect Register Data registers
21h-22h.
R/W[7:0]:
01h = read from 00h-1FFh address bank
02h = write to 00h-1FFh address bank
03h = read from 200h-3FFh address bank
04h = write to 200h-3FFh address bank
05h = read from 300h-3FFh address bank
06h = write to 300h-3FFh address bank
Address 28h
Default 00h
7 6 5 4 3 2 1 0
Reserved Video standard
Video standard
0000 = Autoswitch mode (default)
0001 = Reserved
0010 = (M, J) NTSC ITU-R BT.601
0011 = Reserved
0100 = (B, G, H, I, N) PAL ITU-R BT.601
0101 = Reserved
0110 = (M) PAL ITU-R BT.601
0111 = Reserved
1000 = (Combination-N) PAL ITU-R BT.601
1001 = Reserved
1010 = NTSC 4.43 ITU-R BT.601
1011 = Reserved
1100 = SECAM ITU-R BT.601
With the autoswitch code running, the application can force the device to operate in a particular video
standard mode by writing the appropriate value into this register.
Address 2Ch
7 6 5 4 3 2 1 0
Cb gain factor
This is a read-only register that provides the gain applied to the Cb in the YCbCr data stream.
Address 2Dh
7 6 5 4 3 2 1 0
Cr gain factor
This is a read-only register that provides the gain applied to the Cr in the YCbCr data stream.
Address 2Eh
Default 0Fh
7 6 5 4 3 2 1 0
Macrovision on counter
This register allows the user to determine how many consecutive frames in which the Macrovision AGC
pulses are detected before the decoder decides that the Macrovision AGC pulses are present.
Address 2Fh
Default 01h
7 6 5 4 3 2 1 0
Macrovision off counter
This register allows the user to determine how many consecutive frames in which the Macrovision AGC
pulses are not detected before the decoder decides that the Macrovision AGC pulses are not present.
Address 30h
Default 00h
7 6 5 4 3 2 1 0
Reserved 656 revision
select
Address 33h
Default 00h
7 6 5 4 3 2 1 0
RAM version LSB [7:0]
RAM Version LSB [7:0]: This register identifies the LSB of the RAM code revision number.
Address 7Eh
Default 00h
7 6 5 4 3 2 1 0
R/W[7:0]
This register is used for downloading firmware patch code. Please refer to the patch load application note
for more detail. This register must not be written to or read from during normal operation.
Address 7Fh
Default 00h
7 6 5 4 3 2 1 0
R/W[7:0]
Writing to this register following a firmware patch load restarts the CPU and initiates execution of the patch
code. This register must not be written to or read from during normal operation.
Address 80h
Default 51h
7 6 5 4 3 2 1 0
MSB of device ID
This register identifies the MSB of the device ID. Value = 51h.
Address 81h
Default 50h
7 6 5 4 3 2 1 0
LSB of device ID
This register identifies the LSB of the device ID. Value = 51h.
Address 82h
Default 04h
7 6 5 4 3 2 1 0
ROM version [7:0]
ROM Version [7:0]: This register identifies the ROM code revision number.
Address 83h
Default 00h
7 6 5 4 3 2 1 0
RAM version MSB [7:0]
RAM Version MSB [7:0]: This register identifies the MSB of the RAM code revision number.
Example:
Patch Release = v04.8C.AA
ROM Version = 04h
RAM Version MSB = 8Ch
RAM Version LSB = AAh
Note: Use of the latest patch release is highly recommended.
Address 84h
7 6 5 4 3 2 1 0
Reserved Vertical line count MSB
Address 85h
7 6 5 4 3 2 1 0
Vertical line count LSB
Address 86h
7 6 5 4 3 2 1 0
Software Macrovision Reserved Field rate Line alternation Color lock H/V lock TV/VCR
initialization detect changed changed changed changed changed changed
Software initialization
0 = Software initialization is not ready.
1 = Software initialization is ready.
Macrovision detect changed
0 = Macrovision detect status has not changed.
1 = Macrovision detect status has changed.
Field rate changed
0 = Field rate has not changed.
1 = Field rate has changed.
Line alternation changed
0 = Line alteration has not changed.
1 = Line alternation has changed.
Color lock changed
0 = Color lock status has not changed.
1 = Color lock status has changed.
H/V lock changed
0 = H/V lock status has not changed.
1 = H/V lock status has changed.
TV/VCR changed
0 = TV/VCR status has not changed.
1 = TV/VCR status has changed.
Interrupt status register B is polled by the external processor to determine the interrupt source for interrupt
B. After an interrupt condition is set, it can be reset by writing to the interrupt reset register B at
subaddress 1Ch with a 1 in the appropriate bit.
Address 87h
7 6 5 4 3 2 1 0
Reserved Interrupt B
Interrupt B
0 = Interrupt B is not active on the external terminal (default).
1 = Interrupt B is active on the external terminal.
The interrupt active register B is polled by the external processor to determine if interrupt B is active.
Address 88h
7 6 5 4 3 2 1 0
Peak white Line-alternating Field rate Lost lock detect Color Vertical sync Horizontal sync TV/VCR status
detect status status status subcarrier lock lock status lock status
status
Address 89h
7 6 5 4 3 2 1 0
Reserved Weak signal PAL switch Field sequence AGC and offset Macrovision detection
detection polarity status frozen status
Address 8Ah
7 6 5 4 3 2 1 0
Analog gain Digital gain
Address 8Bh
7 6 5 4 3 2 1 0
Subcarrier to horizontal (SCH) phase
SCH (color PLL subcarrier phase at 50% of the falling edge of horizontal sync of line one of odd field; step
size 360°/256)
0000 0000 = 0.00°
0000 0001 = 1.41°
0000 0010 = 2.81°
1111 1110 = 357.2°
1111 1111 = 358.6°
Address 8Ch
7 6 5 4 3 2 1 0
Autoswitch Reserved Video standard Sampling rate
mode (SR)
This register contains information about the detected video standard at which the device is currently
operating. When autoswitch code is running, this register must be tested to determine which video
standard has been detected.
Autoswitch mode
0 = Forced video standard
1 = Autoswitch mode
Video standard
Address 8Eh
Default 00h
7 6 5 4 3 2 1 0
R/W[7:0]
This register can be used for patch code read-back. This register must not be written to or read from
during normal operation.
Address 90h–93h
Address 7 6 5 4 3 2 1 0
90h Closed caption field 1 byte 1
91h Closed caption field 1 byte 2
92h Closed caption field 2 byte 1
93h Closed caption field 2 byte 2
These registers contain the closed caption data arranged in bytes per field.
Address 94h–99h
NTSC
Address 7 6 5 4 3 2 1 0 BYTE
94h b5 b4 b3 b2 b1 b0 WSS field 1 byte 1
95h b13 b12 b11 b10 b9 b8 b7 b6 WSS field 1 byte 2
96h b19 b18 b17 b16 b15 b14 WSS field 1 byte 3
97h b5 b4 b3 b2 b1 b0 WSS field 2 byte 1
98h b13 b12 b11 b10 b9 b8 b7 b6 WSS field 2 byte 2
99h b19 b18 b17 b16 b15 b14 WSS field 2 byte 3
These registers contain the wide screen signaling (WSS/CGMS-A) data for NTSC.
For NTSC, the bits are:
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
Address 7 6 5 4 3 2 1 0 BYTE
94h b7 b6 b5 b4 b3 b2 b1 b0 WSS field 1 byte 1
95h b13 b12 b11 b10 b9 b8 WSS field 1 byte 2
96h Reserved
97h b7 b6 b5 b4 b3 b2 b1 b0 WSS field 2 byte 1
98h b13 b12 b11 b10 b9 b8 WSS field 2 byte 2
99h Reserved
Address 9Ah–A6h
Address 7 6 5 4 3 2 1 0
9Ah VPS/Gemstar 2x byte 1
9Bh VPS/Gemstar 2x byte 2
9Ch VPS/Gemstar 2x byte 3
9Dh VPS/Gemstar 2x byte 4
9Eh VPS/Gemstar 2x byte 5
9Fh VPS/Gemstar 2x byte 6
A0h VPS/Gemstar 2x byte 7
A1h VPS/Gemstar 2x byte 8
A2h VPS/Gemstar 2x byte 9
A3h VPS/Gemstar 2x byte 10
A4h VPS/Gemstar 2x byte 11
A5h VPS/Gemstar 2x byte 12
A6h VPS/Gemstar 2x byte 13
When PAL VPS is used, these registers contain the entire VPS data line except the clock run-in code and
the start code. When NTSC Gemstar 2x is used, these registers contain the Gemstar 2x data.
Address A7h–AFh
Address 7 6 5 4 3 2 1 0
A7h VITC byte 1, frame byte 1
A8h VITC byte 2, frame byte 2
A9h VITC byte 3, seconds byte 1
AAh VITC byte 4, seconds byte 2
ABh VITC byte 5, minutes byte 1
ACh VITC byte 6, minutes byte 2
ADh VITC byte 7, hour byte 1
AEh VITC byte 8, hour byte 2
AFh VITC byte 9, CRC
Address B0h
7 6 5 4 3 2 1 0
FIFO read data
This address is provided to access VBI data in the FIFO 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 the
registers or from the FIFO. Current status of the FIFO can be found at address C6h and the number of
bytes in the FIFO is located at address C7h. If the host port is to be used to read data from the FIFO, then
the host access enable bit at address CDh must be set to 1. The format used for the VBI FIFO is shown in
Section 3.9.
Address B1h–BAh
Default 00h
Address 7 6 5 4 3 2 1 0
B1h Filter 1 mask 1 Filter 1 pattern 1
B2h Filter 1 mask 2 Filter 1 pattern 2
B3h Filter 1 mask 3 Filter 1 pattern 3
B4h Filter 1 mask 4 Filter 1 pattern 4
B5h Filter 1 mask 5 Filter 1 pattern 5
B6h Filter 2 mask 1 Filter 2 pattern 1
B7h Filter 2 mask 2 Filter 2 pattern 2
B8h Filter 2 mask 3 Filter 2 pattern 3
B9h Filter 2 mask 4 Filter 2 pattern 4
BAh Filter 2 mask 5 Filter 2 pattern 5
For an NABTS system, the packet prefix consists of five bytes. Each byte contains four data bits (D[3:0])
interlaced with four Hamming protection bits (H[3:0]):
7 6 5 4 3 2 1 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 the corresponding
pattern bits P[3:0] and mask bits M[3:0]. Hamming protection bits are ignored by the filter.
For a WST system (PAL or NTSC), the packet prefix consists of two bytes so that two patterns are used.
Patterns 3, 4, and 5 are ignored.
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, a true result is returned. A 0 in a bit of mask 1 means
that the filter module must ignore that data bit of the transaction. If all zeros are programmed in the mask
bits, the filter matches all patterns returning a true result (default 00h).
Pattern and mask for each byte and filter are referred as <1,2><P,M><1,2,3,4,5>, where:
<1,2> identifies the filter 1 or 2
<P,M> identifies the pattern or mask
<1,2,3,4,5> identifies the byte number
Address BBh
Default 00h
7 6 5 4 3 2 1 0
Reserved Filter logic Mode TTX filter 2 TTX filter 1
enable enable
Filter logic allows 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
0 = Teletext WST PAL mode B (2 header bytes) (default)
1 = Teletext NABTS NTSC mode C (5 header bytes)
TTX filter 2 enable
0 = Disabled (default)
1 = Enabled
TTX filter 1 enable
0 = Disabled (default)
1 = Enabled
If the filter matches or if the filter mask is all zeros, a true result is returned.
Address C0h
Default 00h
7 6 5 4 3 2 1 0
Lock state Lock interrupt Reserved FIFO threshold Line interrupt Data interrupt
interrupt interrupt
The interrupt status register A can be polled by the host processor to determine the source of an interrupt.
After an interrupt condition is set it can be reset by writing to this register with a 1 in the appropriate bit(s).
Lock state interrupt
0 = TVP5150AM1 is not locked to the video signal (default).
1 = TVP5150AM1 is locked to the video signal.
Lock interrupt
0 = A transition has not occurred on the lock signal (default).
1 = A transition has occurred on the lock signal.
FIFO threshold interrupt
0 = The amount of data in the FIFO has not yet crossed the threshold programmed at address C8h
(default).
1 = The amount of data in the FIFO has crossed the threshold programmed at address C8h.
Line interrupt
0 = The video line number has not yet been reached (default).
1 = The video line number programmed in address CAh has occurred.
Data interrupt
0 = No data is available (default).
1 = VBI data is available either in the FIFO or in the VBI data registers.
Address C1h
Default 00h
7 6 5 4 3 2 1 0
Reserved Lock interrupt Reserved FIFO threshold Line interrupt Data interrupt
enable interrupt enable enable enable
The interrupt enable register A is used by the host processor to mask unnecessary interrupt sources. Bits
loaded with a 1 allow the corresponding interrupt condition to generate an interrupt on the external pin.
Conversely, bits loaded with a 0 mask the corresponding interrupt condition from generating an interrupt
on the external pin. This register only affects the interrupt on the external terminal, it does not affect the
bits in interrupt status register A. A given condition can set the appropriate bit in the status register and not
cause an interrupt on the external terminal. To determine if this device is driving the interrupt terminal,
either perform a logical AND of interrupt status register A with interrupt enable register A, or check the
state of the interrupt A bit in the interrupt configuration register at address C2h.
Lock interrupt enable
0 = Disabled (default)
1 = Enabled
FIFO threshold interrupt enable
0 = Disabled (default)
1 = Enabled
Line interrupt enable
0 = Disabled (default)
1 = Enabled
Data interrupt enable
0 = Disabled (default)
1 = Enabled
Address C2h
Default 04h
7 6 5 4 3 2 1 0
Reserved YCbCr enable Interrupt A Interrupt
(VDPOE) polarity A
The configuration RAM data is provided to initialize the VDP with initial constants. The configuration RAM
is 512 bytes organized as 32 different configurations of 16 bytes each. The first 12 configurations are
defined for the current VBI standards. An additional two configurations can be used as a custom
programmed mode for unique standards such as Gemstar.
Address C3h is used to read or write to the RAM. The RAM internal address counter is automatically
incremented with each transaction. Addresses C5h and C4h make up a 9-bit address to load the internal
address counter with a specific start address. This can be used to write a subset of the RAM for only
those standards of interest.
NOTE
Registers D0h–FBh must all be programmed with FFh before writing or reading the
configuration RAM. Full field mode (CFh) must be disabled as well.
The suggested RAM contents are shown in Table 3-16. All values are hexadecimal.
Address C6h
7 6 5 4 3 2 1 0
FIFO full error FIFO empty TTX available CC field 1 CC field 2 WSS/CGMS-A VPS/Gemstar VITC available
available available available 2x available
The VDP status register indicates whether data is available in either the FIFO or data registers, and status
information about the FIFO. Reading data from the corresponding register does not clear the status flags
automatically. These flags are only reset by writing a 1 to the respective bit. However, bit 6 is updated
automatically.
FIFO full error
0 = No FIFO full error
1 = FIFO was full during a write to FIFO.
The FIFO full error flag is set when the current line of VBI data can not enter the FIFO. For example, if
the FIFO has only ten 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 two bytes of data plus the header, this goes into the FIFO, even if the full error
flag is set.
FIFO empty
0 = FIFO is not empty.
1 = FIFO is empty.
TTX available
0 = Teletext data is not available.
1 = Teletext data is available.
CC field 1 available
0 = Closed caption data from field 1 is not available.
1 = Closed caption data from field 1 is available.
CC field 2 available
0 = Closed caption data from field 2 is not available.
1 = Closed caption data from field 2 is available.
WSS/CGMS-A available
0 = WSS/CGMS-A data is not available.
1 = WSS/CGMS-A data is available.
VPS/Gemstar 2x available
0 = VPS/Gemstar 2x data is not available.
1 = VPS/Gemstar 2x data is available.
VITC available
0 = VITC data is not available.
1 = VITC data is available.
Address C7h
7 6 5 4 3 2 1 0
Number of words
This register provides the number of words in the FIFO. One word equals two bytes.
Address C8h
Default 80h
7 6 5 4 3 2 1 0
Number of words
This register is programmed to trigger an interrupt when the number of words in the FIFO exceeds this
value (default 80h). This interrupt must be enabled at address C1h. One word equals two bytes.
Address C9h
Default 00h
7 6 5 4 3 2 1 0
Any data
Writing any data to this register resets the FIFO and clears any data present in all VBI read registers.
Address CAh
Default 00h
7 6 5 4 3 2 1 0
Field 1 enable Field 2 enable Line number
This register is programmed to trigger an interrupt when the video line number matches this value in bits
5:0. This interrupt must be enabled at address C1h. The value of 0 or 1 does not generate an interrupt.
Field 1 enable
0 = Disabled (default)
1 = Enabled
Field 2 enable
0 = Disabled (default)
1 = Enabled
Line number default is 00h.
These registers form a 10-bit horizontal pixel position from the falling edge of 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.
Address CDh
Default 01h
7 6 5 4 3 2 1 0
Reserved Host access
enable
This register is programmed to allow I2C access to the FIFO or to allow all VDP data to go out the video
port as ancillary data.
Host access enable
0 = Output FIFO data to the video output Y[7:0] as ancillary data
1 = Read FIFO data via I2C register B0h (default)
Address CFh
Default 00h
7 6 5 4 3 2 1 0
Reserved Full field enable
This register enables the full field mode. In this mode, all lines outside the vertical blank area and all lines
in the line mode registers programmed with FFh are sliced with the definition of register FCh. Values other
than FFh in the line mode registers allow a different slice mode for that particular line.
Full field enable
0 = Disable full field mode (default)
1 = Enable full field mode
These registers program the specific VBI standard at a specific line in the video field.
Bit 7
0 = Disable filtering of null bytes in closed caption modes
1 = Enable filtering of null bytes in closed caption modes (default)
In teletext modes, bit 7 enables the data filter function for that particular line. If it is set to 0, the data
filter passes all data on that line.
Bit 6
0 = Send VBI data to registers only
1 = Send VBI data to FIFO and the registers. Teletext data only goes to FIFO (default).
Bit 5
0 = Allow VBI data with errors in the FIFO
1 = Do not allow VBI data with errors in the FIFO (default)
Bit 4
0 = Do not enable error detection and correction
1 = Enable error detection and correction (default)
Bits [3:0]
0000 = WST SECAM
0001 = WST PAL B
0010 = WST PAL C
0011 = WST NTSC
0100 = NABTS NTSC
0101 = TTX NTSC-J
0110 = CC PAL
0111 = CC NTSC
1000 = WSS/CGMS-A PAL
1001 = WSS/CGMS-A NTSC
1010 = VITC PAL
1011 = VITC NTSC
1100 = VPS PAL
1101 = Gemstar 2x Custom 1
1110 = Custom 2
1111 = Active video (VDP off) (default)
A value of FFh in the line mode registers is required for any line to be sliced as part of the full field mode.
Address FCh
Default 7Fh
7 6 5 4 3 2 1 0
Full field mode
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
definitions as the line mode registers (default 7Fh).
4 Electrical Specifications
t1 t2
SCLK
t3 t4
VOH
Y, C, AVID,
Valid Data Valid Data
VS, HS, FID
VOL
t5
t6
t1 t5 t3
t3 t6 t4
t2
t7 t8
VC0 (SCL)
5.1 Example 1
5.1.1 Assumptions
Device: TVP5150AM1
Input connector: Composite (AIP1A)
Video format: NTSC-M, PAL (B, G, H, I), or SECAM
NOTE
NTSC-4.43, PAL-N, and PAL-M are masked from the autoswitch process by default. See the
autoswitch mask register at address 04h.
NOTE
HSYNC, VSYNC/PALI, AVID, and FID/GLCO are high impedance by default. See the
miscellaneous control register at address 03h.
5.2 Example 2
5.2.1 Assumptions
Device: TVP5150AM1
Input connector: S-video (AIP1A (luminance), AIP1B (chrominance))
Video Format: NTSC (M, 4.43), PAL (B, G, H, I, M, N, Nc) or SECAM (B, D, G, K1, L)
Output format: 8-bit 4:2:2 YCbCr with discrete sync outputs
6 Application Information
IO_DVDD
C2 C1
1 µF 1 µF
10 kW
See Note I
C3 PDN
1 µF PDN
INTREQ/GPCL/VBLK
INTREQ/GPCL/VBLK
AVID
AVID
HSYNC
C4 HSYNC
R1 0.1 µF 0.1 µF AVDD 10 kW IO_DVDD
CH1_IN AAF See Note H
37.4 W
32
31
30
29
28
27
26
25
C11
R2
PDN
REFM
CH_AVDD
CH_AGND
AVID
REFP
HSYNC
INTREQ/GPCL/VBLK
37.4 W R3 R4
2.2 kW 2.2 kW
R5 0.1 µF 1 24 VSYNC/PALI
AIP1A VSYNC/PALI VSYNC/PALI
C5 2 23 FID/GLCO
CH2_IN AAF AIP1B FID/GLCO FID/GLCO
3 22 SDA
37.4 W PLL_AGND SDA
AVDD 4 21 SCL DVDD
PLL_AVDD TVP5150AM1 SCL
5 20
R6 XTAL1/OSC_IN DVDD
6 19
37.4 W C6 XTAL2 DGND
0.1 µF 7 18
AGND YOUT0 C7
8 17
YOUT7/I2CSEL
YOUT6
YOUT5
YOUT4
YOUT3
YOUT2
SCLK
OSC_IN S1
1 2
11
10
12
13
14
15
16
9
OSC_IN
Y1
14.31818 MHz ± 50 ppm SCLK
SCLK
RESETB
IO_DVDD
R
C8 C9
YOUT[7:0]
C10 IO_DVDD
CL1 CL2 0.1 µF
2
R7 Implies I C address is BAh. If B8h is to be used,
10 kW connect pulldown resistor to digital ground.
7 Revision History
www.ti.com 6-Feb-2020
PACKAGING INFORMATION
Orderable Device Status Package Type Package Pins Package Eco Plan Lead/Ball Finish MSL Peak Temp Op Temp (°C) Device Marking Samples
(1) Drawing Qty (2) (6) (3) (4/5)
TVP5150AM1IPBS ACTIVE TQFP PBS 32 250 Green (RoHS NIPDAU Level-3-260C-168 HR -40 to 85 5150I
& no Sb/Br)
TVP5150AM1IPBSQ1 ACTIVE TQFP PBS 32 250 Green (RoHS NIPDAU Level-3-260C-168 HR -40 to 85 5150Q
& no Sb/Br)
TVP5150AM1IPBSR ACTIVE TQFP PBS 32 1000 Green (RoHS NIPDAU Level-3-260C-168 HR -40 to 85 5150I
& no Sb/Br)
TVP5150AM1IPBSRG4 ACTIVE TQFP PBS 32 1000 Green (RoHS NIPDAU Level-3-260C-168 HR -40 to 85 5150I
& no Sb/Br)
TVP5150AM1PBS ACTIVE TQFP PBS 32 250 Green (RoHS NIPDAU Level-3-260C-168 HR 0 to 70 5150AM1
& no Sb/Br)
TVP5150AM1PBSR ACTIVE TQFP PBS 32 1000 Green (RoHS NIPDAU Level-3-260C-168 HR 0 to 70 5150AM1
& no Sb/Br)
TVP5150AM1PBSRG4 ACTIVE TQFP PBS 32 1000 Green (RoHS NIPDAU Level-3-260C-168 HR 0 to 70 5150AM1
& no Sb/Br)
TVP5150AM1PBSRHIK ACTIVE TQFP PBS 32 1000 Green (RoHS NIPDAU Level-3-260C-168 HR 0 to 70 5150AM1
& 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)
RoHS: TI defines "RoHS" to mean semiconductor products that are compliant with the current EU RoHS requirements for all 10 RoHS substances, including the requirement that RoHS substance
do not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, "RoHS" products are suitable for use in specified lead-free processes. TI may
reference these types of products as "Pb-Free".
RoHS Exempt: TI defines "RoHS Exempt" to mean products that contain lead but are compliant with EU RoHS pursuant to a specific EU RoHS exemption.
Green: TI defines "Green" to mean the content of Chlorine (Cl) and Bromine (Br) based flame retardants meet JS709B low halogen requirements of <=1000ppm threshold. Antimony trioxide based
flame retardants must also meet the <=1000ppm threshold requirement.
(3)
MSL, Peak Temp. - The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.
(4)
There may be additional marking, which relates to the logo, the lot trace code information, or the environmental category on the device.
Addendum-Page 1
PACKAGE OPTION ADDENDUM
www.ti.com 6-Feb-2020
(5)
Multiple Device Markings will be inside parentheses. Only one Device Marking contained in parentheses and separated by a "~" will appear on a device. If a line is indented then it is a continuation
of the previous line and the two combined represent the entire Device Marking for that device.
(6)
Lead/Ball Finish - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead/Ball Finish values may wrap to two lines if the finish
value exceeds the maximum column width.
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information
provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and
continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals.
TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.
Addendum-Page 2
IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you
permission to use these resources only for development of an application that uses the TI products described in the resource. Other
reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third
party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims,
damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on
ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable
warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2020, Texas Instruments Incorporated