The MAX9670/MAX9671 dual SCART matrices route
audio and video signals between a set-top box
decoder chip and two external SCART connectors
under I
2
C control. Operating from a 3.3V supply and a
12V supply, the MAX9670/MAX9671 consume 70mW
during quiescent operation and 471mW during average
operation when driving typical signals into typical
loads. Video input detection, video load detection, and
a 2.5mW standby mode facilitate the design of intelligent, low-power set-top boxes.
The MAX9670/MAX9671 audio section contains a
buffered crosspoint to route audio inputs to audio outputs and programmable volume control from -62dB to
0dB in 2dB steps. The DirectDrive
®
output amplifiers
create a 2V
RMS
full-scale audio signal biased around
ground, eliminating the need for bulky output capacitors and reducing click-and-pop noise. The zero-cross
detection circuitry also further reduces clicks and pops
by enabling audio sources to switch only during a zerocrossing. The MAX9671 offers TV left and right audio
inputs.
The MAX9670/MAX9671 video section contains a
buffered crosspoint to route video inputs to video outputs. The standard-definition video signals from the settop box decoder chip are lowpass filtered to remove
out-of-band artifacts.
The MAX9670/MAX9671 also support slow-switching
and fast-switching signals. An interrupt signal from the
MAX9670/MAX9671 informs the microcontroller when
the system status has changed.
= VEP= 0V, no load, TA= 0°C to +70°C, unless otherwise noted. Typical values are at
T
A
= +25°C.) (Note 1)
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
V
VID
to GNDVID........................................................-0.3V to +4V
V
12
to EP.................................................................-0.3V to +14V
V
AUD
to EP ...............................................................-0.3V to +4V
EP to GNDVID .......................................................-0.1V to +0.1V
All Video Inputs, VCRIN_FS to GNDVID...................-0.3V to +4V
All Audio Inputs to EP .........................................-1V to (EP + 1V)
SDA, SCL, DEV_ADDR, INT to GNDVID ..................-0.3V to +4V
TV_SS, VCR_SS to EP .................................-0.3V to (V
12
+ 0.3V)
Current
All Video/Audio Inputs ...................................................±20mA
= VEP= 0V, no load, TA= 0°C to +70°C, unless otherwise noted. Typical values are at
T
A
= +25°C.) (Note 1)
Note 1: All devices are 100% production tested at TA= +25°C. Specifications over temperature limits are guaranteed by design.
Note 2: Normal operation mode is full power with input video and load detection active.
Note 3: The settling time is measured from the 50% of the input swing to the 0.1% of the final value of the output.
Note 4: A master device must provide a hold time of at least 300ns for the SDA signal (referred to V
IL
of the SCL signal) to bridge
the undefined region of SCL’s falling edge.
Typical Operating Characteristics
(V
VID
= V
AUD
= 3.3V, V12= 12V, V
GNDVID
= VEP= 0V, video load is 150Ω to GNDVID, audio load is 10kΩ to EP, TA= +25°C, unless
otherwise noted.)
OTHER DIGITAL I/O
DEV_ADDR Low Level
DEV_ADDR High Level
DEV_ADDR Input CurrentTA = +25°C-1+1µA
Interrupt Output Low VoltageI
Interrupt Output Leakage CurrentINT high impedance, TA = +25°C10µA
PARAMETERSYMBOLCONDITIONSMINTYPMAXUNITS
0.3 x
V
VID
0.7 x
V
VID
= 0.5mA0.1V
OL
V
V
SMALL-SIGNAL GAIN
vs. FREQUENCY
10
0
-10
-20
GAIN (dB)
-30
-40
-50
-60
100k1G
FREQUENCY (Hz)
FILTER
V
OUT
= 100mV
100M10M1M
P-P
NO FILTER
MAX9670 toc01
SMALL-SIGNAL GAIN FLATNESS
vs. FREQUENCY
2
1
0
-1
-2
-3
GAIN (dB)
-4
-5
-6
-7
-8
1M100M
FILTER
FREQUENCY (Hz)
10M
V
OUT
= 100mV
P-P
NO FILTER
MAX9670 toc02
LARGE-SIGNAL GAIN
vs. FREQUENCY
10
0
-10
-20
GAIN (dB)
-30
-40
-50
-60
100k1G
FILTER
100M10M1M
FREQUENCY (Hz)
V
= 2V
OUT
NO FILTER
P-P
MAX9670 toc03
MAX9670/MAX9671
Low-Power Audio/Video Switch with Audio
Volume Control for Dual SCART Connectors
11SDABidirectional I2C Data I/O. Output is open drain and tolerates up to 3.6V.
22SCLI2C Clock Input
33DEV_ADDRDevice Address Set Input. Connect to GNDVID, V
44 INT
NAMEFUNCTION
Interrupt Output. This is an open-drain output that pulls down to GNDVID to
indicate a change in the VCR slow switching or fast switching input, the activity
status of the composite video inputs, or the load status of the composite video
outputs.
, SDA or SCL. See Table 3.
VID
55 V
66C1P
77C1N
88CPVSSC har g e- P um p N eg ati ve P ow er S up p l y. Byp ass w i th a 1µF cer am i c cap aci tor to E P .
99ENC_INLEncoder Left-Channel Audio Input
1010ENC_INREncoder Right-Channel Audio Input
—11TV_INLTV SCART Left-Channel Audio Input
—12TV_INRTV SCART Right-Channel Audio Input
1113VCR_INLVCR SCART Left-Channel Audio Input
1214VCR_INRVCR SCART Right-Channel Audio Input
1315TV_OUTLTV SCART Left-Channel Audio Output
1416VCR_OUTLVCR SCART Left-Channel Audio Output
1517VCR_OUTRVCR SCART Right-Channel Audio Output
1618TV_OUTRTV SCART Right-Channel Audio Output
1719TV_SSTV SCART Bidirectional Slow-Switch Signal
1820V
1921VCR_SSVCR SCART Bidirectional Slow-Switch Signal
2022TVOUT_FSTV SCART Fast-Switching Logic Output
—23, 44N.C.No Connection. Leave unconnected.
2124VCRIN_FSVCR SCART Fast-Switching Logic Input
2225ENC_B_INEncoder Blue Video Input
2326ENC_G_INEncoder Green Video Input
2427VCR_B_INVCR SCART Blue Video Input
2528VCR_G_INVCR SCART Green Video Input
2629TV_B_OUTTV SCART Blue Video Output
2730TV_G_OUTTV SCART Green Video Output
AUD
12
Audio Supply. Connect to a 3.3V supply. Bypass with a 10µF aluminum
electrolytic capacitor and a 0.47µF ceramic capacitor to EP.
Charge-Pump Flying Capacitor Positive Terminal. Connect a 0.47µF capacitor
from C1P to C1N.
Charge-Pump Flying Capacitor Negative Terminal. Connect a 0.47µF capacitor
from C1P to C1N.
+12V Supply for the Slow Switching Circuit. Bypass with a 10µF + 0.47µF ceramic
capacitor to EP.
The MAX9670/MAX9671 represents Maxim’s third generation of SCART audio/video (A/V) switches. Under I2C
control, these devices route audio, video, and control
information between the set-top box decoder chip and
two SCART connectors. The audio signals are left audio
and right audio. The video signals are composite video
with blanking and sync (CVBS) and component video
(red, green, blue). S-video (Y/C) can be transported
across the SCART interface if CVBS is reassigned to
luma (Y) and red is reassigned to chroma (C). Support
for S-video is optional. The slow-switch signal and the
fast-switch signal carry control information. The slowswitch signal is a 12V, three-level signal that indicates
whether the picture aspect ratio is 4:3 or 16:9 or causes
the television to use an internal A/V source such as an
antenna. The fast-switch signal indicates whether the
television should display CVBS or RGB signals.
CVBS, left audio, and right audio are full duplex. All the
other signals are half duplex. Therefore, one device on
the link must be designated as the transmitter, and the
other device must be designated as the receiver.
The low power consumption and the advanced monitoring functions of the MAX9670/MAX9671 enable the cre-
ation of lower power set-top boxes, televisions, and
DVD players. Unlike competing SCART ICs, the audio
and video circuits of the MAX9670/MAX9671 operate
entirely from 3.3V rather than from 5V and 12V. Only the
slow-switch circuit of the MAX9670/MAX9671 requires a
12V supply. The MAX9670/MAX9671 also have circuits
that detect activity on the CVBS inputs, loads on the
CVBS outputs, and the level of the slow-switch signals.
The INT signal informs the microcontroller if there are
any changes so that the microcontroller can intelligently decide whether to power up or power down
the equipment.
In addition, the MAX9670/MAX9671 have DirectDrive
audio circuitry to eliminate click-and-pop noise. With
DirectDrive, the DC bias of the audio line outputs is
always at ground, no matter whether the MAX9670/
MAX9671 are being powered up or powered down.
Conventional audio line output drivers that operate from a
single supply require series AC-coupling capacitors.
During power-up, the DC bias on the AC-coupling capacitor moves from ground to a positive voltage, and during
power-down, the opposite occurs. The changing DC bias
usually causes an audible transient.
Pin Description (continued)
PIN
MAX9670MAX9671
2831GNDVIDVideo Ground
2932VCR_R/C_INVCR SCART Red/Chroma Video Input
3033V
3134ENC_C_INEncoder Chroma Video Input
3235ENC_R/C_INEncoder Red/Chroma Video Input
3336TV_R/C_OUTTV SCART Red/Chroma Video Output
3437VCR_R/C_OUTVCR SCART Red/Chroma Video Output
3538VCR_Y/CVBS_OUT VCR SCART Luma/Composite Video Output
3639TV_Y/CVBS_OUTTV SCART Luma/Composite Video Output
3740VCR_Y/CVBS_INVCR SCART Luma/Composite Video Input
3841TV_Y/CVBS_INTV SCART Luma/Composite Video Input
3942ENC_Y_INEncoder Luma Video Input
4043ENC_Y/CVBS_INEncoder SCART Luma/Composite Video Input
——EP
NAMEFUNCTION
Video and Digital Supply. Connect to a 3.3V supply. Bypass with parallel 1µF and
VID
0.1µF ceramic capacitors to GNDVID. V
2
I
C interface.
Exposed Pad. The exposed pad is the internal ground for the audio amplifiers and
charge pump. A low-impedance connection between ground and EP is required
for proper isolation.
also serves as a digital supply for the
VID
MAX9670/MAX9671
Low-Power Audio/Video Switch with Audio
Volume Control for Dual SCART Connectors
The MAX9670 audio circuit is essentially a stereo,
2-by-2, nonblocking, audio crosspoint with output drivers. The encoder (stereo audio DAC) and the VCR are
the two input sources, and the two outputs go to the TV
SCART connector and the VCR SCART connector. See
Figure 1. The MAX9671 audio circuit is similar to that of
the MAX9670 except that it is a stereo, 3-by-2,
nonblocking audio crosspoint with TV as the third input
source.
The integrated charge pump inverts the +3.3V supply
to create a -3.3V supply. The audio circuit operates
from bipolar supplies so the audio signal is always
biased to ground.
The TV audio channel incorporates a zero-crossing
detect (ZCD) circuit that minimizes click noise due to
abrupt signal level changes that occur when switching
between audio signals at an arbitrary moment.
To implement the zero-crossing function when switching audio signals, set the ZCD bit high (Audio Control
register 00h, bit 6). Then set the mute bit high (Audio
Control register 00h, bit 0). Next, wait for a sufficient
period of time for the audio signal to cross zero. This
period is a function of the audio signal path’s low-frequency 3dB corner (f
L3dB
). Thus, if f
L3dB
= 20Hz, the
time period to wait for a zero-crossing detect is 1/20Hz
or 50ms.
After the wait period, select a new audio source for the
TV audio channel by writing to bits 1 and 0 of TV Audio
Control register (01h). Finally, clear mute (Audio Control
register, 00h, bit 0), but leave ZCD (Audio Control register 00h, bit 6) high. The MAX9670/MAX9671 switches
the signal out of mute at the next zero crossing. See
Tables 12 and 13.
Audio Outputs
The MAX9670/MAX9671 audio output amplifiers feature
Maxim’s patented DirectDrive architecture, thereby
eliminating the need for output-coupling capacitors
required by conventional single-supply audio line drivers. An internal charge pump inverts the positive supply (V
AUD
), creating a negative supply (CPVSS). The
audio output amplifiers operate from these bipolar supplies with their outputs biased about audio ground
(Figure 2). The benefit of this audio ground bias is that
the amplifier outputs do not have a DC component. The
DC-blocking capacitors required with conventional
audio line drivers are unnecessary, conserving board
space, reducing system cost, and improving frequency
response.
Conventional single-supply audio line drivers have their
outputs biased about a nominal DC voltage (typically
half the supply) for maximum dynamic range. Large
coupling capacitors are needed to block this DC bias.
Clicks and pops are created when the coupling capacitors are charged during power-up and discharged during power-down.
The MAX9670/MAX9671 features a low-noise charge
pump that requires only two small ceramic capacitors.
The 580kHz switching frequency is well beyond the
audio range and does not interfere with audio signals.
The switch drivers feature a controlled switching speed
that minimizes noise generated by turn-on and turn-off
transients.
The SCART standard specifies 2V
RMS
as the full-scale
for audio signals. As the audio circuits process
0.5V
RMS
full-scale audio signals internal to the
MAX9670/MAX9671, the gain-of-4 output amplifiers
restore the audio signals to a full-scale of 2V
RMS
.
To select which audio input source is routed to the TV
SCART connector, write to bits 1 and 0 of the TV Audio
Control register (01h). To select which audio input
source is routed to the VCR SCART connector, write to
bits 3 and 2 of the TV Audio Control register (01h). The
power-on default is for the TV and VCR audio outputs to
be muted (the inputs of the output amplifiers are connected to audio ground). See Tables 10 and 13.
Volume Control
Volume control is programmable from -62dB to 0dB in
2dB steps through I2C interface. The block consists of
a resistive ladder network to generate 31 2dB volume
control steps, a unity gain buffer to isolate the input
from the resistive ladder, switches (MPLx and MNLx)
that select 1 of 32 nodes on the resistive ladder, and
logic to decode the the I2C volume control value. See
Table 12.
Whether the incoming video signal is AC-coupled or
DC-coupled into the MAX9670/MAX9671 depends
upon the origin, format, and voltage range of the video
signal. Table 1 below shows the recommended connections. Always AC-couple an external video signal
through a 0.1µF capacitor because its voltage is not
well defined (see the
Typical Application Circuit
). For
example, the video transmitter circuit might have a different ground than the video receiver, thereby level
shifting the DC bias. 60Hz power line hum might cause
the video signal to change DC bias slowly.
Internal video signals that are between 0 and 1V can be
DC-coupled. Most video DACs generate video signals
between 0 and 1V because the video DAC sources current into a ground-referenced resistor. For the minority
of video DACs that generate video signals between
2.3V and 3.3V because the video DAC sinks current
from a V
VID
-referenced resistor, AC-couple the video
signal to the MAX9670/MAX9671.
The MAX9670/MAX9671 restore the DC level of incoming, AC-coupled video signals with either transparent
sync-tip clamps or bias circuits. When using an ACcoupled input, the transparent sync-tip clamp automatically clamps the input signal minimum to ground,
preventing it from going lower. A small current of 1µA
pulls down on the input to prevent an AC-coupled signal from drifting outside the input range of the part. Use
sync-tip clamps with CVBS, RGB, and luma signals.
The transparent sync-tip clamp is transparent when the
incoming video signal is DC-coupled and at or above
ground. Under such conditions, the clamp never activates. Therefore, the outputs of video DACs that generate signals between 0 and 1V can be directly
connected to the MAX9670/MAX9671 inputs.
The bias circuit accepts AC-coupled chroma, which is
a subcarrier with the color information modulated onto
it. The bias voltage of the bias circuits is around
600mV.
ENC_R/C_IN and VCR_R/C_IN can receive either a red
video signal or a chroma video signal. Set the input configuration by writing to bits 7 and 3 of the VCR Video
Input Control register (08h). See Tables 10 and 16.
The MAX9670/MAX9671 also have video input detection. When activated, activity detect circuits check if
sync is present on incoming CVBS signals. If so, then
there is a valid video signal. Read bits 2, 3, 4, and 5 of
the Video Activity Status register (0Fh) to determine the
status of the CVBS inputs. See Table 21.
In high-impedance mode, the inputs to the MAX9670/
MAX9671 do not distort the video signal in case the outputs of the video DAC are also connected to another
video circuit such as a high-definition video filter amplifier. See the
SCART Set-Top Box with Analog HD Outputs
section. The inputs in high-impedance mode are biased
at V
VID
/3, which is sufficiently above ground so that the
ESD diodes never forward biases as the video signal
changes. The input resistance is 222kΩ, which presents
negligible loading on the video current DAC.
Video Reconstruction Filter
The video DAC outputs of the set-top box decoder chip
need to be lowpass-filtered to reject the out-of-band
noise. The MAX9670/MAX9671 integrate sixth-order,
Butterworth filters. The filter passband (±1dB) is typically 5.5MHz, and the attenuation at 27MHz is 52dB. The
filters are suited for standard-definition video.
Video Outputs
The video output amplifiers can both source and sink
load current, allowing output loads to be DC- or ACcoupled. The amplifier output stage needs around
300mV of headroom from either supply rail. For video
signals with a sync pulse, the sync tip is typically at
300mV, as shown in Figure 4. For a chroma signal, the
blank level is typically at 1.5V, as shown in Figure 5.
If the supply voltage is greater than 3.135V (5% below
a 3.3V supply), each amplifier can drive two DC-coupled video loads to ground. If the supply is less than
3.135V, each amplifier can drive only one DC-coupled
or AC-coupled video load.
The SCART standard allows for video signals to have a
superimposed DC component within 0 and 2V.
Therefore, most video signals are DC-coupled at the
output. In the unlikely event that the video signal needs
to be AC-coupled, the coupling capacitors should be
220µF or greater to keep the highpass filter formed by
the 37.5Ω equivalent resistance of the video transmission line to a corner frequency of 4.8Hz or below to keep
it well below the 25Hz frame rate of the PAL standard.
The CVBS outputs have load sense circuits. If enabled,
each load sense circuit checks for a load eight times
per second by connecting an internal 15kΩ pullup
resistor to the output for 1ms. If the output is pulled up,
no load is present. If the output stays low, a load is connected. Read bits 1 and 3 to determine load status. See
Table 21.
The selection of video sources that are sent to the TV
SCART connector are controlled by bits 0 to 4 of the TV
MAX9670/MAX9671
Low-Power Audio/Video Switch with Audio
Volume Control for Dual SCART Connectors
Video Input Control register (06h) while the selection of
video sources that are sent to the VCR SCART connector are controlled by bits 0 to 2 of the VCR Video Input
Control register (08h). See Tables 10, 14, and 16. The
video outputs can be enabled or disabled by bits 2
through 7 of the Output Enable register (0Dh). See
Table 18.
Slow Switching
The MAX9670/MAX9671 support the IEC 933-1,
Amendment 1, three-level slow switching that selects
the aspect ratio for the display (TV). Under I2C control,
the MAX9670/MAX9671 set the slow-switching output
voltage level. Table 2 shows the valid input levels of the
slow-switching signal and the corresponding operating
modes of the display device.
Two bidirectional ports are available for slow-switching
signals for the TV and VCR. The slow-switching input
status is continuously read and stored in the Status register (0Eh). The slow-switching outputs can be set to a
logic level or high impedance by writing to the TV Video
Output Control register (07h) and the VCR Video Output
Control register (09h). When enabled, INT becomes
active low if the voltage level changes on TV_SS or
VCR_SS. See Tables 10, 15, 17, and 20.
Fast Switching
The fast-switching signal was originally used to switch
between CVBS and RGB signals on a pixel-by-pixel
basis so that on-screen display (OSD) information
could be inserted. Since modern set-top box decoder
chips have integrated OSD circuitry, there is no need to
create OSD information using the older technique. Now,
the fast-switching signal is just used to switch between
CVBS and RGB signal sources.
Set the source of the fast-switching signal by writing to
bits 4 and 3 of the TV Video Output Control register
(07h). The fast-switching signal to the TV SCART connector can be enabled or disabled by bit 1 of the Output
Enable register (0Dh). See Tables 10, 15, and 18.
I2C Serial Interface
The MAX9670/MAX9671 feature an I2C/SMBus™-compatible, 2-wire serial interface consisting of a serial-data
line (SDA) and a serial-clock line (SCL). SDA and SCL
facilitate communication between the MAX9670/
MAX9671 and the master at clock rates up to 400kHz.
Figure 6 shows the 2-wire interface timing diagram. The
master generates SCL and initiates data transfer on the
bus. A master device writes data to the MAX9670/
MAX9671 by transmitting a START (S) condition, the
proper slave address with the R/W bit set to 0, followed
by the register address and then the data word. Each
transmit sequence is framed by a START and a STOP
(P) condition. Each word transmitted to the
MAX9670/MAX9671 is 8 bits long and is followed by an
acknowledge clock pulse. A master reads from the
MAX9670/MAX9671 by transmitting the slave address
with the R/W bit set to 0, the register address of the register to be read, a REPEATED START (Sr) condition, the
slave address with the R/W bit set to 1, followed by a
series of SCL pulses. The MAX9670/MAX9671 transmit
data on SDA in sync with the master-generated SCL
pulses. The master acknowledges receipt of each byte
of data. Each read sequence is framed by a START or
Figure 4. MAX9670/MAX9671 Video Output with CVBS Signal,
Multiburst Video Test Signal Shown
Figure 5. MAX9670/MAX9671 Video Output with Chroma (C)
Signal, Multiburst Video Test Signal Shown
REPEATED START (Sr) condition, an acknowledge or a
not acknowledge, and a STOP (P) condition. SDA operates as both an input and an open-drain output. A
pullup resistor, typically greater than 500Ω, is required
on the SDA bus. SCL operates as only an input. A
pullup resistor, typically greater than 500Ω, is required
on SCL if there are multiple masters on the bus, or if the
master in a single-master system has an open-drain
SCL output. Series resistors in line with SDA and SCL
are optional. Series resistors protect the digital inputs of
the MAX9670/MAX9671 from high-voltage spikes on the
bus lines, and minimize crosstalk and undershoot of the
bus signals.
Bit Transfer
One data bit is transferred during each SCL cycle. The
data on SDA must remain stable during the high period
of the SCL pulse. Changes in SDA while SCL is high
are control signals (see the
START and STOP
Conditions
section). SDA and SCL idle high when the
I2C bus is not busy.
START and STOP Conditions
SDA and SCL idle high when the bus is not in use. A
master initiates communication by issuing a START (S)
condition. A START condition is a high-to-low transition
on SDA with SCL high. A STOP condition is a low-tohigh transition on SDA while SCL is high (Figure 7). A
START condition from the master signals the beginning
of a transmission to the MAX9670/MAX9671. The master terminates transmission, and frees the bus, by issuing a STOP condition. The bus remains active if a
REPEATED START condition is generated instead of a
STOP condition.
Early STOP Conditions
The MAX9670/MAX9671 recognize a STOP condition at
any point during data transmission except if the STOP
condition occurs in the same high pulse as a START
condition. For proper operation, do not send a STOP
condition during the same SCL high pulse as the
START condition.
Slave Address
The slave address is defined as the 7 most significant
bits (MSBs) followed by the read/write (R/W) bit. Set the
R/W bit to 1 to configure the MAX9670/MAX9671 to
read mode. Set the R/W bit to 0 to configure the
MAX9670/MAX9671 to write mode. The slave address
is always the first byte of information sent to the
MAX9670/MAX9671 after a START or a REPEATED
START condition. The MAX9670/MAX9671 slave
address is configurable with DEV_ADDR. Table 3
shows the possible slave addresses for the
MAX9670/MAX9671.
Figure 6. I2C Serial-Interface Timing Diagram
Figure 7. START, STOP, and REPEATED START Conditions
SDA
t
SU, DAT
t
LOW
SCL
t
t
HD, STA
START
CONDITION
HIGH
t
R
t
F
t
HD, DAT
t
SU, STA
REPEATED
START CONDITION
t
HD, STA
t
BUF
t
SP
t
SU, STO
STOP
CONDITION
START
CONDITION
SSrP
SCL
SDA
MAX9670/MAX9671
Low-Power Audio/Video Switch with Audio
Volume Control for Dual SCART Connectors
The acknowledge bit (ACK) is a clocked 9th bit that the
MAX9670/MAX9671 use to handshake receipt of each
byte of data when in write mode (see Figure 8). The
MAX9670/MAX9671 pull down SDA during the entire
master-generated ninth clock pulse if the previous byte
is successfully received. Monitoring ACK allows for
detection of unsuccessful data transfers. An unsuccessful data transfer occurs if a receiving device is
busy or if a system fault has occurred. In the event of
an unsuccessful data transfer, the bus master may retry
communication. The master pulls down SDA during the
ninth clock cycle to acknowledge receipt of data when
the MAX9670/MAX9671 are in read mode. An acknowledge is sent by the master after each read byte to allow
data transfer to continue. A not acknowledge is sent
when the master reads the final byte of data from the
MAX9670/MAX9671, followed by a STOP (P) condition.
Write Data Format
A write to the MAX9670/MAX9671 consists of transmitting a START condition, the slave address with the R/W
bit set to 0, one data byte to configure the internal register address pointer, one or more data bytes, and a
STOP condition. Figure 9 illustrates the proper frame
format for writing one byte of data to the
MAX9670/MAX9671. Figure 10 illustrates the frame format for writing n bytes of data to the MAX9670/
MAX9671.
The slave address with the R/W bit set to 0 indicates
that the master intends to write data to the MAX9670/
MAX9671. The MAX9670/MAX9671 acknowledge
receipt of the address byte during the master-generated ninth SCL pulse.
The second byte transmitted from the master configures the MAX9670/MAX9671’s internal register address
pointer. The pointer tells the MAX9670/MAX9671 where
to write the next byte of data. An acknowledge pulse is
sent by the MAX9670/MAX9671 upon receipt of the
address pointer data.
Figure 8. Acknowledge
Figure 9. Writing a Byte of Data to the MAX9670/MAX9671
Figure 10. Writing n Bytes of Data to the MAX9670/MAX9671
The third byte sent to the MAX9670/MAX9671 contains
the data that is written to the chosen register. An
acknowledge pulse from the MAX9670/MAX9671 signals receipt of the data byte. The address pointer
autoincrements to the next register address after each
received data byte. This autoincrement feature allows a
master to write to sequential register address locations
within one continuous frame. The master signals the
end of transmission by issuing a STOP (P) condition.
Read Data Format
The master presets the address pointer by first sending
the MAX9670/MAX9671’s slave address with the R/W
bit set to 0 followed by the register address after a
START (S) condition. The MAX9670/MAX9671 acknowledges receipt of its slave address and the register
address by pulling SDA low during the ninth SCL clock
pulse. A REPEATED START (Sr) condition is then sent
followed by the slave address with the R/W bit set to 1.
The MAX9670/MAX9671 transmits the contents of the
specified register. Transmitted data is valid on the rising edge of the master-generated serial clock (SCL).
The address pointer autoincrements after each read
data byte. This autoincrement feature allows all registers to be read sequentially within one continuous
frame. A STOP condition can be issued after any number of read data bytes. If a STOP condition is issued
followed by another read operation, the first data byte
to be read is from the register address location set by
the previous transaction and not 00h and subsequent
reads autoincrement the address pointer until the next
STOP condition. Attempting to read from register
addresses higher than 01h results in repeated reads
from a dummy register containing FFh data. The master
acknowledges receipt of each read byte during the
acknowledge clock pulse. The master must acknowledge all correctly received bytes except the last byte.
The final byte must be followed by a not acknowledge
from the master and then a STOP condition. Figures 11
and 12 illustrate the frame format for reading data from
the MAX9670/MAX9671.
Interrupt Output
When interrupt is enabled in modes 1 and 2, INT, which
is an open-drain output, pulls low under the following
conditions: slow-switch signals change value, CVBS
input signals are detected or disappear, and CVBS output loads are added or removed.
When interrupt is enabled in mode 3, INT pulls low only
when the slow-switch signal changes value.
Enable INT by writing a 1 into bit 4 of register 01h. See
Table 13.
The interrupt can be cleared by reading register 0Eh
and 0Fh.
Applications Information
Audio Inputs
The maximum full-scale audio signal that can be
applied to the audio inputs is 0.5V
RMS
biased at
ground. The recommended application circuit to attenuate and bias an incoming audio signal is shown in
Figure 13.
Figure 11. Reading One Indexed Byte of Data from the MAX9670/MAX9671
Figure 12. Reading n Bytes of Indexed Data from the MAX9670/MAX9671
ACKNOWLEDGE FROM
MAX9670/MAX9671
SA
ACKNOWLEDGE FROM
MAX9670/MAX9671
SA
R/W
0
R/W
0
ACKNOWLEDGE FROM
MAX9670/MAX9671
ACKNOWLEDGE FROM
MAX9670/MAX9671
REPEATED START
Sr1SLAVE ADDRESSREGISTER ADDRESSSLAVE ADDRESS DATA BYTE
ACKNOWLEDGE FROM
MAX9670/MAX9671
Sr1SLAVE ADDRESSREGISTER ADDRESSSLAVE ADDRESS DATA BYTE
ACKNOWLEDGE FROM
MAX9670/MAX9671
R/WREPEATED START
R/W
NOT ACKNOWLEDGE FROM MASTER
AA
1 BYTE
AUTOINCREMENT INTERNAL
REGISTER ADDRESS POINTER
AA
1 BYTE
REGISTER ADDRESS POINTER
A
P
AP
AUTOINCREMENT INTERNAL
MAX9670/MAX9671
Low-Power Audio/Video Switch with Audio
Volume Control for Dual SCART Connectors
The audio path has a gain of 4V/V so that the full scale
of the audio output signal is 2V
RMS
. If less than 2V
RMS
,
full scale is desired at the audio outputs, and the full
scale of the audio input signal should be proportionately decreased below 0.5V
RMS
.
Operating Modes
The MAX9670/MAX9671 has four operating modes,
which can be set by writing to bits 6 and 7 of register
10h. See Table 19.
Shutdown
All circuitry is shutdown in the MAX9670/MAX9671
except for the I2C interface, which is designed with static CMOS logic. Except for register 10h, which sets the
operating mode, the values in all of the other I2C registers are preserved while entering, during, and leaving
shutdown mode.
Standby Mode
In standby mode, the MAX9670/MAX9671 monitor the
slow-switch signals and decide whether to loop through
the audio/video signals. If the VCR slow switch input
has activity (6V or 12V at the input), the audio/video signals are looped through from the VCR SCART to the TV
SCART. If the TV slow-switch input has activity, the
audio/video signals are looped through from the TV
SCART to the VCR SCART. If neither the VCR slowswitch input nor the TV slow switch input show activity,
i.e., both inputs are at ground, no signals are looped
through. If both the VCR slow-switch input and the TV
slow-switch input have activity, the MAX9670/MAX9671
considers this condition to be illegal and does not loop
through any signals.
A finite state machine (Figure 14) controls the operation
of the MAX9670/MAX9671. State 0 is always the initial
state when the MAX9670/MAX9671 enter standby
mode. Table 4 shows the values of the I
2
C registers in
state 0. The state machine sets the other I2C registers
to the correct values to loop through the audio/video
signals in states 1 and 2 (see Tables 5 and 6). When
the MAX9670/MAX9671 leaves standby mode, the values in all of the I2C registers except register 10h are
preserved so that the operation is not disturbed. For
example, if in standby mode, the MAX9670 is looping
through the audio/video signals from VCR SCART to TV
SCART, and if the microcontroller changes the operating mode from standby mode to full-power mode, the
audio/video signals continue to be looped through during and after the mode change. The user does not
experience any disruption in audio or video service.
The microcontroller can be turned off in standby mode
because the MAX9670/1 operate autonomously. Upon
power-up, the default operating mode is standby mode.
Full-Power Mode with Video Input Detection
and Video Load Detection
In this mode, the MAX9670/MAX9671 are fully on. If
interrupt is enabled, INT goes active low whenever the
slow-switch signal changes; a CVBS signal appears or
disappears; or a CVBS load appears or disappears.
The microcontroller can decide whether to change the
routing configuration or operating mode of the
MAX9670/MAX9671.
Full-Power Mode Without Video Input Detection
and Video Load Detection
This mode is similar to the above mode except that
video input detection and video load detection are not
active. If interrupt is enabled, INT goes active low only
when the slow-switch signal changes.
Power Consumption
The quiescent power consumption and average power
consumption of the MAX9670/MAX9671 are very low
because of 3.3V operation and low-power circuit design.
Quiescent power consumption is defined when the
MAX9670/MAX9671 are operating without loads and
without any audio or video signals. Table 7 shows the
quiescent power consumption in all 4 operating modes.
Average power consumption is defined when the
MAX9670/MAX9671 drives typical signals into typical
loads. Table 6 shows the average power consumption
in full-power mode and Table 9 shows the input and
output conditions.
Figure 13. Application circuit to connect audio source to audio
inputs. The 1µF capacitor connected to the ground-referenced
resistors biases the audio signal at ground. The resistors attenuate the audio signal.
The MAX9670/MAX9671 support S-video from the settop box to the TV, set-top box to the VCR, and VCR to
the set-top box. S-video was not included in the original
SCART specifications but was added afterwards. As a
consequence, the luma (Y) signal of S-video shares the
same SCART pin as the CVBS signal. Likewise, the
chroma (C) signal shares the same SCART pin as the
red signal. The pins that can carry both CVBS and luma
have Y/CVBS in their names, and the pins that can
carry red and chroma have R/C in their names.
Now, the Y/CVBS signals are full duplex while the R/C
signals are half duplex. Therefore, S-video is limited to
being half duplex. The MAX9670/MAX9671 have to
transmit a chroma signal and receive a chroma signal
Figure 14. Standby mode finite state machine. TV_SS is active when either 6V or 12V are present. VCR_SS is active when either 6V
or 12V are present.
TV_SS NOT ACTIVE
VCR_SS NOT ACTIVE
SLOW SWITCH: LISTENING FOR ACTIVITY
STATE 0
SEARCH
AUDIO: INACTIVE
VIDEO: INACTIVE
FAST SWITCH: INACTIVE
TV_SS ACTIVE
VCR_SS ACTIVE
TV_SS NOT ACTIVE
VCR_SS ACTIVE
TV_SS ACTIVE
VCR_SS ACTIVE
TV_SS ACTIVE
VCR_SS NOT ACTIVE
TV-TO-VCR
AUDIO: TV TO VCR
VIDEO: TV TO VCR
SLOW SWITCH: TV TO VCR
FAST SWITCH: NOT APPLICABLE
STATE 1
TV_SS NOT ACTIVE
VCR_SS NOT ACTIVE
TV_SS ACTIVE
VCR_SS NOT ACTIVE
TV_SS NOT ACTIVE
VCR_SS NOT ACTIVE
SLOW SWITCH: VCR TO TV
FAST SWITCH: VCR TO TV
TV_SS NOT ACTIVE
VCR_SS ACTIVE
TV_SS NOT ACTIVE
VCR_SS ACTIVE
STATE 2
VCR-TO-TV
AUDIO: VCR TO TV
VIDEO: VCR TO TV
TV_SS ACTIVE
VCR_SS NOT ACTIVE
TV_SS ACTIVE
VCR_SS ACTIVE
MAX9670/MAX9671
Low-Power Audio/Video Switch with Audio
Volume Control for Dual SCART Connectors
on the same SCART pin, but not at the same time. The
75Ω resistor connected to VCR_R/C_OUT must act as a
back termination resistor when the MAX9670/MAX9671
is transmitting chroma signal and as an input termination resistor when it is receiving a chroma signal. Figure
15 shows how the MAX9670/MAX9671 transmits a
chroma signal to the VCR SCART connector while
Figure 16 shows how the MAX9670/MAX9671 receives
a chroma from the VCR SCART connector.
Write a 0 into bit 2 of register 09h to open the pulldown
switch at VCR_R/C_OUT. To close the pulldown switch,
write a 0 into bit 6 of register 0Dh to turn off the output
amplifier, and then write a 1 into register 09h. See
Tables 17 and 18.
Figure 15. Gain-of-2 amplifier on VCR_R/C_OUT outputs chroma signal to VCR SCART connector. Notice that the pulldown switch on
VCR_R/C_OUT is open.
Figure 16. VCR_R/C_IN receives chroma signal from VCR SCART connector. Notice that the pulldown switch on VCR_R/C_OUT is
closed and that the gain-of-2 amplifier is off. The chroma signal from VCR SCART is looped through to the TV SCART in the above
configuration.
If the set-top box modulates CVBS and mono audio
onto an RF carrier (for example, channel 3), a simple
application circuit can provide the needed signals (see
Figure 17). 10kΩ resistor summer circuit between
TV_OUTR and TV_OUTL creates the mono audio signal. The resistor-divider to ground on TV_Y/CVBS_OUT
creates a video signal with normal amplitude. The
unique feature of the MAX9670/MAX9671 that facilitates
this application circuit is that the audio and video output amplifiers of the MAX9670/MAX9671 can drive multiple loads if V
AUD
and V
VID
are both greater than
3.135V.
Floating-Chassis Discharge Protection
and ESD
Some set-top boxes have a floating chassis problem in
which the chassis is not connected to earth ground. As
a result, the chassis can charge up to 500V. When a
SCART cable is connected to the SCART connector,
the charged chassis can discharge through a signal
pin. The equivalent circuit is a 2200pF capacitor
charged to 311V connected through less than 0.1Ω to a
signal pin. The MAX9670/MAX9671 are soldered on the
PCB when it experiences such a discharge. Therefore,
the current spike flows through both external and internal ESD protection devices and is absorbed by the
supply bypass capacitors, which have high capacitance and low ESR.
To better protect the MAX9670/MAX9671 against
excess voltages during the cable discharge condition
or ESD events, add series resistors to all inputs and
outputs to the SCART connector if series resistors are
not already present in the application circuit. Also, add
external ESD protection diodes (for example, BAV99)
on all inputs and outputs to the SCART connector.
SCART Set-Top Box
with Analog HD Outputs
In set-top boxes with SCART connectors and cinch
connectors for high-definition YPbPr outputs, a triplevideo DAC usually outputs either standard-definition
RGB signals that are routed to the MAX9670/MAX9671
or high-definition YPbPr signals that are routed through
a high-definition filter amplifier like the MAX9653 (see
Figure 19). The set-top box devices have a limited number of video DACs, and hence, one bank of triple-video
DACs switches video format depending upon whether
standard-definition RGB or high-definition YPbPr signals are required.
When RGB signals are desired, the high-definition filter
amplifier should be turned off so that the RGB signals
do not appear on the YPbPr connectors. The
MAX9653/MAX9654 are well-suited for this application
because their video inputs are in high-impedance
mode when in shutdown.
Figure 17. Application Circuit to Connect CVBS and Mono Audio from TV SCART to RF Modulator
TV_OUTR
10kΩ
MAX9670/MAX9671
TV_OUTL
TV_Y/CVBS_OUT
MONO AUDIO
10kΩ
75Ω OR GREATER
75Ω
TV
SCART
75Ω OR GREATER
RF
MODULATOR
MAX9670/MAX9671
Low-Power Audio/Video Switch with Audio
Volume Control for Dual SCART Connectors
Similarly, when YPbPr signals are desired, ENC_R/C_IN,
ENC_G_IN, and ENC_B_IN of the MAX9670/MAX9671
should be set to high-impedance mode by setting bit 4 in
register 08h to high if those video inputs are AC-coupled.
The high-impedance mode has higher priority whether
ENC_R/C_IN is in sync-tip clamp or bias circuit mode
(set by bit 3 in register 08h). If ENC_R/C_IN, ENC_G_IN,
and ENC_B_IN are DC-coupled, the inputs should be left
in sync-tip clamp mode. The RGB outputs of the
MAX9670 should be muted or shut down.
In either case, the inactive device should not distort the
video signals generated by the DACs.
Power-Supply Bypassing
The MAX9670/MAX9671 feature single 3.3V and 12V
supply operation and require no negative supply. The
12V supply V12is for the SCART switching function. For
V12, place a 0.1µF bypass capacitor as close as possible. Connect all V
AUD
pins together to 3.3V and bypass
with a 10µF electrolytic capacitor in parallel with a
0.1µF ceramic capacitor to audio ground. Bypass each
V
VID
to video ground with a 0.1µF ceramic capacitor.
Using a Digital Supply
The MAX9670/MAX9671 are designed to operate from
noisy digital supplies. The high PSRR (49dB at 100kHz)
allows the MAX9670/MAX9671 to reject the noise from
the digital power supplies (see the
Typical Operating
Characteristics
). If the digital power supply is very noisy
and stripes appear on the television screen, increase
the supply bypass capacitance. An additional, smaller
capacitor in parallel with the main bypass capacitor
can reduce digital supply noise because the smaller
capacitor has lower equivalent series resistance (ESR)
and equivalent series inductance (ESL).
Layout and Grounding
For optimal performance, use controlled-impedance
traces for video signal paths and place input termination resistors and output back-termination resistors
close to the MAX9670/MAX9671. Avoid routing video
traces parallel to high-speed data lines.
The MAX9670/MAX9671 provide separate ground connections for video and audio supplies. For best performance, use separate ground planes for each of the
ground returns and connect all ground planes together
at a single point. See the MAX9670/MAX9671 evaluation kit for a proven circuit board layout example.
If the MAX9670/MAX9671 are mounted using flow soldering or wave soldering, the ground via(s) for the EP
pad should have a finished hole size of at least 14mils
to insure adequate wicking of soldering onto the
exposed pad. If the MAX9670/MAX9671 are mounted
using solder mask technique, the via requirement does
not apply. In either case, a good connection between
the exposed pad and ground is required to minimize
noise from coupling onto the outputs.
Figure 19. Triple DAC is connected to both a MAX9670 and a MAX9653/MAX9654 high-definition video-filter amplifier. (A) The
MAX9670/MAX9671 are transmitting standard-definition RGB signals while the MAX9653/MAX9654 are in shutdown mode. (B) The
MAX9670/MAX9671 are not transmitting RGB signals, but the MAX9653/MAX9654 are transmitting high-definition YPbPr signals.
0.1µF
0.1µF
0.1µF
0.1µF
0.1µF
0.1µF
3.3V
MAX9670/MAX9671MAX9670/MAX9671
TV_R/C_OUT
ENC_R/C_IN
ENC_G_IN
ENC_B_IN
INPUTS SET TO HIGH IMPEDANCEINPUTS SET TO SYNC-TIP CLAMP
MAX9653
MAX9654
YIN
PBIN
PRIN
SHDN
ON
(B)
TV_G_OUT
TV_B_OUT
YOUT
PBOUT
PROUT
75Ω
75Ω
75Ω
75Ω
75Ω
75Ω
SCART
CONNECTOR
YPbPr OUTPUTS
SET-TOP BOX
CHIP
DAC
DAC
DAC
0.1µF
3.3V
3.3V
3.3V
0.1µF
0.1µF
(A)
ENC_R/C_IN
ENC_G_IN
ENC_B_IN
YIN
PBIN
PRIN
SHDN
MAX9653
MAX9654
OFF
TV_R/C_OUT
TV_G_OUT
TV_B_OUT
YOUT
PBOUT
PROUT
75Ω
75Ω
SCART
75Ω
75Ω
75Ω
75Ω
CONNECTOR
YPbPr OUTPUTS
SET-TOP BOX
CHIP
DAC
DAC
DAC
3.3V
3.3V
3.3V
MAX9670/MAX9671
Low-Power Audio/Video Switch with Audio
Volume Control for Dual SCART Connectors
Table 9. Conditions for Average Power Consumption Measurement (continued)
Table 10. Data Format for Write Mode
PIN (MAX9670)NAMETYPESIGNALLOAD
31ENC_C_INInputNoneN/A
32ENC_R/C_INInput50% flat fieldN/A
33TV_R/C_OUTOutput50% flat field150Ω to ground
34VCR_R/C_OUTOutput50% flat field150Ω to ground
35VCR_Y/CVBS_OUTOutput50% flat field150Ω to ground
36TV_Y/CVBS_OUTOutput50% flat field150Ω to ground
37VCR_Y/CVBS_INInputNoneN/A
38TV_Y/CVBS_INInputNoneN/A
39ENC_Y_INInputNoneN/A
40ENC_Y/CVBS_INInput50% flat fieldN/A
REGISTER
ADDRESS (hex)
00hNot usedTV ZCDTV volume control
01hNot used
02hNot used
03hNot used
04hNot used
05hNot used
06hNot usedTV G and B video switchTV video switch
07hNot usedSet TV fast switchingNot usedSet TV slow switching
08h
09hNot used
0AhNot used
0BhNot used
0ChNot used
0Dh
10hOperating modeNot used
BIT 7BIT 6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0
VCR_R/C_IN
clamp
VCR_Y/
CVBS_OUT
enable
VCR_R/
C_OUT
enable
Not used
TV_R/
C_OUT
enable
Interrupt
enable
ENC R/G/B
high-
impedance
bias
TV_G_OUT
enable
VCR audio selectionTV audio selection
ENC_R/C_IN
clamp
TV_B_OUT
enable
VCR_R/C_OUT
CVBS_OUT
enable
ground
TV_Y/
VCR video switch
Set VCR slow
TVOUT_FS
enable
TV audio
output mute
switching
Not used
MAX9670/MAX9671
Low-Power Audio/Video Switch with Audio
Volume Control for Dual SCART Connectors
Standby mode (power-on default).
Input video detection circuits are
active. Audio circuitry is off unless
video is detected. Once slow switch
is detected, the signal paths between
the VCR and TV SCART are
connected.
Full-power mode with input video
detection and video-load detection
active.
Full-power mode without input video
detection and video-load detection
active.
DESCRIPTION
TV Slow-Switching Input Status
VCR Slow-Switching Input Status
Power-On Reset
BIT
76543210
000 to 2V; internal source
01
10Not used
11
000 to 2V; internal source
01
10Not used
11
0
1
1
COMMENTS
4.5V to 7V; external source with 16:9
aspect ratio
9.5V to 12.6V; external source with
4:3 aspect ratio
4.5V to 7V; external source with 16:9
aspect ratio
9.5V to 12.6V; external source with
4:3 aspect ratio
V
is too low for digital logic to
VID
operate
V
is high enough for digital logic to
VID
operate
The temperature is below the thermal
shutdown limit
For the latest package outline information and land patterns, go to www.maxim-ic.com/packages.
Package Information (continued)
For the latest package outline information and land patterns, go to www.maxim-ic.com/packages.
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
42
____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600