Multiport YCrCb to NTSC / PAL
Digital Video Encoder
The Bt860/861 is a multiport digital video encoder with pixel synchronization and
per-pixel blending capabilities. The three 8-bit YCrCb data ports allow for a variety of
video and graphic overlay configurations useful in video set-top box applications.
The Bt860/861 is specifically designed for video systems requiring composite,
Y/C (S-Video), and simultaneous component YUV or RGB (SCART) video signals.
Worldwide video standards are supported, including NTSC-M (N. America, Taiwan,
Japan), PAL-B,D,G,H,I (Europe, Asia), PAL-M (Brazil), PAL-N (Uruguay, Paraguay),
PAL-Nc (Argentina), PAL-60, NTSC-443, and SECAM. The Bt860 and Bt861 are
functionally identical except that the Bt861 can output the Macrovision 7.x anticopy
algorithm.
Multisource video is a key feature of the Bt860/861. Two general purpose ports
(P and OSD) allow synchronization with sources that can share clock and frame
timing control with the Bt860/861, such as digital video and graphic overlay content
generated by an MPEG video decoder. A third port (VID) is specifically configured to
interface with video decoders such as those in the Conexant VideoStream decoder
family. Any pair of these three ports can be synchronized and blended.
Functional Block Diagram
SICSIDALTADDRRESET*VREF
TTXDAT
TTXREQ
VID[7:0]
VIDCLK
VIDHACT
VIDVACT
VIDVALID
VIDFIELD
HSYNC*
VSYNC*
BLANK*
FIELD
ALPHA[1:0]
P[7:0]
OSD[7:0]
CLKO
XTI
XTO
CLKIN
Teletext
Encoder
Pixel
Sync.
and
Mixing
XTAL
OSC
1.3 MHz
LPF
PLL
Serial
Interface
2x
Upsampling
Clock
Generation
Mod.
and
Mixer
Internal
Internal
VREF
VREF
/
Color
Space
Convert
SECAM
FSADJ1
10
DAC
10
DAC
10
DAC
10
DAC
10
DAC
10
DAC
FSADJ2
COMP1
DAC A
DAC B
DAC C
DAC D
DAC E
DAC F
COMP2
Distinguishing Features
• Six 10-bit DACs with individual power
management
• Simultaneous output of YUV, S-Video,
and CVBS, or RGB (SCART), S-Video,
and CVBS
• Current drive output DACs for superior
video quality and reduced system cost
• Dynamic video load sensing for reduced
power operation
• Three sharpness filter options (1,2,3.5 dB
gain) and four reduction filter options
• Programmable adjustment of brightness,
contrast, color saturation, and hue
• Glueless interface with a video decoder
• Three 8-bit YCrCb 4:2:2 inputs for overlay
or blending
• ITU-R BT.656, ITU-R BT.601 digital video
input options
• NTSC-M, PAL (B,D,G,H,I), PAL-M, PAL-N,
NTSC-443, PAL-Nc, PAL-60 and SECAM
video output
• 2x upsampling and internal filtering for
reduced cost
• Master or slave video timing with
programmable HSYNC* delay
• Interlaced/noninterlaced operation
• Macrovision 7.x copy protection (Bt861)
• Closed Captioning and Extended Data
Services encoding
• Teletext encoding (WST system B)
• 400 kHz serial programming interface
• On-board voltage reference
• Reduced power modes
• Programmable luma delay (two channels)
• 3.3 V supply, 5 V-tolerant inputs
• Copy Generation Management System
(CGMS) support
• VARIS-II and Wide Screen Signalling
(WSS) multiple aspect ratio support
• Internal color bar generation
• Blue field generation
• 80-pin MQFP package
Related Products
• Bt852, Bt868/869, Bt864A/865A,
Bt866/867
• Bt835, Bt829A/B
Applications
• Digital cable television systems
• Satellite TV receivers (DBS/DVB/DSS)
• DVD players
• Video CD players
• Digital cameras
• PC add-on cards
• Video editing
Data SheetD860DSA
July 27, 1999
Ordering Information
Model NumberPackageOperating Temperature
Bt860KRF80–Pin MQFP0
Bt861KRF80–Pin MQFP0
C–70 °C
°
C–70 °C
°
Information provided by Conexant Systems, Inc. (Conexant) is believed to be accurate and reliable. However, no responsibility is
assumed by Conexant for its use, nor any infringement of patents or other rights of third parties which may result from its use. No
license is granted by implication or otherwise under any patent rights of Conexant other than for circuitry embodied in Conexant
products. Conexant reserves the right to change circuitry at any time without notice. This document is subject to change without
notice.
Conexant products are not designed or intended for use in life support appliances, devices, or systems where malfunction of a
Conexant product can reasonably be expected to result in personal injury or death. Conexant customers using or selling Conexant
products for use in such applications do so at their own risk and agree to fully indemnify Conexant for any damages resulting from
such improper use or sale.
Conexant and “What’s Next in Communications Technologies” are trademarks of Conexant Systems, Inc.
This device is protected by U .S . patent numbers 4,631,603, 4,577,216, and 4,819,098, and other intellectural property rights. The use
of Macrovision’s copy protection technology in the device must be authorized by Macrovison and is intended for home and other
limited pay-per-view uses only, unless otherwise authorized in writing by Macrovision. Reverse engineering or disassembly is
prohibited.
Product names or services listed in this publication are for identification purposes only, and may be trademarks or registered
trademarks of their respective companies. All other marks mentioned herein are the property of their respective holders.
To improve the quality of our publications, we welcome your feedback. Please send comments or
suggestions via e-mail to Conexant Reader Response@conexant.com. Sorry, we can't answer your technical
questions at this address. Please contact your local Conexant sales office (listed on back page) or applications
engineer if you have technical questions.
P[7:0]I22-19, 16-13Primary video input port (TTL compatible)
(1)
. Accepts pixel data in 8-bit YCrCb 4:2:2
format in either ITU-R BT.601 or ITU-R BT.656 control formats. A higher index
corresponds to a greater bit significance. By default, data is latched on the rising
edge of the system clock
(2)
.
CLKOO702x pixel clock output. The clock generated by the PLL is produced at this pin when
register bit CLKO_DIS = 0.
VSYNC*I/O24Vertical sync input/output (TTL compatible). As an output (master mode operation),
VSYNC* follows the rising edge of the system clock. As an input (slave mode
operation), VSYNC* is, by default, registered on the rising edge of the system
(2)
. The VSYNCI register bit controls the polarity of this signal.
clock
HSYNC*I/O25Horizontal sync input/output (TTL compatible). As an output (master mode
operation), HSYNC* follows the rising edge of the system clock. As an input (slave
mode operation), HSYNC* is, by default, registered on the rising edge of the system
(2)
. The HSYNCI register bit controls the polarity of this signal.
clock
BLANK*I23Composite blanking control input (TTL compatible). By default, BLANK* is
registered on the rising edge of the system clock
(2)
. The video data inputs are
ignored while BLANK* is a logical 0. The BLANKI register bit controls the polarity of
this signal.
FIELDO26Field control output (TTL compatible). FIELD transitions after the rising edge of the
system clock, two clock cycles following a falling HSYNC*. The FIELDI register bit
controls the polarity of this signal. The state of this pin at power-up determines the
default state of the PCLK_SEL register bit and the initial clock source. If not
externally loaded, this pin will be pulled low with an internal pull-down resistor.
SECONDARY VIDEO PORT
VID[7:0]I6-1, 80-79Secondary video input port (TTL compatible). Accepts pixel data in 8-bit YCrCb
4:2:2 format. A higher index corresponds to a greater bit significance. By default,
data on the VID port is latched by the rising edge of VIDCLK
(1)
VIDCLKI9Pixel clock for secondary video input port
VIDHACTI12Horizontal active display region. A logical 1 indicates data on VID[7:0] is in the
horizontal display region.
The VIDHACTI register bit controls the polarity of this
.
signal. By default, data on VIDHACT is latched by the rising edge of VIDCLK
VIDVACTI11Vertical active display region. The VIDVACTI register bit controls the polarity of this
signal. By default, data on VIDVACT is latched by the rising edge of VIDCLK
(1) (3)
.
(1) (3)
.
(1) (3)
.
VIDFIELDI72Field indicator for video input port. A logical 1 indicates data is from an even field.
The VIDFIELDI register bit controls the polarity of this signal. By default, data on
VIDFIELD is latched by the rising edge of VIDCLK
(1) (3)
.
VIDVALIDI10Video data valid qualifier. A logical 1 indicates data on VID[7:0] is valid data. The
VIDVALIDI register bit controls the polarity of this signal. By default, data on
VIDVALID is latched by the rising edge of VIDCLK
(1) (3)
.
1-2ConexantD860DSA
Bt860/8611.0 Functional Description
Multiport YCrCb to NTSC/PAL /SECAM
1.1 Pin Descriptions
Table 1-1. Pin Assignments (2 of 3)
Pin NameI/OPin #Description
GRAPHIC AND BLENDING PINS
OSD[7:0]I40-39, 36-31Dedicated graphic overlay port (TTL compatible.) Accepts pixel data in 8-bit YCrCb
4:2:2 format. Data is latched on the rising edge of the system clock
ALPHA[1:0]I30-29Alpha blend pins. Provides for 1-, 2-, or 4-bit external blend selection between video
and graphic overlay data. Data is latched on the rising edge of the system clock
(1) (2)
.
TELETEXT AND SERIAL CONTROL INTERFACE
TTXDATI74Teletext data input (TTL compatible)
TTXREQO73Teletext request output (TTL compatible).
ALTADDRI/O62Alternate slave address input (TTL compatible). This pin is sampled immediately
following a power-up or pin reset. A logical 1 corresponds to write address of 0x88
and a read address of 0x89, while a logical 0 corresponds to a write address of 0x8A
and a read address of 0x8B. See Chapter 5.0, for more detail. This pin also provides
special SCART signals when register field SCART_SEL≠00.
SIDI/O75Serial programming interface data input/output (TTL compatible). Data is written to
and read from the device via this serial bus.
(1)
.
(1) (2)
.
SICI76Serial programming interface clock input (TTL compatible). The maximum clock rate is
400 kHz.
ANALOG VIDEO
DACAO59DAC A output. See Table 3-9.
DACBO58DAC B output. See Table 3-9.
DACCO57DAC C output. See Table 3-9.
DACDO44DAC D output. See Table 3-9.
DACEO43DAC E output. See Table 3-9.
DACFO42DAC F output. See Table 3-9.
FSADJ1
FSADJ2
VREFO49Voltage reference pin. A 1.0 µF ceramic capacitor must be used to decouple this pin
COMP1
COMP2
I53
48
O54
47
Full-scale adjust control pin. Resistors RSET1 and RSET2 connected between these
pins and AGND control the full-scale output current of the DACs. For standard
operation, use the nominal values shown under Recommended Operating
Conditions. FSADJ1 controls DACs A/B/C and FSADJ2 controls DACs D/E/F.
to AGND. The capacitor must be as close to the device as possible to keep lead
lengths to an absolute minimum.
Compensation pin. A 0.1 µF ceramic capacitor must be used to decouple this pin to
VAA. The capacitor must be as close to the device as possible to keep lead lengths
to an absolute minimum.
VBIAS1
VBIAS2
O56
45
DAC bias voltage. Use a 0.1 µF ceramic capacitor to bypass this pin to AGND; the
capacitor must be as close to the device as possible to keep lead lengths to an
absolute minimum.
D860DSAConexant1-3
1.0 Functional DescriptionBt860/861
1.1 Pin Descriptions
Multiport YCrCb to NTSC/PAL /SECAM
Table 1-1. Pin Assignments (3 of 3)
Pin NameI/OPin #Description
SYSTEM PINS
CLKINI712x pixel clock input (TTL compatible).
RESET*I63Reset control input (TTL compatible). Setting to zero resets video timing
(horizontal, vertical, subcarrier counters to the start of VSYNC of first field), the
serial control interface, and all registers. RESET* must be a logical 1 for normal
operation. Holding this pin low for 50 clocks or more will ensure that all functions
are properly reset.
XTII67Crystal input for PLL.
XTOO68Crystal output for PLL.
POWER AND GROUND
VAA—55, 46, 52Analog power. See Section 4.1 of this document.
VDD—7, 28, 38, 64, 78Digital power. See Section 4.1 of this document.
AGND—41, 50, 51, 60Analog ground. See Section 4.1 of this document.
GND—8, 17, 27, 37,
Digital ground. See Section 4.1 of this document.
61, 65, 77
VPLL—69Dedicated power supply for PLL.
PGND—66Dedicated ground for PLL.
VDDMAXI18This pin must be tied to the maximum digital input value. Use 3.3 V if only 3.3 V
inputs are used, and 5 V if 3.3/5 V inputs are used.
NOTE(S):
(1)
If these inputs are not used, they should be connected to GND.
(2)
These input are normally sampled on the rising edge of the system clock, but can be sampled on the falling edge by setting
register bit PCLK_EDGE = 1.
(3)
These inputs are normally sampled on the rising edge of VIDCLK, but can be sampled on the falling edge by setting register bit
VIDCLK_EDGE = 1.
1-4ConexantD860DSA
Bt860/8611.0 Functional Description
Multiport YCrCb to NTSC/PAL /SECAM
1.2 Functional Overview
The Bt860/861 is a highly programmable 3.3 V multiport digital video encoder
with pixel synchronization and per-pixel blending capabilities. It is equipped with
three 8-bit YCrCb data ports that allow a variety of video and graphic overlay
configurations useful in video set top box applications.
The three 8-bit YCrCb data ports allow two video streams and one
alpha-blended overlay stream. For switching between video sources (such as a
video decoder and an MPEG source), while providing a common OSD interface
using the part’s overlay and alpha capabilities.
The Bt860/861's VID port uses a PLL and FIFO to allow direct interfacing
with asynchronous video sources, such as the Bt835 video decoder.
In slave mode, the Bt860/861 can be configured to accept either
ITU-R BT.656-compliant timing (EAV and SAV codes) or ITU-R BT.601 data
timing (HSYNC* and VSYNC* signals). The Bt860/861 can also act as timing
master, producing ITU-R BT.601 timing.
The Bt860/861 supports worldwide video standards, including:
•NTSC-M (N. America, Taiwan, Japan)
•PAL-B, D, G, H, I (Europe, Asia)
•PAL-M (Brazil)
•PAL-N (Uruguay, Paraguay)
•PAL-Nc (Argentina)
•PAL-60, NTSC-443
•SECAM
The Bt860/861 has six 10-bit current-out video DACs, specifically designed
for video systems requiring the generation of high quality composite, Y/C
(S-Video), and simultaneous component YUV or RGB (SCART) video signals.
Two of the composite output signals can be programmed with a 0–7 clock
luminance delay. The connection status of each DAC can be dynamically
monitored through the serial programming interface.
The Bt860/861 has several low power options, including sleep mode (only the
serial programming interface and PLL are operational), individual DAC disable,
PLL disable, and 3.3 V operation. The 3.3 V digital inputs can be configured to
be 5 V-tolerant.
The luminance upsampling filter is enhanced to provide a narrow transition
region and a low stopband. Programmable luminance sharpness filters provide
0,1, 2, and 3.5 dB peaking options at higher video frequencies, and four reduction
filters are added for smoothed step response. To reduce the complexity of the
required reconstruction filter, 2x upsampling is implemented.
The Bt860/861 can produce internally generated colorbars and blue field
signals.
A 400 kHz serial programming interface (I
system programming.
The Bt860/861 provides support for Closed Captioning (CC) and Extended
Data Services (XDS), Teletext (WST system B), Copy Generation Management
System (CGMS), VARIS-II, and Wide Screen Signaling (WSS).
The Bt860 and Bt861 are functionally identical except that the Bt861 can
output the Macrovision 7.x anticopy algorithm.
1.2 Functional Overview
2
C-compatible) is provided for fast
D860DSAConexant1-5
1.0 Functional DescriptionBt860/861
1.2 Functional Overview
Figure 1-2. Detailed Block Diagram
COMP1
FB
FSADJ1
FSADJ2VBIAS1 VBIAS2
VREF
Reference
Internal Voltage
FB
COMP2
Multiport YCrCb to NTSC/PAL /SECAM
DAC B
DAC A
DAC
10
Y
DAC
10
Luma
DAC C
DAC
10
CVBS
Delay
Out
Mux
U/V
DAC D
DAC
10
X
RGB
+
TTXREQTTXDAT
Color
Teletext
and CGMS
Space
Convert
DAC E
DAC
10
X
DLY
CVBS
+
10
DAC F
DAC
X
C
10
Modulator,
Mixer and
M_COMP_F
M_COMP_E
HUE_OFF
SECAM Filt.
M_COMP_D
Serial
Control
SIC
SID
10
Y
Alpha
8
2
8
OSD[7:0]
ALPHA[1:0]
Interface
ALTADDR
CRCB
Mixing
P[7:0]
10
8
656
Decoder
Sync
SYNC_AMP
Video
HSYNC*
Processor
M_Y
Timing
Control
FIELD
BLANK*
VSYNC*
9
+
X
Closed
8
VID[7:0]
Luminance
2x Upsample
Captioning,
Macrovision
Clock
PLL and
Generation
and
FIFO
Locking
VIDCLK
VIDVALID
and
Cross Color
M_CR
Control
VIDVACT
VIDHACT
Peaking Filt.
M_CB
VIDFIELD
and 2X
1.3 MHz LPF
X
XTI
CLKO
CLKIN
Matrix
Upsample/
Multiplication
Burst
XTO
Processor
BST_AMP
861_028
1-6ConexantD860DSA
2
2.0 Inputs and Timing
2.1 Reset
The Bt860/Bt861 has the following reset methods:
•power-up reset
•RESET* pin reset
•software reset register bit
Power-up reset occurs when the part is powered-up. A pin reset occurs when
the RESET* pin is held low. (It is recommended that the pin be held low for a
minimum of 50 system clock cycles.) Both power-up and pin reset cause the
initialization of all chip functions, including video timing and serial programming
registers.
Writing a 1 to register bit SRESET (1B[7]) resets all serial programing
registers to their default states, listed in Section 5.0.
2.1.1 Initialization and Power-up Configuration
At power-up all registers reset to their initial values (see Section 5.0).
The state of the FIELD pin at power-up (or pin reset) determines the default
state of the PCLK_SEL register bit and the initial clock source. If the FIELD pin
is pulled high, the initial clock source is the CLKIN pin; if the FIELD pin is
pulled low, the initial clock source is from the PLL and requires a crystal at the
XTI and XTO pins. If not loaded, the FIELD pin is pulled low with the pin’s
internal pull-down resistor.
The power-up configuration is interlaced NTSC-M, 27 MHz black burst
video, as listed in the default values of the register bit map.
To enable active video, black burst video must be turned off by setting
NOTE:
register bit EACTIVE (1D[1]) to 1. Other video configurations must be
programmed using the part’s serial programming interface registers.
D860DSAConexant2-1
2.0 Inputs and TimingBt860/861
2.2 Digital Video Ports
Multiport YCrCb to NTSC/PAL /SECAM
2.2 Digital Video Ports
Internally, data to the Bt860/861 is treated as either video, overlay, or alpha data.
Video data is the primary visual program content, while overlay data is used for
informational or navigational content displayed over the visual program. Alpha
data controls the pixel blending of the video and overlay content. Sufficient
flexibility exists in the Bt860/861 to allow for a variety of source and blending
configurations and interesting visual effects.
Video data is supplied by either the P (Primary Video) port, or the VID
(Secondary Video) port. Overlay data can be supplied by either the P port or the
OSD (On Screen Display) port. Alpha data can be supplied by the ALPHA port,
or embedded in the two LSBs of the overlay luminance data. Figure 2-1
illustrates the pixel latching and blending mechanism.
Figure 2-1. Pixel Latching and Blending Mechanism
ALPHA
OSD
2
8
8
P
2
OVERLAY_SEL
2
Overlay
Stream
Blend
Detection
8
4
Pixel
Blender
8
VID
VIDCLK
VIDVALID
VIDHACT
VIDVACT
VIDFIELD
CLKIN
XTI
XTO
CLKO
8
VIDEO_SEL
PLL
and
Clock
Logic
8
Video
Stream
861_042
2-2ConexantD860DSA
Bt860/8612.0 Inputs and Timing
Multiport YCrCb to NTSC/PAL /SECAM
2.2.1 The P Port
The P port can accept video data from a variety of digital video sources. It is
designed specifically to interface directly with commercial MPEG video decoders
and D1 digital video sources. The P port supports both ITU-R BT.601 timing
(HSYNC* and VSYNC* signals), and ITU-R BT.656 timing (SAV and EAV
codes).
Data on the P[7:0] pins can be treated as either video or overlay data,
controlled by the VIDEO_SEL (1A[3]) and OVRLAY_SEL (1A[4]) register bits
(see Figure 2-1). Data on this port must be presented in 8-bit YCrCb 4:2:2 digital
video format. The P[7:0] pins are latched using the system clock as configured
using register bits PCLK_SEL (19[7]) and PCLK_EDGE (19[1]).
2.2.2 The VID Port
The VID port is specially configured for broadcast video sources, such as from a
television tuner or local cable system. It can accept a 27 MHz YCrCb 4:2:2 video
stream at the same pixel rate as the other ports, or it can accommodate alternate
clock rates, such as the 8xF
decoders. Since the time base for these sources is external to the system and
therefore asynchronous to the local pixel clock, the Bt860/861 provides a
mechanism that synchronizes these two domains. When using the VID port in
locking mode, the Bt860/861 immediately synchronizes its vertical timing to the
vertical timing presented on the VIDVACT pin, and gradually adjusts its
horizontal timing and clock rate to further synchronize with the VID port.
VIDCLK latches the incoming data into a FIFO, and data is extracted at the
appropriate pixel rate for internal processing.
The average active horizontal pixel count must be equal to the value
programmed into the HACTIVE register field. For example, the Bt835 generates
pixels at a rate of 14.32 Mpix/s when used for NTSC video capture, but the actual
valid pixel count per line is determined by the video mode required. For support
of 27 MHz streams, 720 valid pixels will be delivered per line. This configuration
is compatible with other video devices connected to the Bt860/861 and running
with a continuous pixel rate of 13.5 Mpix/s. The Bt860/861 will generate the
necessary video timing and pixel clock to act as master for the other video device.
The VID port can be configured as the video source by setting register bit
VIDEO_SEL (1A[3]) to 1. Data on this port must be presented in 8-bit YCrCb
4:2:2 digital video format.
2.2 Digital Video Ports
clock rate used by the Bt835 family of video
sc
2.2.3 The OSD Port
The OSD port is functionally very similar to the P port, except that it cannot decode
ITU-R BT.656 timing. As the overlay source, this port can be mixed with the video
stream using one of the alpha-mixing modes described in Section 2.2.5. While
intended as an overlay source, the OSD port can be configured to be the sole image
content by using the appropriate blend programming.
The overlay source is selected by setting register bit OVRLAY_SEL (1A[4])
to 1. Data on this port must be presented in 8-bit YCrCb 4:2:2 digital video
format. The OSD[7:0] pins are latched using the system clock as configured by
register bits PCLK_SEL (19[7]) and PCLK_EDGE (19[1]).
D860DSAConexant2-3
2.0 Inputs and TimingBt860/861
2.2 Digital Video Ports
Multiport YCrCb to NTSC/PAL /SECAM
2.2.4 Overlay Modes and Alpha Blending
The Bt860/861 can be configured to display only a single video stream, or to mix
any combination of two data ports (P, VID, and OSD). Programming register field
ALPHAMODE (1A[6:5]) to 00 and register bit BLENDMODE (1A[7]) to 1
selects the internal video bus as the sole source of data, regardless of the alpha
source. In this mode, either the VID port or the P port can be used as the video
source, which is selected by register bit VIDEO_SEL (1A[3]). Other
combinations of the ALPHAMODE and BLENDMODE programming will allow
blending of the video and overlay buses. Table 2-1 lists all valid input modes.
Table 2-1. Alpha Blending Configurations
ConfigurationProgramming
Use
Video source
VIDNoneNoneNone100 1XNo
VIDPALPHA[1:0]1 bit
VIDPALPHA[1:0]2 bit
VIDPALPHA[1:0]4 bit
VIDPP LSBs2 bit
VIDOSDALPHA[1:0]1 bit
VIDOSDALPHA[1:0]2 bit
VIDOSDALPHA[1:0]4 bit
VIDOSDOSD LSBs2 bit
PNoneNoneNone
POSDALPHA[1:0]1 bit
POSDALPHA[1:0]2 bit
POSDALPHA[1:0]4 bit
POSDOSD LSBs2 bit
Data from the overlay source may be applied with varying levels of
transparency, from fully transparent, no overlay, to fully opaque, full overlay. A
4-bit blend multiplier provides sixteen levels of mixing. The value 1111 is a
special case allowing the overlay data to pass completely unmixed. In all other
cases the value applied to the video path is (1 – blend / 16), and the value applied
to the overlay path is (blend / 16), where blend is the 4-bit multiplier value.
Two methods are used to generate the 4-bit multiplier. The multiplier value
can come either from a four-entry by 4-bit lookup table (LUT), or directly from
the ALPHA pins. In both cases, the blend multiplier value will be applied to both
luma and chroma for the co-sited components (Cb0:Y0:Cr0) and a separate
multiplier applied for the (Y1) component.
2-4ConexantD860DSA
Bt860/8612.0 Inputs and Timing
Multiport YCrCb to NTSC/PAL /SECAM
2.2.5 Alpha Pin Blending
The ALPHA[1:0] pins are used to select the amount of blending per pixel when
BLENDMODE = 1. The pins are sampled at the system clock rate and samples
during both luma and chroma components may be captured to create 1-, 2-, or
4-bit blend factors. For 1- and 2-bit blend modes, the multiplier LUT (in registers
ALPHA_LUT_0 through ALPHA_LUT_3 is programmed with user-defined
multiplier values.
In 1-bit blend mode, the ALPHA[0] pin indexes registers ALPHA_LUT_0
and ALPHA_LUT_3 to generate the multiplier value. In 2-bit blend mode, the
ALPHA[1:0] pins are used as a 2-bit index for registers ALPHA_LUT_0 through
ALPHA_LUT_3.
In 4-bit blend mode, the four bits required are captured in successive load
clocks from ALPHA[1:0]. The two LSBs of the 4-bit value are latched during the
luma portion of the overlay data load, and the two MSBs are latched during the
chroma component load. These four bits provide a direct multiplier for the
blending module. Figure 2-2 illustrates the alpha blending timing diagram.
1. Shaded areas indicate which video components are affected by each multiplier or index.
2. A blank data packet means this data carries no alpha information.
A[1]
A[0]
A[0]
A[1]
A[0]
3
3
3
2
2
2
2
2
A[1]
A[0]
A[0]
A[1]
A[0]
3
3
3
3
3
861_026
2.2.6 Content-based Blending
Content-based blending uses the two LSBs of the overlay byte associated with the luma
pixel to address the multiplier lookup table (registers ALPHA_LUT_0 through
ALPHA_LUT_3). This method is selected by setting BLENDMODE = 0, and is a
convenient means of using blending when no alpha pins exist from the overlay device.
D860DSAConexant2-5
2.0 Inputs and TimingBt860/861
2.3 Configurations and Timing
Multiport YCrCb to NTSC/PAL /SECAM
2.3 Configurations and Timing
The Bt860/861 is capable of various ITU-R BT.601, ITU-R BT.656, and
decoder-locked configurations. Table 2-2 lists several ITU-R BT.601 and
ITU-R BT.656 configurations, and Section 2.3.3 discusses decoder-locked
configurations. In any of these configurations, it is possible to synchronize a
primary video source with an alternate video source. These two sources can then
be alpha-mixed, or independently selected for external display. Alpha mixing is
discussed in detail in Section 2.2.5.
Table 2-2. Configurable Timing States
Description
Bt860/861 is timing master,
HSYNC*, VSYNC*, and FIELD
are outputs.
(1)
Timing
Mode
,
1001
SLAVEEN_656SYNC_CFG
Bt860/861 is timing slave, timing
derived from HSYNC*, VSYNC*,
and BLANK* signals
Bt860/861 is timing slave, timing
derived from ITU-R BT .656 codes.
HSYNC*, and VSYNC* are
unused.
Bt860/861 is timing slave, timing
derived from ITU-R BT .656 codes.
HSYNC*, VSYNC*, and FIELD
are outputs.
NOTE(S):
(1)
Decoder locking using the VID port requires the part to be in timing mode 1, except
SYNC_CFG = 1 is only required if synchronization with other sources is required.
(2)
Either the BLANK* pin or the HBLANK, VBLANK, HACTIVE, and VACTIVE register can be
used for blanking.
3. Configurations not listed are not recommended.
4. X = Don’t care.
(2)
.
(1)
210X
3110
4111
2-6ConexantD860DSA
Bt860/8612.0 Inputs and Timing
Multiport YCrCb to NTSC/PAL /SECAM
2.3.1 ITU-R BT.601 Configurations and Timing
Master and slave ITU-R BT.601 configurations are listed in Table 2-2 as timing
modes 1 and 2. Timing mode 1 is the ITU-R BT.601 master mode. An example
connection diagram is illustrated in Figure 2-3. In this example, both video
sources are slaved to the Bt860/861.
.
Figure 2-3. Timing Mode 1 Connection Example
Video SlaveBt860/861
8
Optional OSD Source, Timing Slave
P[7:0]
HSYNC*
VSYNC*
CLKO
FIELD
2.3 Configurations and Timing
(1)
NOTE(S):
(1)
It is not required that the clock be sourced from the Bt860/861.
8
2
OSD[7:0]
ALPHA[1:0]
XTIXTO
861_009
D860DSAConexant2-7
2.0 Inputs and TimingBt860/861
2.3 Configurations and Timing
Timing mode 2 is the ITU-R BT.601 slave mode. An example connection
diagram is illustrated in Figure 2-4. In this example, the source feeding the P port
is the timing master, and both the optional OSD source and the Bt860/861 are
timing slaves. Although additional sources are shown in these diagrams, it is not
necessary to have more than one video source.
Figure 2-4. Timing Mode 2 Connection Example
Video MasterBt860/861
Optional OSD Source, Timing Slave
Multiport YCrCb to NTSC/PAL /SECAM
8
8
P[7:0]
HSYNC*
VSYNC*
(1)
CLKIN
BLANK*
OSD[7:0]
NOTE(S):
(1)
It is not required that the clock is sourced external to the Bt860/861.
When the Bt860/861 is configured for ITU-R BT.601 timing, the HSYNC*,
VSYNC*, FIELD, and BLANK* pins synchronize the Bt860/861 to external
video sources. In master mode, HSYNC* field, and VSYNC* are outputs and the
BLANK* pin is not used. All timing is generated internally and blanking is
determined by the HBLANK, VBLANK, HACTIVE, and VACTIVE registers. In
slave mode, HSYNC*, VSYNC* and BLANK* are inputs and the encoder’s
timing is controlled by an external master. Blanking is set either by the internal
HBLANK, VBLANK, HACTIVE, and VACTIVE registers (register bit
BLK_IGNORE = 1) or by a blanking signal on the BLANK* pin (register bit
BLK_IGNORE = 0).
2
ALPHA[1:0]
861_007
2-8ConexantD860DSA
Bt860/8612.0 Inputs and Timing
Multiport YCrCb to NTSC/PAL /SECAM
If the registers are used to determine video blanking (register bit
BLK_IGNORE = 1), the first component of the first active pixel of a line should
be presented to the encoder at HBLANK + 2 rising system clock edges after the
falling edge of HSYNC* for master mode, and HBLANK + 3 rising system clock
edges after the falling edge of HSYNC* for slave mode. The correct order of the
pixel components is Cb
timing relationship.
Blanking times (t1) are listed in Tables 3-1 through 3-4. Desired front porch blanking is set by the HBLANK register.
HBLANK = t1 + 14
(2)
The number of active pixels per line (t2) is set by the HACTIVE register.
(3)
The total number of system clocks per line (t3) is set by the HCLK register.
(4)
The first component of the first active pixel of the line should be placed HBLANK + 2 (or 3 for slave mode) rising system
clock edges after falling HSYNC*(t
(5)
When the BLANK* pin is used, the first component of the first pixel must arrive 3 rising system clock edges after the
falling edge of BLANK* (t
).
5
) in order to coincide with the end of horizontal blanking.
4
If the BLANK* signal is used to determine video blanking (in slave mode
only), the first component of the first active pixel of a line should be presented to
the encoder three rising system clock edges after the falling edge of the BLANK*
signal. Figure 2-5 illustrates this relationship.
861_006
D860DSAConexant2-9
2.0 Inputs and TimingBt860/861
2.3 Configurations and Timing
The HBLANK register sets the line blanking time from the midpoint of the
falling edge of the analog horizontal sync pulse to the end of blanking. The
HACTIVE register sets the number of active pixels after the horizontal blanking
period has ended. See Tables 3-1 through 3-4 for appropriate HBLANK and
HACTIVE programming values for various NTSC, PAL, and SECAM video
standards.
Pixel and data timing (P, OSD, ALPHA, HSYNC*, VSYNC*, BLANK*) are
by default, latched into the Bt860/861 on the rising edge of the system clock, but
can be latched on the falling edge of the system clock if register bit PCLK_EDGE
(19[1]) is set high. The system clock can be seen on CLKO or CLKIN when
appropriate. Legal setup and hold times must be observed.
2.3.2 ITU-R BT.656 Timing
Data on the P port can be routed through the part’s ITU-R BT.656 timing
translator only when the system clock is 27 MHz, by setting register bit
EN_656 (1A[2]) high. This is accomplished using timing modes 3 or 4 (see
Table 2-2). Figure 2-6 illustrates an example connection diagram. ITU-R BT.656
timing derives vertical and horizontal timing information from the video data
stream (SAV and EAV codes). These codes are internally converted to HSYNC*
and VSYNC* signals, which can be then be produced on the Bt860/861’s
HSYNC*, VSYNC*, and FIELD pins. ITU-R BT.656 timing (also known as D1
timing) is illustrated in Figures 2-7 and 2-8. The resultant video is automatically
aligned to conform to ITU-R BT.656 video and blanking placement. The contents
of the HBLANK, HACTIVE, VACTIVE, and VBLANK registers are ignored,
except when register bit BLK_IGNORE = 1.
Multiport YCrCb to NTSC/PAL /SECAM
Figure 2-6. Timing Mode 3 and 4 Connection Example
CCIR656 Timing, Video MasterBt860/861
OSD Source, Timing Slave
NOTE(S):
(1)
It is not required that the clock is sourced external to the Bt860/861.
8
8
2
P[7:0]
(1)
CLKIN
OSD[7:0]
HSYNC*
VSYNC*
FIELD
ALPHA[1:0]
861_010
2-10ConexantD860DSA
Bt860/8612.0 Inputs and Timing
Multiport YCrCb to NTSC/PAL /SECAM
Figure 2-7. 625 Line ITU-R BT.656 Timing
Analog Line n – 1
n
Digital Line
Luminance Samples
717 718
Cr Samples
Cb Samples
– 1Digital Line
719 720721730731 732733862863012
35936036536643101
12
2.3 Configurations and Timing
O
H
Digital Blanking
T
Analog Line
132
n
n
T
35936036536643101
T
: luminance sampling period
Figure 2-8. 525 Line ITU-R BT.656 Timing
Analog Line n – 1
n
Digital Line
Luminance Samples
717 718
Cr Samples
– 1Digital Line
719 720721734735 736737856857012
35936036736842801
16
861_005a
O
H
Digital Blanking
T
Analog Line
122
n
n
T
Cb Samples
35936036736842801
T
: luminance sampling period
861_005b
D860DSAConexant2-11
2.0 Inputs and TimingBt860/861
2.3 Configurations and Timing
In this configuration, the Bt860/861 is a slave to the ITU-R BT.656 data
stream. However, the HSYNC*, VSYNC* and FIELD pins can be configured as
outputs for synchronization with a video slave on the OSD port. While in this
configuration, the HSYNC*, VSYNC*, and FIELD timing is identical to
ITU-R BT.601 master mode timing.
2.3.3 VID Port (Video Decoder Locked) Timing
The VID port can accept video signals from a video decoder, such as the Bt835,
and is buffered using a FIFO to support asynchronous video streams. The internal
logic will automatically pulls data from the FIFO when required. The data lines
for the VID port are VID[7:0], and the control lines are VIDCLK, VIDHACT,
VIDVACT, VIDFIELD, and VIDVALID. Figure 2-9 illustrates an example
configuration using the Bt835 and the Bt860. The PLL and the horizontal and
vertical counters are adjusted to track the incoming data on the VID port. The
Bt860/861 can be configured to output HSYNC* and VSYNC* signals in order
to synchronize with the P, OSD, and ALPHA signals. Timing mode 1 must be
used when the VID port is selected in conjunction with a source on the P or OSD
ports. The PLL (using the XTI and XTO inputs) must be selected as the system
clock source.
Multiport YCrCb to NTSC/PAL /SECAM
2-12ConexantD860DSA
Bt860/8612.0 Inputs and Timing
Multiport YCrCb to NTSC/PAL /SECAM
Figure 2-9. Video Decoder Connection Example
Bt835 Video DecoderBt860/861
VD[15:8]
CLKX2
VALID
ACTIVE
VACTIVE
FIELD
MPEG-2 Decoder
Graphic Processor
2.3 Configurations and Timing
8
8
8
VID[7:0]
VIDCLK
VIDVALID
VIDHACT
VIDVACT
VIDFIELD
P[7:0]
CLKO
HSYNC*
VSYNC*
FIELD
OSD[7:0]
2
ALPHA[1:0]
XTIXTO
Follow these steps to lock a video decoder to this port:
Connect to the data and control pins as illustrated in Figure 2-9.
1.
Select the correct effective clock frequency using the PLL_FRACT and
2.
PLL_INT registers, and choose the XTAL inputs as the system clock
source using register bit PCLK_SEL (19[7]). See Section 2.4.1, and the
PLL_FRACT and PLL_INT register descriptions.
Set these locking registers to the following values:
3.
FIELD NAMEVALUE
XL_MDSEL[1:0]11
XL_SATEN1
XL_SAT[3:0]1
Set the part for Timing Mode 1 (see Table 2-2).
4.
Initiate locking by setting the LOCK (1C[5]) register bit high and the
5.
LC_RST (1C[6]) register bit low.
861_008
When unlocking the Bt861 to a source on the VID port, set the
NOTE:
LOCK (1C[5]) register bit low and the LC_RST (1C[6]) register bit high.
D860DSAConexant2-13
2.0 Inputs and TimingBt860/861
2.4 Clock Selection
2.4 Clock Selection
The internal pixel clock (PCLK) can be derived from either the CLKIN input or
the crystal inputs. The PCLK_SEL register bit (19[7]) controls which of these
two inputs will become the pixel clock.
2.4.1 Crystal Inputs and the PLL
The crystal inputs (XTI and XTO) drive a buffered oscillator to create a clock.
This clock is routed through the PLL if register bit BY_PLL (1D[3]) is 0, and
bypasses the PLL untouched if BY_PLL is 1. Figure 2-10illustrates the clock
block diagram. If PCLK_SEL is low, this becomes the system clock.
The PLL_FRACT and the PLL_INT registers determine the PLL clock
frequency multiplier. The default setting generates a 27.0 MHz clock, using a
14.31818 MHz crystal.
If the VID port is enabled using the LOCK (1C[5]) register bit, the PLL is
controlled by the tracking servo mechanism.
The frequency programmed through PLL_FRACT and PLL_INT is used as a
base around which the VID port locking mechanism adjusts the system clock.
The PLL_FRACT and PLL_INT registers remain unaffected by the locking
mechanism, and when locking is disabled (through the LOCK bit), the
PLL_FRACT and PLL_INT registers once again determine the exact PLL
frequency.
Multiport YCrCb to NTSC/PAL /SECAM
Figure 2-10. Timing and Clock Block Diagram
OSD[7:0]
P[7:0]
HSYNC*
VSYNC*
BLANK*
CLKIN
XTI
XTO
CLKO
VIDCLK
VID[7:0]
8
8
CCIR656
8
Timing
Translator
3
Xtal
Inverter
and Buffer
88
FIFO
3
1
0
EN_656
PLL
OSD[7:0]
P[7:0]
VID[7:0]
3
Encoder
Timing
Block
SLAVE
1
0
BY_PLL
System
Block
PCLK_SEL
1
0
CLKO_DIS
System
Clock
861_025
2-14ConexantD860DSA
Loading...
+ 81 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.