The ML6461 is a multi-standard CCIR656 (4:2:2) video
(input) composite and S-video (outputs) encoder for NTSC
systems. It is designed to provide a low cost, single-chip
output interface for a variety of video applications
including set-top decoders, DVD players, and other YCrCb
to Y/C equipment.
The ML6461 accepts 8-bit YCrCb video in either CCIR656
or Square Pixel format and generates analog Y, C and CV
waveforms complete with Closed Caption encoding.
The ML6461 includes output analog reconstruction filters,
phase equalizer , and 6dB (2X gain) drivers. Gain scaling,
sync, and Y+C mixing are performed at the output of the
relevant 10-bit D AC, eliminating the gain mapping stages
that require additional DAC bits. The result is Y SNR and
granularity remain precisely the same as the source.
The ML6461 supports both master and sla v e timing
operations. S-Video and multiple composite signals can be
driven simultaneously into 75Ω loads.
BLOCK DIAGRAM
YCRCB0
21
YCRCB1
20
YCRCB2
19
YCRCB3
18
YCRCB4
17
YCRCB5
13
YCRCB6
12
YCRCB7
11
7
DV
CC1
LUMA
BLANKING
INPUT Y/C DEMUX & CLOCK GENERATOR
TIMING
GENERATOR
(SAV/EAV)
DGNDI
DELAY
COMPEN-
SATION
8
SAMPLER
DV
CC2
UP
CAPTIONING
14
CLOSED
15
DGND2
LUMA
RECONSTRUCTION
FILTER
(FIR)
FEATURES
■ Closed Caption VBI encoder for line 21 and 284
■ Handles SAV/EAV codes for CCIR656 Video
■ Single clock input: 27MHz CCIR656, 24.54MHz Sq. Pix.
■ Color subcarrier correction for overlay applications
■ Onboard analog 7th-order reconstruction filters and
6dB drivers with differential gain/phase of 0.5%/0.5º
■ Y, C, CV outputs drive both AC or DC coupled loads
■ Multiple 75Ω line drivers for two composite outputs,
channel modulator, and S-Video
■ 2-wire serial control bus, or selectable presets for stand-
alone operation
■ Handles Japanese NTSC signals
10 BIT
YDAC
NEGATIVE
SYNC DAC
POSITIVE
SYNC DAC
AV
CC1
1
2
AGND1
7th ORDER
ANALOG
FILTER
WITH
GROUP DELAY
EQUALIZATION
REFERENCE
GENERATOR
+
Σ
+
7th ORDER
ANALOG
FILTER
WITH
GROUP DELAY
EQUALIZATION
AV
CC2
24
25
AGND2
Y
OUT
6dB
6dB
6dB
CV
C
27
OUT
26
OUT
28
16
9
10
5
22
23
CLK
VSYNC
HSYNC
FIELD
SCLK
SDATA
PRESET1
SERIAL
INTERFACE
PRESET0
4
CHROMA
BLANKING
OVERLAY
INTERFACE
PHERR
36
BURST
INSERTION
COLOR
SPACE
CONVERTER
PHASE
ACCUMULATOR
UP
SAMPLER
CHROMA
BANDLIMIT
FILTER
SUBCARRIER
GENERATION
MULTIPLYING
ACCUMULATOR
Σ
SAMPLER
UP
CHROMA
RECONSTRUCTION
FILTER
(FIR)
CDAC
8
1
Page 2
ML6461
PIN CONFIGURATION
AV
CC1
AGND1
PRESET0
PRESET1
FIELD
PHERR
DV
CC1
DGND1
VSYNC
HSYNC
YCRCB7
YCRCB6
YCRCB5
DV
CC2
ML6461
28-Pin SOIC (S28)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
TOP VIEW
28
27
26
25
24
23
22
21
20
19
18
17
16
15
C
OUT
Y
OUT
CV
OUT
AV
CC2
AGND2
SDATA
SCLK
YCRCB0
YCRCB1
YCRCB2
YCRCB3
YCRCB4
CLK
DGND2
2
Page 3
PIN DESCRIPTION
ML6461
PINNAMEFUNCTION
1AV
2AGND1Analog ground pin
3PRESET0Preset input pin for stand alone
or output via the control register (bits
B8 and B9). If configured as output, it
can be programmed to give analog or
digital (even/odd) field information. If
configured as input, it can be used to
set analog fields (1 and 2) or (3 and 4).
Digital 5V supply pin
configured as input in external slave
mode and as output in master and
internal slave (CCIR656) modes.
Polarity and function are programmed
in control register in bits B10, B17,
B26, and B28.
is configured as input in external slave
mode and as output in master and
internal slave (CCIR656) modes.
Polarity and function are programmed
in control register in bits B15, B25,
B28, and B29.
PINNAMEFUNCTION
11YCRCB7YCRCB digital input bit 7
12YCRCB6YCRCB digital input bit 6
13YCRCB5YCRCB digital input bit 5
14DV
15DGND2Digital ground pin
16CLKSystem clock: 27Mhz (CCIR656 rate),
17YCRCB4YCRCB digital input bit 4
18YCRCB3YCRCB digital input bit 3
19YCRCB2YCRCB digital input bit 2
20YCRCB1YCRCB digital input bit 1
21YCRCB0YCRCB digital input bit 0
22SCLKSerial control bus clock input
23SDATASerial control bus data input
24AGND2Analog ground pin
25AV
26CV
27Y
28C
CC2
CC2
OUT
OUT
OUT
Digital 5V supply pin
24.54Mhz (Square Pixel rate)
Analog 5V supply pin
Composite video output
Luma output
Chroma output
3
Page 4
ML6461
ABSOLUTE MAXIMUM RATINGS
Absolute maximum ratings are those values beyond which
the device could be permanently damaged. Absolute
Storage Temperature .................................... –65 to 150ºC
Junction T emperature..............................................120ºC
maximum ratings are stress ratings only and functional
device operation is not implied.
OPERATING CONDITIONS
AVCC, DVCC.................................................... –0.3 to 7V
Analog and Digital Inputs/Outputs....–0.3 to AVCC + 0.3V
Input current per pin................................... –25 to 25mA
Temperature Range........................................0°C to 70°C
Operating Supply Range...............................4.5V to 5.5V
ELECTRICAL CHARACTERISTICS
Unless otherwise specified, AVCC = DVCC = 4.5V to 5.5V, TA = Operating Temperature Range (Note 1)
SYMBOLPARAMETERCONDITIONSMINTYPMAXUNITS
POWER PERFORMANCE
Power Dissipation750mW
SUPPLIES
AV
DV
I
I
DIGITAL INPUT SIGNALS
Analog Supply Voltage4.55.5V
CC
Digital Supply Current4.55.5V
CC
Analog Supply Current125mA
SA
Digital Supply CurrentMax. Programmed Clock Rates35mA
SD
V
V
I
I
DIGITAL OUTPUT SIGNALS
V
V
ENCODER AND DAC (Note 2)
Input Low Voltage0.8V
IL
Input High Voltage2.0V
IH
Low Level Input CurrentVIN = at 0.1V1µA
IL
High Level Input CurrentVIN = at DVCC – 0.1V1µA
IH
Input Capacitance2pF
Low Level Output VoltageI
OL
High Level Output VoltageI
OH
Output Capacitance50pF
Output Amplitude AccuracySMPTE Color Bars25%
CV Output AmplitudeSMPTE Color Bars, Peak-to-Peak0.951.05V
C Output AmplitudeSMPTE Color Bars, Peak-to-Peak0.5940.657V
Y Analog/Digital BandlimitSwept Multiburst5.7MHz
C Analog/Digital BandlimitSwept Multiburst1.5MHz
Vector Phase Accuracy (Note 3)Swept Multiburst–2.512.5º
Vector Amplitude Accuracy (Note 3)SMPTE Color Bars–2.52.5%
Luma Nonlinearity–11IRE
FSC Phase Jitter (RMS)SMPTE Color Bars1º
Quadrature ErrorSMPTE Color Bars1º
SERIAL BUS
SYMBOLPARAMETERCONDITIONSMINTYPMAXUNITS
INPUT
V
V
I
I
Z
C
Low Level Input Voltage00.8V
IL
High Level Input VoltageVCC – 0.8V
IH
Low Level Input CurrentVIN = 0V1.0µA
IL
High Level Input CurrentVIN = DV
IH
Input Impedancef
IN
Input Capacitance2pF
IN
SYSTEM TIMING
f
CLOCKSCLK
V
HYS
t
SPIKE
t
WAIT
Input Hysteresis0.2V
Spike SuppressionMax Length for Zero Response50ns
Wait Time From STOP to START
On S
t
HD/START
t
SU/START
t
LOW
t
t
HD/DATA
t
SU/DATA
Hold Time for START On S
Setup Time for START On S
Min LOW Time On S
Min HIGH Time On S
HI
Hold Time On S
Setup Time OnFast mode100ns
CC
CC
= 100kHz1MΩ
CLK
1.0µA
V
Frequency100kHz
DATA
DATA
CLK
CLK
DATA
DATA
1.3µs
0.6µs
1.3µs
0.6µs
0.6µs
5.0µs
Slow mode250ns
t
t
t
SU/STOP
Note 1: Limits are guaranteed by 100% testing, sampling, or correlation with worst case test conditions.
Note 2: All specifications include reconstruction filter and line driver.
Note 3: Normalized to burst.
Rise Time for S
LH
Fall Time for S
HL
Setup Time for STOP On S
CLK
CLK
& S
& S
DATA
DATA
DATA
30300ns
30300ns
0.6µs
5
Page 6
ML6461
FUNCTIONAL DESCRIPTION
INTRODUCTION
The ML6461 is a single-chip NTSC video encoder for
generating analog composite (CV) and S-video (Y/C)
outputs from YCrCb digital inputs. The ML6461 is a mixed
signal processor optimizing SNR and distortion by
performing subcarrier generation, sync generation,
modulation and upsampling in the digital domain, while
performing mixing, reconstruction and gain scaling in the
analog domain. In particular , the Y channel requires no
digital scaling, eliminating the need for higher precision
digital solutions. All timing is based on an external clock
source either 27MHz for CCIR656 clock rate or
24.54MHz for square pixel clock rate.
Additionally , the ML6461 allo ws the inclusion of Closed
Captioning codes in the vertical blanking interval (VBI).
Both lines 21 and 284 support Closed Captioning.
DEVICEFUNCTIONAL DESCRIPTION
Video FormatsClockDACClosedMacrovisionReconstruction75
RatesCaptionFilterCable
Other special functions include: programmable polarity
and relative position of sync pulses, master and slav e
modes of which includes the ability to handle ITU-R656compliant digital TV or ITU-R/SMPTE specifications,
chroma subcarrier phase and frequency adjustments from
external source; Japanese NTSC support; 100% color bars
processing; and internal 7th order reconstruction filters
with group delay equalization and 6dB line drivers for
direct TV output.
The ML6461 can be programmed and controlled via a
two-wire serial bus or preset modes. A summary of the
features of the ML6461 are listed in Table 1.
VIDEO STANDARDS SUPPORTED
The ML6461 supports NTSC only. The video standards
and clock rates are listed in Table 2.
YCrCb digital10-bitButterworth, with
Outputs: Y , C,DACgroup delay
and CV analogequalization
Table 1. Video Encoder Functional Selection
INPUTCLOCK RATELINES PER FRAMEHORIZONTAL LINE
NTSC CCIR65627 MHz525858
NTSC Square Pixel24.54 MHz525780
Table 2: Video Standards and Clock Rates
MODEVSYNC PINHSYNC PINFIELD PIN
Master ModeOUTOUTIN/OUT
External Slave ModeINININ/OUT
Internal Slave Mode (SAV/EAV CCIR656)OUTOUTIN/OUT
Pixel
HORIZONTALPIXELS PER
Table 3: Pin Assignments for Various Master/Slave Modes
6
Page 7
FUNCTIONAL DESCRIPTION (Continued)
ML6461
VIDEO TIMING AND INPUTS
The clock source for the ML6461 can be either 27MHz
(CCIR656) or 24.54MHz (NTSC Square Pixel). The
ML6461 internal timing generator also provides necessary
horizontal and vertical syncs, video blanking, burst, and
closed caption timing. The internal clock is derived
through buffering and inverting the external CLK signal.
The inputs YCRCB<7:0>, VSYNC, and HSYNC are
registered at the rising edge of CLK and PHERR is
registered at the falling edge of CLK. All inputs must be
valid for the minimum setup time of 5ns. The outputs
VSYNC, HSYNC, and FIELD are clocked at the rising edge
of CLK and are valid 10ns following the edge of the clock.
The ML6461 can operate in master and slave modes. In
master mode, the ML6461 internally generates the vertical
reset (VSYNC pin is an output) and horizontal reset
(HSYNC pin is an output). In the slave modes, there are
two alternatives. External sla v e mode allo ws the user to
provide an external vertical reset (VSYNC pin is an input)
and an external horizontal reset (HSYNC pin is an input).
Internal slave mode (CCIR656) uses the SAV and EAV
codes to generate the vertical and horizontal resets. The
master/slave modes are selected via register program.
Table 3 provides a description of the various modes and
the assignments of the VSYNC, HSYNC, and FIELD pins.
MASTER MODE
A logical 0 in the SLAVE/MASTER bit (bit B28) will
configure the ML6461 in the master mode. Multiplexed Y ,
Cr , Cb data is streamed through the YCRCB <7:0> input
pins. VSYNC and HSYNC pins are configured as outputs
and provide vertical and horizontal sync information. The
polarity of the active edge of the HSYNC and VSYNC
pulses can be programmed through the control register via
the SENSE_HSYNC bit (bit B15) and the SENSE_VSYNC
bit (bit B10), respectively. Coincident active edges of the
horizontal and vertical syncs at the start of the line 4
indicates the beginning of an odd field, whereas, the
active edge of the vertical sync pulse when the horizontal
sync is non-active at the middle of line 266, indicates the
beginning of an even field (Figure 1). The FIELD pin can be
configured either as an input or output through the
FRAME_MODE bit (bit B8). If configured as output (B8
=0) it can be set to provide either even/odd field
information (B9 = FLD_FRM_MODE = 0) or analog field
information (B9 = 1). For the former case, a logical 1 on
the FIELD pin indicates odd fields and a logical 0 even
fields. For the latter,(on the FIELD pin), a logical 1 is held
during analog fields 1 and 2, and a logical 0 during analog
fields 3 and 4. If the FIELD pin is configured as an input
(B8 = FRAME_MODE = 1) it must be held low and high on
alternating frames and it should change state at the
beginning of vertical sync during fields 1 and 3. The
internal subcarrier oscillator is reset to make the frame —
for which FIELD pin is held 1 — correspond to analog
fields 1 and 2 (Figure 2). In master mode, a composite
blanking signal is also available thru the HSYNC pin. This
can be activated via the CBLANK bit (B29=1). The
polarity of the composite blanking signal is programmable
from the SENSE_HSYNC bit (B15). When the
SENSE_HSYNC bit is set (B15=1), the ML6461 will output
a logic 0 at the HSYNC pin during the pixels which are
blanked. Conversely, when the SENSE_HSYNC bit is
cleared (B15=0), the ML6461 will output a logic 1 at the
HSYNC pin during the pixels which are blanked.
Consequently, the YCRCB<7:0> inputs will be ignored and
a constant blanking level will be output to the analog
channels YOUT, COUT, and CVOUT. T he operation of the
VSYNC and FIELD pins are not affected by the settings of
CBLANK and SENSE_HSYNC.
SLAVE MODES
A logical 1 in the SLAVE/MASTER bit (B28) will configure
the ML6461 for slave mode. Based on what timing
information is provided, there are two slave modes:
internal and external. Composite blanking—similar to that
described in Master Mode—is also available. Note that in
the internal slave mode, vertical and horizontal sync
pulses and/or composite blanking signals are output for
monitoring purposes only. All timing is derived from SA V/
EAV codes.
Internal Slave Mode for CCIR656 with SAV/EAV codes
In this mode (B26 = SLAVE_MODE=1), all the horizontal
and vertical timing information including odd/even field
selection is embedded in the multiplexed Y, Cr , Cb data
stream input through the YCRCB <7:0> pins. VSYNC and
HSYNC pins are configured as outputs to give vertical and
horizontal sync pulses respectively. The operation of the
FIELD pin is similar to that in the master mode. Composite
blanking — similar to the one described in the master
mode — is also available. Note that in the internal slave
mode, vertical and horizontal sync pulses and / or
composite blanking signal is output for monitoring
purposes only. As mentioned above, all timing is derived
from SAV/EAV codes.
External Slave Mode
In this mode: Where (B26 = SLAVE_MODE=0), horizontal
and vertical reset pulses must be provided externally
through HSYNC and VSYNC pins which are configured as
inputs. The polarity of these pulses is programmed
through bits SENSE_HSYNC (B15) and SENSE_VSYNC
(B10). A horizontal reset pulse on the HSYNC pin can be
given either at the beginning of active video
(B25=HRESET_MODE=1) or at the beginning of horizontal
blanking (B25=HRESET_MODE=0). Once per frame, the
active edge of a vertical reset pulse coincident with the
active edge of a horizontal reset pulse initializes the
internal vertical line counter to the beginning of an odd
field at line 4. Non-coincident vertical reset pulses, for
example, the ones which fall outside of the interval (see
Figure 3) determined by the activ e edge of the horizontal
reset pulse, will be ignored. The FIELD pin, as explained
above can be configured as an input to dictate analog
fields or as an output to monitor odd/even fields or analog
7
Page 8
ML6461
FUNCTIONAL DESCRIPTION (Continued)
fields (1-2) and (3-4). The ML6461 also supports a frame
based synchronization mode (B17 = FSYNC = 1) where a
vertical reset pulse unconditionally resets the vertical line
Line 3
HSYNC
Line 4
Coincident
Active Edges
counter to line 4. For proper operation only one acti ve
edge should be sent per frame. The polarity is controlled
by SENSE_VSYNC (B10).
Line 5
Line 6
VSYNC
Beginning of
an Odd Field
HSYNC
VSYNC
Line 265
Line 266
Beginning of
an Even Field
Line 267
Line 268
Line 269
Figure 1. Example of the Beginning of the Odd And Even Fields vs. HSYNC and VSYNC in Master Mode.
(SLAVE/MASTER = 0, SENSE_HSYNC = 0, SENSE_VSYNC
==
= 0)
==
8
Page 9
ML6461
FIELD (1,2 and 3,4)
FIELD (ODD/EVEN)
FIELD (1,2 and 3,4)
FIELD (ODD/EVEN)
H
L
H
L
ANALOG
FIELD 1
52352452512345678
EQUALIZING
PULSES
H
L
H
L
ANALOG
FIELD 2
SERRATION
PULSES
BURST PHASE
EQUALIZING
91022
PULSES
FIELD (1,2 and 3,4)
FIELD (ODD/EVEN)
FIELD (1,2 and 3,4)
FIELD (ODD/EVEN)
261262263264265267268269270271
H
L
H
L
ANALOG
FIELD 3
52352452512345678
H
L
H
L
ANALOG
FIELD 4
266
START
OF VSYNC
BURST PHASE
272286285
91022
261262263264265267268269270271
266
Figure 2. Four Fields (M) NTSC Format FIELD Pin Out
272286285
9
Page 10
ML6461
FUNCTIONAL DESCRIPTION (Continued)
PIXEL SYNCHRONIZATION
Master Mode
In this mode, the active edge of horizontal sync pulse
through the HSYNC pin (configured as an output)
indicates the beginning of an active video line (or the
beginning of the horizontal blanking) and the multiplexed
YCrCb pixel data must be synchronized to this edge for
FIELD (1,2 and 3,4)
FIELD (ODD/EVEN)
H
L
H
L
ANALOG FIELDS 1 & 2
ODD
EVEN
Figure 2a. FIELD Pin Output Summary
proper video location, as well as the proper
demultiplexing of YCrCb values. This synchronization, as
shown in Figures 4 through 5a, is controlled by
SEL_HSYNC1 (B14) and SEL_HSYNC0 (B13). Figures 4
and 4a show synchronization for activ e edge at the
beginning of active video for positive or negative HSYNC
polarity while Figures 5 and 5a show sync hronization for
active edge at the beginning of horizontal blanking for
positive or negative HSYNC polarity.
ANALOG FIELDS 3 & 4ANALOG FIELDS 1 & 2
ODD
EVEN
ODD
EVEN
HSYNC
VSYNC
HSYNC
VSYNC
active edge of HSYNC
active edge of VSYNC
64 pixels–32 pixels
coincident interval
for HRESET_MODE=0
active edge of HSYNC
active edge of VSYNC
64 pixels
10
coincident interval
for HRESET_MODE=1
Figure 3. Coincident Valid Sync Intervals for External Slave Mode
Page 11
CLK
HSYNC
(output)
ML6461
(0,0) or (0,1) or (1,0) or (1,1) via (SEL_HSYNC1, SEL_HSYNC0)
(0,0)(0,1)(1,0)(1,1)
YCrC
b
CLK
HSYNC
(output)
YCrC
b
BL
BL
BL
BL
BL
Beginning of Active Line
CB0
Y0
T
Selectable Delay Synchronization
CR0
2T
Y1
3T
CB2
Y2
Figure 4. Pixel Synchronization. For Master Mode, Active Edge at Beginning of Active Video.
Embedded in the YCrCb data stream, the timing code
0xFF, 0x00, 0x00, 0x(SAV) must be inserted before the
samples of the first active pixel. Figures 6 through 6b
illustrate timing for CCIR656 video with SAV and EAV
codes for CCIR or Square Pixel clocking.
External Slave Mode
A horizontal reset pulse can be used either at the beginning
of active video or the beginning of horizontal blanking to
provide synchronization of the YCrCb data to the internal
clock. Bits SEL_HSYNC1(B14) and SEL_HSYNC0 (B13) are
provided to achieve some degree of programmability in this
synchronization. Figures 7 and 7a show synchronization for
active edge at the beginning of active video for positi ve or
negative HSYNC polarity while F igures 8 and 8a sho w
synchronization for active edge at the beginning of
horizontal blanking for positive or negative HSYNC polarity.
Polarity of HSYNC and VSYNC
In both the Master and Slave modes, the HSYNC and
VSYNC polarity can be selected via bit SENSE_HSYNC and
SENSE_VSYNC. When the SENSE_HSYNC bit is set to
logical 1, the HSYNC pulse is on the rising edge. When the
SENSE_HSYNC bit is cleared to logical 0, the HSYNC pulse
is on the falling edge. Similarly, when the SENSE_VSYNC bit
is set logical 1, the VSYNC pulse is on the rising edge.
When the SENSE_VSYNC bit is cleared to logical 0, the
VSYNC pulse is on the falling edge.
HSYNC Timing Delay
In both Master and Slave modes, the SEL_HSYNC1(B14)
and SEL_HSYNC0 (B13) bits of the control register can be
programmed to delay the HSYNC active edge up to three
clock periods, 3T, where T is one period of the clock.
CHROMA AND LUMA PROCESSING
Refer to Figures 9 through 12.
VIDEO OUTPUT STAGE
Reconstruction filtering, clamping, and line drivers
The ML6461 can simultaneously provide outputs for Svideo, two composite video, and a TV modulator.
Differential gain and phase are guaranteed at the outputs
of the line drivers. Two internal 7th-order Butterworth
filters and a group delay equalizer are used as
reconstruction filters on S-video (NTSC). The composite
signal is generated after reconstruction. The S-video (Y and
C) and composite video (CV) are then fed into 75Ω line
drivers.
Each of the filter/drivers are designed to guar antee a
differential phase of 0.5º and differential gain of 0.5%.
PHASE ERROR INPUT AND CHROMA SUBCARRIER
CORRECTION (FOR OVERLAY APPLICATIONS)
The chroma oscillator phase and frequency can be altered
in real time using the PHERR input. This pin can receive a
signal that corrects chroma variations for signals with
unstable time base errors. T o properly initialize the ML6461
overlay interface, follow the steps belo w:
1. Set the control register bit OVERLAY_ON (B16) to logical
0. T his will disable the interface and let the c hroma
subcarrier oscillator run free.
2. Force the PHERR input to logical 0 (idle state) for at least
128 clock cycles and set the control register bit
OVERLAY_ON (B16) to logical 1 while PHERR is held
low . This will enable the interface.
3. Clock in the startup code of 101 and then serially (LSB
first) the 32-bit frequency value FSQ (frequenc y number)
followed by the 12-bit phase value PHQ (phase number).
Equation 1 calculates color subcarrier frequency:
F
F
SQ
=×
F
SC
Where F
clock and FSC is the actual color subcarrier frequency.
CLK
32
2
2
is the 27 MHz (or 24.54MHz) as the system
CLK
(1)
4. Repeat STEP 2 as many times as needed.
Note that CC data is transmitted once (twice if both lines
are used) per frame. Hence attempts to transmit CC data
at a rate faster than four bytes per frame will result on
overwriting some of the previously entered data before the
encoder has a chance to transmit. To prevent ov erwriting
of data, the CC controller and the ML6461 need to be
synchronized. This can be easily achieved by polling the
vertical blanking pulse and updating the CC data registers
once per frame during the vertical blanking interval or any
appropriate interval which does not include lines 21 or
284. Also, activ e video information is blanked on lines for
which closed caption transmission is enabled. Note that
the last data written on the CC registers will be sent
continuously once per frame (on line 21 or line 284
depending on the mode chosen) until the interface is
disabled. Figure 13 shows Closed Caption wa v eforms for
various modes. See Table 7 and F igure 17 for more Closed
Caption information. Note that parity bits A7, A15, A23,
and A31 must be generated externally.
PROGRAMMING INTERFACE
The ML6461 can be programmed either through PRESET
modes or through SERIAL BUS mode.
REGISTER INFORMATION
4. To turn-off the interface and have the subcarrier oscillator
on free run, the control register bit OVERLAY_ON (B16)
must be reset to logical 0.
5. When this function is disabled, the internal default values
for FSQ are:
0X 43E0F7AD for CCIR656
0X 4AAAAA0B for Square Pixel.
CLOSED CAPTIONING
The ML6461 enables the transmission of VBI Closed
Caption codes on lines 21 and 284. To properly initialize
the closed caption interface, follow the steps below:
1. Set the control register bits CC_21 (B19) and CC_284
(B18) to logical 0. This will disable transmission of
Closed Caption (CC) data.
2. F or each line, write the two byte closed caption (CC)
data, including the parity bit, to the CC data register
through the serial bus interface. Note that the ML6461
does not generate the parity bits. If only line 21 or line
284 transmission is desired, only two bytes of data are
needed per frame. If both lines are used for
transmission, then four bytes (the first two bytes
corresponding to line 21) must be entered all at once
into the closed caption data register (CC register).
3. Set the control register bits CC_21 (B19) and/or CC_284
(B18) to logical 1. This will enable CC transmission at
the desired lines.
See Table 6 for ML6461 register summary information.
CONTROL REGISTERS: DESCRIPTION OF FUNCTION
Reserved, B31:B30 These bits are reserved and must be
set to 1 (B31=B30=1) for normal operation.
CBLANK, B29 In master mode, and internal slave mode,
a composite blanking signal is also available thru the
HSYNC pin. This can be activated via the CBLANK bit
(B29=1). T he polarity of the composite blanking signal is
programmable thru the SENSE_HSYNC bit (B15). When
the SENSE_HSYNC bit is set (B15=1), the ML6461 will
output a logic 0 at the HSYNC pin during the pixels
which are blanked. Conversely, when the
SENSE_HSYNC bit is cleared (B15=0), the ML6461 will
output a logic 1 at the HSYNC pin during the pixels
which are blanked. Consequently, the YCRCB<7:0>
inputs will be ignored and a constant blanking level will
be output to the analog channels YOUT, COUT , and
CVOUT. T he oper ation of the VSYNC and FIELD pins are
not affected by the settings of CBLANK and
SENSE_HSYNC.
SLAVE/MASTER, B28 T his bit determines if device
operates in master or slave modes. Configuration of
HSYNC, VSYNC and FIELD are determined upon
selection of this bit. Table 3 provides a summary of Slave /
Master modes. When this bit is set (B28=1), the ML6461
is in slave mode. When this bit is cleared (B28=0), the
ML6461 is in master mode. Special note for slave modes:
this bit (B28) along with the SLAVE_MODE bit (B26)
18
Page 19
FUNCTIONAL DESCRIPTION (Continued)
ML6461
selects between internal (B26=1) and external slave
modes (B26=0).
SELCCIR, B27 This bit determines the frequency of
choice between CCIR656 clock rate(27MHz) and Square
Pixel clock rate (24.54MHz). When this bit is set (B27=1),
CCIR656 clock rate is selected. When this bit is cleared
(B27=0), the Square Pixel clock rate is selected.
SLAVE_MODE, B26 This bit determines the choice of
two slave modes: internal sla ve mode or external slave
mode. In internal slave mode (B26=1), horizontal and
vertical timing information is embedded in the YCrCb
data (via SAV / EAV codes); while the HSYNC and
VSYNC pins can be used as outputs. In external slave
mode (B26=0), horizontal and vertical sync pulses must
12.91µs
7 CYCLES
TWO: 7 BIT + PARITY BIT
S
T
A
R
T
A0 ~ A6
A7
LINE 21
A8 ~ A14
A15
50 ±2 IRE
BLANK
LEVEL
40 IRE
10.5
±0.25µs
3.58MHz
COLOR
BURST
be provided for timing and synchronization;in this case
HSYNC and VSYNC pins are inputs. See T able 3.
HRESET_MODE, B25 This bit determines whether the
HSYNC is given at the beginning of active video (B25=1)
or HSYNC is given at the beginning of blanking (B25=0).
This bit (B25) is only a v ailable for external sla ve modes.
ANALOG_HBLANK, B24 This bit determines whether
the ML6461 is to encode for ITU_R656_compliant
"digital" or ITU_/SMPTE_compliant "analog" encoding
specifications. When this bit is cleared (B24=0), the
ML6461 is optimized for full "digital" line encoding,
where the number of active pixels is 720 for CCIR656
rates and 640 for square pixel rates. No tapering (edge
12.91µs
7 CYCLES
TWO: 7 BIT + PARITY BIT
S
T
A
R
T
A0 ~ A6
A7
LINE 284
A8 ~ A14
50 ±2 IRE
BLANK
LEVEL
40 IRE
10.5
±0.25µs
3.58MHz
COLOR
BURST
A15
SYNC
LEVEL
50 ±2 IRE
BLANK
LEVEL
SYNC
LEVEL
10.003
±0.25µs
27.382µs
Closed Caption on Line21
[CC_21 = 1 and CC_284 = 0]
10.5
±0.25µs
3.58MHz
COLOR
BURST
40 IRE
10.003
±0.25µs
12.91µs
7 CYCLES
27.382µs
33.764µs
TWO: 7 BIT + PARITY BIT
S
T
A
R
T
A0 ~ A6
A7
LINE 21
33.764µs
A8 ~ A14
A15
SYNC
LEVEL
50 ±2 IRE
BLANK
LEVEL
40 IRE
SYNC
LEVEL
10.003
±0.25µs
27.382µs
Closed Caption on Line284
[CC_21 = 0 and CC_284 = 1]
7 CYCLES
27.382µs
12.91µs
TWO: 7 BIT + PARITY BIT
S
T
A16 ~ A22
A
R
T
10.5
±0.25µs
3.58MHz
COLOR
BURST
10.003
±0.25µs
33.764µs
A23
LINE 284
33.764µs
A24 ~ A30
A31
Closed Caption on Line21 and Line 284
[CC_21 = 1 and CC_284 = 1]
Figure 13. Closed Caption on Line 21 and Line 284.
19
Page 20
ML6461
FUNCTIONAL DESCRIPTION (Continued)
smoothing) is done to the beginning and end of the active
portion of the line. When this bit is set (B24=1), the
ML6461 is optimized for "analog" line encoding, where
the number of active pixels is 712 for CCIR656 rates and
640 for square pixel rates. The beginning and end of the
active video portion of the line is tapered (smoothed) to
minimize ringing introduced due to fast transitions. Figure
14 below illustrates the timing comparisons.
Note: For the square pixel rate the only difference
between "analog" and "digital" encoding is the tapering
(smoothing) at the beginning and end of the active video
portion of the line. T he number of pixels encoded during
the active video portion is the same in both cases. The
positioning of the active portion is the same as in "analog"
line encoding.
ANALOG_HRESET, B23This bit is acti v e only in
external slave mode and when the external sync is gi v en
at the beginning of active video. In this mode,
ANALOG_HRESET (B23) must be used in conjunction
with ANALOG_HBLANK (B23) to choose between
"analog" and digital" line encoding. T he possible
approaches are summarized in Table 4 below.
FULL_BAR, B22 This bit is used to program the ML6461
to encode in normal modes or 100% amplitude video
(100% color bar). When this bit is set (B22=1), the
ML6461 is ready to handle 100% color bars. W ith 75%
amplitude signals, this bit should be cleared (B22=0) for
optimum signal to noise performance.
JAPAN_BLANK, B21 This bit is used to program the
ML6461 to encode Japanese NTSC by removing the 7.5
IRE setup in blanking and thus boosting the gain of luma
and chroma D A Cs. This bit is set (B21=1) to handle
Japanese NTSC modes.
WIDE_VBLANK, B20 Determines which lines to blank
at the beginning of each field. For wide blanking, this bit
is set (B20=1), the ML6461 provides 15 lines of blanking.
For narrow blanking, this bit is cleared (B20=0), the
ML6461 provides 9 lines of blanking.
CC_21, B19 T his bit enables (B19=1) and disables
(B19=0) the transmission of closed captioning data on
line 21.
5.3µs9 CYCLES
4.7µs
CCIR656 DIGITAL LINE ENCODING: 720 PIXELS, 1440 TCLKs
1.56µs
9µs
9µs + 4 PIXELS
CCIR656 ANALOG LINE ENCODING: 712 PIXELS, 1424 TCLKs
SQUARE PIXEL ANALOG AND
DIGITAL ENCODING: 640 PIXELS, 1280 TCLKs
Figure 14. Timing of Horizontal Blanking Interval and Active Video
ANALOG_ANALOG_RECOMMENDEDTIME BETWEENPIXELSEDGE
HRESETHBLANKENCODINGH_SYNC ANDENCODEDSMOOTHING
B23B24ACTIVE VIDEOCCIR 656SQUARE PIXEL(B24 = 1)
00ITU-R6569µs720640none
Digital TV Line
01Optional9µs + 4pixels712640Yes
= 9.3µsSee Note 1
10Not
Recommended
11ITU-R/SMPTE9µs + 4pixels71264 0Y es
Analog= 9.3µsSee Note 2
Note 1: Ignore first four and last four pixels.
Note 2: Ignore last eight pixels.
Table 4. Video Encoding Standards and Horizontal/Active Video Timing
20
Page 21
FUNCTIONAL DESCRIPTION (Continued)
ML6461
CC_284, B18 This bit enables (B18=1) and disables
(B18=0) the transmission of closed caption data on line
284.
FSYNC, B17 T his bit enables (B17=1) and disables
(B17=0) frame syncing.
OVERLAY_ON, B16 T his bit enables (B16=1) and
disables (B17=0) the PHERR pin to be used as an
interface to set the internal subcarrier oscillator’ s phase
and frequency.
SENSE_HSYNC, B15 This bit selects the polarity of the
HSYNC active edge to a rising edge (if B15=1) or a falling
edge (if B15=0). T his bit is acti v e in master modes or in
external slave modes. In internal sla v e modes HSYNC is
configured as an output to be used for monitoring
purposes. T he polarity is still affected b y this bit.
SEL_HSYNC1, B14 This bit, in conjunction with
SEL_HSYNC0 (B13), is used to facilitate pixel
synchronization. Figures 4, 5, 7, and 8 provide a detailed
description. This bit is only active in master modes or in
external slave modes. This bit is de-activated in internal
slave modes.
SEL_HSYNC0, B13 This bit, in conjunction with
SEL_HSYNC1 (B14), is used to facilitate pixel
synchronization. Figures Figures 4, 5, 7, and 8 pro vide a
detailed description. T his bit is only acti ve in master
modes or in external slave modes. This bit is de-activated
in internal slave modes.
SWITCH_UV, B12 This bit is used to switch Cr and Cb
internally when set (B12=1). This bit is cleared (B12=0)
for normal operation. T his bit is intended for debug
purposes only . If used, there may be some slight artifacts
at the end of active line.
SWITCH_FIELD, B11 This bit is used to switch even/odd
fields when set (B11=1). T his bit is cleared (B12=0) for
normal operation. This bit is only active in internal slave
mode.
SENSE_VSYNC, B10 This bit selects the polarity of the
VSYNC active edge to a rising edge (if B10=1) or a falling
edge (if B10=0). In internal slave modes VSYNC is
configured as an output to be used for monitoring
purposes. T he polarity is still affected b y this bit.
FLD_FRM_MODE, B9 When set (B9=1), it causes the
ML6461 FIELD pin to give analog field information if the
FIELD pin is configured as an output (see B8). When
cleared (B9=0), it causes the field pin to give odd/even
field information if the FIELD pin is configured as an
output (see B8).
FRAME_MODE, B8 T his bit configures the FIELD pin of
the ML6461 as an input (if B8=1) or as an output (if
B8=0).
YDEL1, B7 This bit, in conjunction with YDEL0 (B6), is
used to select luma delay in order to align luma and
chroma data. See Table 5.
YDEL0, B6 This bit, in conjunction with YDEL1 (B7), is
used to select luma delay in order to align luma and
chroma data. See Table 5.
BURST_ON, B5 When active (B5=1) this bit provides
burst at all times for testing purposes only . For normal
operation this bit is cleared (B5=0).
ACTIVE_ON, B4 When acti v e (B4=1) this bit eliminates
horizontal and vertical blanking intervals. Burst is
suppressed. For testing purposes only. For normal
operation this bit is cleared (B4=0).
FIX_SCH, B3 When activ e (B3=1) this bit maintains SCH
phase. In this condition known as a “coherent
subcarrier” such that the subcarrier has a known phase
relative to the activ e edge of HSYNC pulse. When this
bit is cleared (B3=0), the subcarrier generation block is in
free run mode. T his condition is known as “incoherent
subcarrier” where the phase of the subcarrier relative to
the HSYNC is not fixed.
CC_ALL, B2 When active (B2=1) this bit enables closed
caption transmission on every line. For testing purposes
only . For normal operation this bit is cleared (B2=0) and
closed caption is enabled through control register bits
CC_21 (B19) and CC_284 (B18).
SUBCARRIER_OFF, B1 When active (B1=1) this bit
disables the internal subcarrier oscillator . Used for test
purposes only . For normal operation this bit is cleared
(B1=0).
AC_DC, B0 This bit configures the output buffers for A C
coupled drive (if B0=1) and DC couple drive (if B0=0).
YDEL1YDEL0OPERATION
(B7)(B6)
00Normal
01Delay Luma Channel by 1 TCLK
10Advance Luma Channel by 1 TCLK
11Advance Luma Channel by 2 TCLK
Table 5. Luma Delay Selection
21
Page 22
ML6461
DATA BIT NAMEDESCRIPTIONBIT CODE RANGE
B0AC_DCConfigures analog output buffers for AC or DC drive0 = DC, 1 = AC
B1SUBCARRIER_OFFDisable internal subcarrier oscillator - for test only0 = Normal, 1= Disable oscillator
B2CC_ALLEnables Closed Caption transmission on every line0 = Normal, 1 = Enable
B3FIX_SCHEnable reset of subcarrier oscillator every other frame0 = Not reset, 1 = Oscillator reset
to maintain SCH phase
B4ACTIVE_ONEliminate H & V intervals, suppress burst — for test only0 = Normal, 1 = Test Mode
B5BURST ONBurst Available at all time — For test only0 = Normal, 1 = Test Mode
B6YDEL0Delay/Advance luma channel<YDEL1, YDEL0> = 00 = Normal
<YDEL1, YDEL0> = 11= Advance luma 2 clock cycles
B8FRAME_MODEConfigure FIELD pin as input or output0 = output, 1= input
B9FLD_FRM_MODEConfigure FIELD pin to give odd/even or 1,2 and 3,4 info0 = odd/even, 1= 1,2 or 3,4
B10SENSE_VSYNCSet vertical reset pulse polarity0 = Falling edge, 1= Rising edge
B11SWITCH_FIELDSwitches even/odd fields0 = Normal, 1= switch even/odd
B12SWITCH_UVSwitch Cr and Cb internally0 = Normal, 1= Switch Cr & Cb
B13SEL_HSYNC0Used to facilitate pixel synchronizationSee Figures 4, 5, 7, 8
B14SEL_HSYNC1Used to facilitate pixel synchronizationSee Figures 4, 5, 7, 8
B15SENSE_HSYNCSet horizontal reset pulse polarity0 = Falling edge, 1= Rising edge
B16OVERLAY_ONEnables use of PHERR pin0 = Disable, 1= Enable PHERR pin
B17FSYNCEnable frame syncing0 = Disable, 1= Enable
B18CC_284Enable transmission of Closed Caption data on line 2840 = Disable, 1= Enable transmission
B19CC_21Enable transmission of Closed Caption data on line 210 = Disable, 1= Enable transmission
B20WIDE_BLANKSelect wide or narrow blanking0 = 9 lines of blanking, 1= 15 lines
B21JAPAN_BLANKRemoves 7.5 IRE setup in blanking and boosts Y & C gain0 = Normal, 1= Japanese NTSC
B22FULL_BARTo handle 100% amplitude video (100% colorbars)0 = Normal, 1 handles 100%Amp. Video
B23ANALOG_HRESETSelects position of horizontal reset0 = Digital H blank edge,
1= Analog H blank edge
B24ANALOG_HBLANKSelect analog blanking with smooth transition at the edges0 = Digital blanking,
or digital blanking1= Analog blanking
B25HRESET_MODESelect H reset at start of active video or start of H blanking0 = Start of blanking,
1= Start of active
B26SLAVE_MODESelect external H/V reset or embedded H/V reset
The ML6461 can be controlled by a pair of preset mode
pins. These pins do not allow access to all of the
programmable features of the ML6461, but are intended to
provide a simpler interface for most applications. Refer to
Table 8 for preset modes.
SERIAL BUS OPERATION
The serial bus control in the ML6461 has two lev els of
addressing: Device Addressing and Functional Addressing.
Device Addressing: Figures 15, 16, and 17 show the
physical waveforms generated in order to address the
ML6461. There are six basic parts of the waveform:
1. Start Indication: Clock Cycle 0
2. Device Address Shifted in: Clock Cycle 1 through 8
3. Device Address Strobed and Decoded: Clock Cycle 9
4. Function Address Shifted in: Cloc k Cycle 10 through 17
5. Function Address Strobed and Decoded: Clock Cycle 18
6. Data Shifted in 8 bits at a time, MSB first: Clock
Cycle 19 through 26
7. Data Shifted: Clock Cycle 27
8. Repeat strep 6 & 7 until all data is clocked in.
9. Stop indication: After Last Clock Cycle
(54 for CC, 54 for CNTR)
Device Address (8 bit)
1011 0100 (Hex = B4)
Function Address (8 bit)
Closed Caption Data Registers (CC): 0000 0000
Control Registers (CNTR): 0000 0011
Number of Data Bits
Closed Caption Data Registers (CC): 4 x 8 bits
Control Registers (CNTR): 4 x 8 bits
CONTROL REGISTER DEFAULT SETTINGS
At Power up, the ML6461 default settings are as follo ws:
•Control Register is undefined when the serial
bus mode is enabled.
•Chip is ready to process video
•Preset Pins are available and if used will
configure the control register .
•Must write logic “0” (zero) to A30 to get
video
To get black at power up will require logic “1” in A30.
(Hex =
(Hex =
03)
00)
Note: data at SDATA is ignored at steps 3, 5, and 7.
Device & Function Addressing: Figures 15, 16, an17
show the register address procedure of the ML6461.
MODEPRESET1PRESET0CCCNTR
A00XXXXXXXXXX
B01XX09080209
C10XX1C080209
D11XX11080209
X = don't care
Mode Description
Mode A: All register contents are programmed through serial interface.
Mode B: Master mode, CCIR656 rate, analog blanking.
Mode C: Slave mode, SAV and EAV codes, CCIR656 rate, digital blanking.
Mode D: Slave mode, external sync at start of line, Square pixel rate, analog blanking
24
Table 8. Preset Modes and Register Values
Page 25
S
ML6461
START
DATA
t
RISE
t
SET/START
S
CLK
START: A Falling Edge on the S
STOP: A Rising Edge on the S
DATA
DATA
While S
While S
is Held High
CLK
is Held High
CLK
All Other S
Transitions Must Occur While S
DATA
CLK
is Low
Figure 15. Definition of START & STOP on Serial Data Bus
t
FALL
STOP
START
S
DATA
S
CLK
DEVICE ADDRESSFUNCTION ADDRESS
MSB
A1A0A6A7
0
127891011161718
9th pulse strobes dummy bit for ACK
S
:
CLK
Rising edge enables data transfer
S
:
CLK
Value set to A6, Device Address (MSB-1)
S
:
DATA
Falling edge disables data transfer
S
:
CLK
Rising edge enables data transfer
S
:
CLK
Value set to A7, Device Address MSB
S
:
DATA
Falling edge in prep for first address transfer
S
:
CLK
Falling edge with S
S
DATA
;
Hi means start of sequence
CLK
MSB
A7A6A1XXA0
S
9th pulse strobes dummy bit for ACK
:
CLK
Rising edge enables data transfer
S
:
CLK
Value set to D6, Data MSB-1
S
:
DATA
Falling edge disables data transfer
S
:
CLK
Rising edge enables data transfer
S
:
CLK
Value set to D7, Data MSB
S
:
DATA
Figure 16. Definition of ADDRESS FORMAT on Serial Data Bus
Micro Linear reserves the right to make changes to any product herein to improve reliability, function or design. Micro Linear does not assume any
liability arising out of the application or use of any product described herein, neither does it convey any license under its patent right nor the rights of
others. The circuits contained in this data sheet are offered as possible applications only. Micro Linear makes no warranties or representations as to
whether the illustrated circuits infringe any intellectual property rights of others, and will accept no responsibility or liability for use of any application
herein. The customer is urged to consult with appropriate legal counsel before deciding on a particular application.
®
TEMPERATURE RANGEPACKAGE
30
2092 Concourse Drive
San Jose, CA 95131
T el: (408) 433-5200
Fax: (408) 432-0295
www .microlinear.com
DS6461-01
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.