19-3618; Rev 0; 4/05 KIT ATION EVALU E L B A AVAIL Audio/Video Switch for Dual SCART Connectors Features The MAX4397 dual SCART switch matrix routes audio and video signals between an MPEG encoder and two external SCART connectors under I 2C* control, and meets the requirements of EN50049-1, IEC 933-1, Canal+, and BskyB standards. ♦ Video Outputs Drive 2VP-P into 150Ω The video and audio channels feature input source selection multiplexers, input buffers, and output buffers for routing all inputs to selected outputs. The MAX4397D audio encoder input is differential DC-coupled, while the MAX4397S audio encoder input is single-ended ACcoupled. Except for the MAX4397D’s audio encoder input, all other inputs and outputs are AC-coupled with internal DC-biasing set to predefined levels. The MAX4397 provides programmable gain control from +5dB to +7dB in 1dB steps for Red, Green, and Blue component video signals. All other video outputs have a fixed +6dB gain. Additional features include an internal Luma and Chroma (Y/C) mixer that generates a Composite video signal (CVBS) to supply an RF modulator output, and internal video reconstruction lowpass filters with a cutoff frequency of 6MHz. The MAX4397 TV audio channel features clickless switching and programmable volume control from -56dB to +6dB in 2dB steps. The VCR audio output also has programmable gain for -6dB, 0dB, or +6dB. The device also generates monaural audio from left and right stereo inputs. All audio drivers deliver a 3.0VRMS minimum output. The MAX4397 operates with standard 5V and 12V power supplies and supports slow-switching and fastswitching signals. The I 2 C interface programs the gain and volume control, and selects the input source for routing. The MAX4397 is available in a compact 48-pin thin QFN package and is specified over the 0°C to +70°C commercial temperature range. ♦ AC-Coupled Video Inputs with Internal Clamp and Bias ♦ Audio Outputs Drive 3VRMS into 10kΩ ♦ Clickless, Popless Audio Gain Control and Switching ♦ DC-Coupled Video Outputs ♦ Composite Video Signal Created Internally from Y/C Inputs ♦ Internal Video Reconstruction Filters Provide -35dB at 27MHz ♦ Differential (MAX4397D) or Single-Ended (MAX4397S) Audio Encoder Input ♦ Red/Chroma Switch for Bidirectional I/O ♦ I2C-Programmable RGB Gain from +5dB to +7dB ♦ I2C-Programmable Audio Gain Control from +6dB to -56dB ♦ Meets EN50049-1, IEC 933-1, Canal+, and BSkyB Requirements Ordering Information PART TEMP RANGE PIN-PACKAGE MAX4397DCTM 0°C to +70°C 48 Thin QFN-EP* (7mm x 7mm) MAX4397SCTM 0°C to +70°C 48 Thin QFN-EP* (7mm x 7mm) *EP = Exposed paddle. Applications Satellite Set-Top Boxes Cable Set-Top Boxes TVs VCRs DVDs Pin Configuration and Typical Application Circuits appear at end of data sheet. System Block Diagram appears at end of data sheet. *Purchase of I2C components from Maxim Integrated Products, Inc. or one of its sublicensed Associated Companies, conveys a license under the Philips I2C Patent Rights to use these components in an I2C system, provided that the system conforms to the I2C Standard Specification as defined by Philips. ________________________________________________________________ Maxim Integrated Products For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at 1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com. 1 MAX4397 General Description MAX4397 Audio/Video Switch for Dual SCART Connectors ABSOLUTE MAXIMUM RATINGS VVID to GNDVID........................................................-0.3V to +6V V12 to GNDAUD .....................................................-0.3V to +14V VAUD to GNDAUD ....................................................-0.3V to +6V GNDAUD to GNDVID ............................................-0.1V to +0.1V All Video Inputs, ENCIN_FS, VCRIN_FS, SET to GNDVID......................................-0.3V to (VVID + 0.3V) All Audio Inputs, AUDBIAS to GNDAUD .........................-0.3V to (VAUD + 0.3V) SDA, SCL, DEV_ADDR to GNDVID ..........................-0.3V to +6V All Audio Outputs, TV_SS, VCR_SS to GNDAUD...............................-0.3V to (V12 + 0.3V) All Video Outputs, TVOUT_FS to VVID, VAUD, GNDAUD, GNDVID ................................................Continuous All Audio Outputs to VVID, VAUD, V12, GNDVID, GNDAUD ................................................Continuous Continuous Power Dissipation (TA = +70°C) 48-Pin Thin QFN (derate 27mW/°C above +70°C) .....2105.3mW Operating Temperature Range...............................0°C to +70°C Junction Temperature ......................................................+150°C Storage Temperature Range .............................-65°C to +150°C Lead Temperature (soldering, 10s) .................................+300°C 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. ELECTRICAL CHARACTERISTICS (V12 = 12V, VVID = VAUD = 5V, 0.1µF X5R capacitor in parallel with a 10µF aluminum electrolytic capacitor from VAUD to GNDAUD, V12 to GNDAUD, and VVID to GNDVID, SET = 100kΩ nominal, RLOAD = 150Ω, TA = 0°C to +70°C, unless otherwise noted. Typical values are at TA = +25°C.) (Note 1) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS VVID Supply Voltage Range VVID Inferred from video gain test at 4.75V and 5.2V 4.75 5.0 5.25 V VAUD Supply Voltage Range VAUD Inferred from audio gain test at 4.75V and 5.2V 4.75 5.0 5.25 V Inferred from slow switching levels 11.4 12.0 12.6 V 69 100 mA V12 Supply Voltage Range V12 VVID Quiescent Supply Current IVID_Q VVID Standby Supply Current IVID_S VAUD Quiescent Supply Current V12 Quiescent Supply Current IAUD_Q I12_Q All video output amplifiers are enabled, no load All video output amplifiers are in shutdown, and TV_FS_OUT driver is in shutdown, no load No load 40 60 mA 2.4 6 mA No load 3.6 6 mA +5.5 +6.0 +6.5 +4.5 +5.0 +5.5 +5.5 +6.0 +6.5 +6.5 +7.0 +7.5 1.2 3.3 VIDEO CHARACTERISTICS CVBS and Y-C, 1VP-P input Voltage Gain G_V R,G,B, 1VP-P input, (programmable gain control) LP Filter Attenuation ATTN TA = +25°C, f = 6MHz, VIN = 1VP-P LP Filter Suppression SPPR TA = +25°C, f = 27MHz, VIN = 1VP-P Slew Rate SR VOUT = 2VP-P Settling Time tS VOUT = 2VP-P, settle to 0.1% (Note 2) 35 dB dB 50 dB 8 V/µs 380 ns Gain Matching AG 1VP-P input, between RGB or Y-C Differential Gain DG 5-step modulated staircase 0.4 % Differential Phase DP 5-step modulated staircase 0.2 degrees VIN = 1VP-P 65 dB Signal-to-RMS Noise 2 SNR_V -0.5 +0.5 _______________________________________________________________________________________ dB Audio/Video Switch for Dual SCART Connectors (V12 = 12V, VVID = VAUD = 5V, 0.1µF X5R capacitor in parallel with a 10µF aluminum electrolytic capacitor from VAUD to GNDAUD, V12 to GNDAUD, and VVID to GNDVID, SET = 100kΩ nominal, RLOAD = 150Ω, TA = 0°C to +70°C, unless otherwise noted. Typical values are at TA = +25°C.) (Note 1) PARAMETER SYMBOL Group Delay Variation ∆GD Sync-Tip Clamp Level V_CLMP Chroma Bias V_BIAS Droop D Power-Supply Rejection Ratio PSRR_V Input Impedance ZIN Input Clamp Current ICLMP Pulldown Resistance RP Output Pin Bias Voltage VOUT Crosstalk XTLK Mute Suppression CONDITIONS MIN f = 0.1MHz to 4.43MHz TYP MAX UNITS 14 nS RGB, Composite, and Luma input, no signal, no load 1.21 V Chroma input only, no signal, no load 1.9 V Set by input current -2 +2 % DC, 0.5VP-P 48 dB CVBS, Y, or RGB video inputs, VIN > V_CLMP 4 MΩ Chroma video input, VIN = V_BIAS VIN = 1.75V 11 2.5 Enable VCR_R/C_OUT and TV_R/C_OUT pulldown through I2C, (see registers 7 and 9 for loading register details) 5 kΩ 8.0 µA Ω 10 RGB, Composite, and Luma, no signal, no load 1.08 Chroma, no signal, no load 2.27 Between any two active inputs, f = 4.43MHz, VIN = 1VP-P -50 dB -50 dB M_SPR_V f = 4.43MHz, VIN = 1VP-P, on one input only V AUDIO CHARACTERISTICS (Note 3) Voltage Gain (From Application Input) Gain Matching Between Channels G_A ∆G_A TV or VCR to stereo, gain = 0dB, VIN = 1VP-P -0.5 0 +0.5 TV or VCR to mono, gain = 0dB, VIN = 1VP-P 2.5 3 3.5 ENC to stereo, gain = 0dB, VIN = 1VP-P 3.02 3.52 4.02 ENC to mono, gain = 0dB, VIN = 1VP-P 6.02 6.52 7.02 Gain = 0dB, VIN = 1VP-P -0.5 0 +0.5 dB dB Flatness ∆A f = 20Hz to 20kHz, 0.5VRMS input, gain = 0dB 0.01 dB Frequency Bandwidth BW 0.5VRMS input, frequency where output is -3dB referenced to 1kHz 230 kHz Input DC Level (Excluding Encoder Inputs that are High Impedance) VIN Gain = 0dB 0.2308 x V12 V Encoder Input Common-Mode Voltage Range VCM MAX4397D only, input differential signal = 0V 1.2 VAUD 0.7 V _______________________________________________________________________________________ 3 MAX4397 ELECTRICAL CHARACTERISTICS (continued) MAX4397 Audio/Video Switch for Dual SCART Connectors ELECTRICAL CHARACTERISTICS (continued) (V12 = 12V, VVID = VAUD = 5V, 0.1µF X5R capacitor in parallel with a 10µF aluminum electrolytic capacitor from VAUD to GNDAUD, V12 to GNDAUD, and VVID to GNDVID, SET = 100kΩ nominal, RLOAD = 150Ω, TA = 0°C to +70°C, unless otherwise noted. Typical values are at TA = +25°C.) (Note 1) PARAMETER Encoder Common-Mode Rejection Ratio Input Signal Amplitude Input Resistance (Measured at Parts Input) SYMBOL CMRR VIN_AC RIN CONDITIONS MIN MAX4397D only, over VCM range 40 Single-ended inputs, f = 1kHz, THD < 1% 3 ENC inputs differential level, MAX4397D, f = 1kHz, THD < 1% 2.08 ENC inputs single-ended, MAX4397S, f = 1kHz, THD < 1% 1.31 Single ended: VCR_INR, VCR_INL, TV_INR, TV_INL 0.1 Encoder, MAX4397D: ENC_INL+, ENC_INL-, ENC_INR+, ENC_INR- 1 Encoder, MAX4397S: ENC_INL, ENC_INR Output DC Level VOUT_DC Signal-to-Noise Ratio SNR_A Total Harmonic Distortion Plus Noise THD+N Output Impedance Volume Attenuation Step ZO ASTEP TYP MAX UNITS dB VRMS MΩ 0.1 VIN = 0V f = 1.0kHz, 1VRMS application input, gain = 0dB, 20Hz to 20kHz 0.5 x V12 V 95 dB RLOAD = 10kΩ, f = 1.0kHz, 0.5VRMS output 0.004 RLOAD = 10kΩ, f = 1.0kHz, 2VRMS output 0.004 f = 1kHz % Ω 1 1.414VP-P input, programmable gain to TV SCART volume control range extends from -56dB to +6dB 1.5 1.414VP-P input, programmable gain to VCR audio extends from -6dB to +6dB 5.5 2 2.5 dB 6 6.5 From V12, f = 1kHz, 0.5VP-P, (CAUD_BIAS = 47µF), gain = 0dB 75 From VAUD, f = 1kHz, 0.5VP-P, VAUD ≥ +4.75V, VAUD ≤ +5.25V, gain = 0dB 75 f = 1kHz, 0.5VRMS input, set through I2C, see register 1 for loading register details 90 dB VCLIP f = 1kHz, 2.5VRMS input, gain = 6dB, THD < 1% 3.6 VRMS Left-to-Right Crosstalk XTLK_LR f = 1kHz, 0.5VRMS input, gain = 0dB 80 dB Crosstalk TV SCART to VCR SCART or VCR SCART to XTLK_CC TV SCART, f = 1kHz, 0.5VRMS input, gain = 0dB 90 dB Power-Supply Rejection Ratio Mute Suppression Audio Clipping Level 4 PSRR_A M_SPR_A dB _______________________________________________________________________________________ Audio/Video Switch for Dual SCART Connectors (V12 = 12V, VVID = VAUD = 5V, 0.1µF X5R capacitor in parallel with a 10µF aluminum electrolytic capacitor from VAUD to GNDAUD, V12 to GNDAUD, and VVID to GNDVID, SET = 100kΩ nominal, RLOAD = 150Ω, TA = 0°C to +70°C, unless otherwise noted. Typical values are at TA = +25°C.) (Note 1) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS 0.8 V DIGITAL INTERFACE: SDA AND SCL (Note 5) Low-Level Input Voltage VIL 0 High-Level Input Voltage VIH 2.6 Hysteresis of Schmitt Trigger Input SDA Low-Level Output Voltage V 0.2 VOL Output Fall Time for SDA Line V ISINK = 3mA 0.4 ISINK = 6mA 0.6 400pF bus load 250 Spike Suppression 50 Input Current -10 Input Capacitance Hold Time 0 ns ns +10 µA 400 kHz 5 SCL Clock Frequency V pF tHD,STA 0.6 µs Low Period of SCL Clock tLOW 1.3 µs High Period of SCL Clock tHIGH 0.6 µs Setup Time for a Repeated Start Condition tSU,STA 0.6 µs Data Hold Time tHD,DAT 0 Data Setup Time tSU,DAT 100 ns Setup Time for Stop Condition tSU,STO 0.6 µs Bus Free Time Between a Stop and Start tBUF 1.3 µs 0.9 µs OTHER DIGITAL PINS (Note 5) DEV_ADDR Low Level 0.8 DEV_ADDR High Level 2.6 V V SLOW SWITCHING SECTION (Note 5) Input Low Level 0 2 V Input Medium Level 4.5 7.0 V Input High Level 9.5 V12 V 100 µA 0 1.5 V Input Current 50 Output Low Level 10kΩ to ground, internal TV, 11.4V < V12 < 12.6V Output Medium Level 10kΩ to ground, external 16/9, 11.4V < V12 < 12.6V 5.0 6.5 V Output High Level 10kΩ to ground, external 4/3, 11.4V < V12 < 12.6V 10 V12 V _______________________________________________________________________________________ 5 MAX4397 ELECTRICAL CHARACTERISTICS (continued) ELECTRICAL CHARACTERISTICS (continued) (V12 = 12V, VVID = VAUD = 5V, 0.1µF X5R capacitor in parallel with a 10µF aluminum electrolytic capacitor from VAUD to GNDAUD, V12 to GNDAUD, and VVID to GNDVID, SET = 100kΩ nominal, RLOAD = 150Ω, TA = 0°C to +70°C, unless otherwise noted. Typical values are at TA = +25°C.) (Note 1) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNIT 1 0.01 0.75 0.4 3 10 0.2 2 V V µA V V FAST SWITCHING SECTION (Note 5) Input Low Level Input High Level Input Current Output Low Level Output High Level Fast Switching Output to RGB Skew Fast Switching Output Rise Time Fast Switching Output Fall Time 0 1 ISINK = 0.5mA ISOURCE = 20mA, VVID - VOH 0 (Note 4) 30 ns 150Ω to ground 150Ω to ground 30 30 ns ns Note 1: All devices are 100% tested at TA = +25°C. All temperature limits are guaranteed by design. Note 2: The settling time is measured from the 50% of the input swing to the 0.1% of the final value of the output. Note 3: Maximum load capacitance is 200pF. All the listed parameters are measured at application’s inputs, unless otherwise noted. See the Typical Application Circuits. Note 4: Difference in propagation delays of fast-blanking signal and RGB signals. Measured from 50% input transition to 50% output transition. Signal levels to be determined. Note 5: Guaranteed by design. Typical Operating Characteristics (V12 = 12V, VVID = VAUD = 5V, 0.1µF X5R capacitor in parallel with a 10µF aluminum electrolytic capacitor from VAUD to GNDAUD, V12 to GNDAUD, VVID to GNDVID no load, TA = 0°C to +70°C, unless otherwise noted. Typical values are at TA = +25°C.) 2 120 100 GROUP DELAY (nS) 1 0 -1 -2 -3 -4 3 VIN = 1VP-P RL = 150Ω TO GNDVID 2 1 80 60 40 0 -1 -2 -3 20 -4 0 -6 -5 -5 -6 0.1 1 FREQUENCY (MHz) 6 4 GAIN (dB) VIN = 1VP-P RL = 150Ω TO GNDVID MAX4397 toc02 3 MAX4397 toc01 4 Y VIDEO LARGE-SIGNAL BANDWIDTH vs. FREQUENCY GROUP DELAY vs. FREQUENCY MAX4397 toc03 R/G/B VIDEO LARGE-SIGNAL BANDWIDTH vs. FREQUENCY GAIN (dB) MAX4397 Audio/Video Switch for Dual SCART Connectors 10 0.1 1 FREQUENCY (MHz) 10 0.1 1 FREQUENCY (MHz) _______________________________________________________________________________________ 10 Audio/Video Switch for Dual SCART Connectors 1 0 0 -1 -2 -1 -2 -30 -40 -50 -60 -3 -70 -4 -4 -80 -5 -5 -90 -6 -100 1 0.1 10 1 0.1 10 10 FREQUENCY (MHz) FREQUENCY (MHz) FREQUENCY (MHz) AUDIO LARGE-SIGNAL BANDWIDTH vs. FREQUENCY AUDIO CROSSTALK vs. FREQUENCY AUDIO TOTAL HARMONIC DISTORTION PLUS NOISE vs. FREQUENCY CROSSTALK (dB) 1 -20 0 -1 -2 -3 0 MAX4397 toc09 2 VIN = 0.5VRMS RL = 10kΩ TO GNDAUD 0.1 -40 AMPLITUDE = 3.0VRMS THD+N (%) VIN = 0.5VRMS RL = 10kΩ TO GNDAUD MAX4397 toc08 0 MAX4397 toc07 4 3 1 0.1 VIN = 100mVP-P RL = 150Ω TO GNDVID -20 -3 -6 -60 AMPLITUDE = 0.5VRMS 0.01 -80 0.001 -4 -100 AMPLITUDE = 2.0VRMS -5 -120 10 100 0.01 1000 1 0.1 FREQUENCY (kHz) 0.1 0.01 10 100 VVID QUIESCENT SUPPLY CURRENT vs. TEMPERATURE -20 -30 -40 WITH RESPECT TO V12 -60 -70 -80 WITH RESPECT TO VAUD -100 80 VVID QUIESCENT SUPPLY CURRENT (mA) 0 -10 -90 1 FREQUENCY (kHz) POWER-SUPPLY REJECTION RATIO vs. FREQUENCY -50 0.0001 100 10 FREQUENCY (kHz) MAX4397 toc10 1 ALL VIDEO OUTPUT AMPLIFIERS ENABLED NO LOAD 75 MAX4397 toc11 -6 PSRR (dB) GAIN (dB) -10 CROSSTALK (dB) 2 1 GAIN (dB) GAIN (dB) 2 VIN = 100mVP-P RL = 150Ω TO GNDVID 3 VIDEO CROSSTALK vs. FREQUENCY 0 MAX4397 toc05 VIN = 100mVP-P RL = 150Ω TO GNDVID 3 4 MAX4397 toc04 4 Y VIDEO SMALL-SIGNAL BANDWIDTH vs. FREQUENCY MAX4397 toc06 R/G/B VIDEO SMALL-SIGNAL BANDWIDTH vs. FREQUENCY 70 65 60 55 50 0.01 0.1 1 FREQUENCY (kHz) 10 100 0 25 50 75 TEMPERATURE (°C) _______________________________________________________________________________________ 7 MAX4397 Typical Operating Characteristics (continued) (V12 = 12V, VVID = VAUD = 5V, 0.1µF X5R capacitor in parallel with a 10µF aluminum electrolytic capacitor from VAUD to GNDAUD, V12 to GNDAUD, VVID to GNDVID no load, TA = 0°C to +70°C, unless otherwise noted. Typical values are at TA = +25°C.) Typical Operating Characteristics (continued) (V12 = 12V, VVID = VAUD = 5V, 0.1µF X5R capacitor in parallel with a 10µF aluminum electrolytic capacitor from VAUD to GNDAUD, V12 to GNDAUD, VVID to GNDVID no load, TA = 0°C to +70°C, unless otherwise noted. Typical values are at TA = +25°C.) VVID STANDBY QUIESCENT SUPPLY CURRENT vs. TEMPERATURE 40 35 30 4.5 4.0 3.5 3.0 2.5 2.0 1.5 4.0 1.0 50 75 25 50 0.5 0 25 BIAS 1.9 1.7 1.5 BOTTOM LEVEL CLAMP 0.9 6.0 VIN = 1.75V 5.5 INPUT CLAMP CURRENT (µA) 2.3 50 INPUT CLAMP CURRENT vs. TEMPERATURE MAX4397 toc15 INPUT CLAMP AND BIAS LEVEL (V) 1.0 TEMPERATURE (°C) 5.0 4.5 4.0 3.5 3.0 2.5 0.7 0.5 0 25 50 2.0 75 0 25 50 TEMPERATURE (°C) TEMPERATURE (°C) INPUT CLAMP CURRENT vs. INPUT VOLTAGE OUTPUT BIAS VOLTAGE vs. TEMPERATURE 0.4 0.3 0.2 0.1 0 -0.1 -0.2 -0.3 3.0 CHROMA 2.5 OUTPUT BIAS VOLTAGE (V) MAX4397 toc17 0.5 INPUT CLAMP CURRENT (mA) 1.5 TEMPERATURE (°C) 2.5 1.1 2.0 75 INPUT CLAMP AND BIAS LEVEL vs. TEMPERATURE 1.3 2.5 0 0 TEMPERATURE (°C) 2.1 3.0 MAX4397 toc16 25 3.5 75 MAX4397 toc18 0 MAX4397 toc14 5.0 VAUD QUIESCENT SUPPLY CURRENT (mA) 45 VAUD QUIESCENT SUPPLY CURRENT vs. TEMPERATURE MAX4397 toc13 ALL VIDEO OUTPUT AMPLIFIERS DISABLED V12 QUIESCENT SUPPLY CURRENT (mA) 50 V12 QUIESCENT SUPPLY CURRENT vs. TEMPERATURE MAX4397 toc12 VVID STANDBY QUIESCENT SUPPLY CURRENT (mA) MAX4397 Audio/Video Switch for Dual SCART Connectors 2.0 1.5 RGB, LUMA, CVBS 1.0 0.5 -0.4 0 -0.5 0 1 2 3 INPUT VOLTAGE (V) 8 4 5 0 25 50 TEMPERATURE (°C) _______________________________________________________________________________________ 75 75 Audio/Video Switch for Dual SCART Connectors PIN NAME FUNCTION 1 SDA Bidirectional Data I/O. I2C-compatible, 2-wire interface data input/output. Output is open drain. 2 2 SCL Serial Clock Input. I2C-compatible, 2-wire clock interface. 3 3 DEV_ADDR Device Address Set Input. Connect to GNDVID to set write and read addresses of 94h or 95h, respectively. Connect to VVID to set write and read address of 96h or 97h, respectively. Digital Encoder Left-Channel Audio Positive Input MAX4397D MAX4397S 1 4 — ENC_INL+ — 4 ENC_INL Digital Encoder Left-Channel Audio Input 5 — ENC_INL- Digital Encoder Left-Channel Audio Negative Input — 5, 7 N.C. 6 — ENC_INR+ — 6 ENC_INR Digital Encoder Right-Channel Audio Input 7 — ENC_INR- Digital Encoder Right-Channel Audio Negative Input 8 8 VCR_INR VCR SCART Right-Channel Audio Input 9 9 VCR_INL VCR SCART Left-Channel Audio Input 10 10 TV_INR TV SCART Right-Channel Audio Input TV SCART Left-Channel Audio Input No Connection. Not internally connected. Digital Encoder Right-Channel Audio Positive Input 11 11 TV_INL 12 12 GNDAUD Audio Ground 13 13 AUD_BIAS Audio Input Bias Voltage. Bypass AUD_BIAS with a 47µF capacitor and a 0.1µF capacitor to AUDGND. 14 14 VAUD 15 15 VCR_OUTR 16 16 VCR_OUTL 17 17 RF_MONO_OUT 18 18 TV_OUTL TV SCART Left-Channel Audio Output 19 19 TV_OUTR TV SCART Right-Channel Audio Output 20 20 V12 21 21 TV_SS 22 22 VCR_SS 23 23 SET Filter Cutoff Frequency Set Input. Connect 100kΩ resistor from SET to ground. 24, 36 24, 36 VVID Video and Digital Supply. Connect to a +5V supply. Bypass with a 0.01µF capacitor to GNDVID. VVID also serves as a digital supply for the I2C interface. 25 25 VCRIN_FS VCR SCART Fast-Switching Input 26 26 ENCIN_FS Digital Encoder Fast-Switching Input 27 27 TVOUT_FS TV SCART Fast-Switching Output. This signal is used to switch the TV to its RGB inputs for on-screen display purposes. 28 28 GNDVID Audio Supply. Connect to a +5V supply. Bypass with a 10µF aluminum electrolyte capacitor in parallel with a 0.47µF low-ESR ceramic capacitor to GNDAUD. VCR SCART Right-Channel Audio Output VCR SCART Left-Channel Audio Output RF Modulator Mono Audio Output +12V Supply. Bypass V12 with a 10µF capacitor in parallel with a 0.1µF capacitor to ground. TV SCART Bidirectional Slow-Switch Signal VCR SCART Bidirectional Slow-Switch Signal Video Ground _______________________________________________________________________________________ 9 MAX4397 Pin Description MAX4397 Audio/Video Switch for Dual SCART Connectors Pin Description (continued) PIN NAME FUNCTION MAX4397D MAX4397S 29 29 RF_CVBS_OUT 30 30 TV_Y/CVBS_OUT 31 31 TV_R/C_OUT 32 32 TV_G_OUT TV SCART Green Video Output. Internally biased at 1V. 33 33 TV_B_OUT TV SCART Blue Video Output. Internally biased at 1V. 34 34 35 35 VCR_R/C_OUT 37 37 TV_R/C_IN 38 38 TV_Y/CVBS_IN 39 39 VCR_Y/CVBS_IN RF Modulator Composite Video Output. Internally biased at 1V. TV SCART Luma/Composite Video Output. Internally biased at 1V. TV SCART Red/Chroma Video Output. Internally biased at 1V for Red video signal and 2.2V for Chroma video signal. VCR_Y/CVBS_OUT VCR SCART Luma/Composite Video Output. Internally biased at 1V. VCR SCART Red/Chroma Video Output. Internally biased at 1V for Red video signals and 2.2V for Chroma video signal. TV SCART Red/Chroma Video Input. Internally biased at 1.2V for Red video signals, or 1.9V for Chroma video signals. TV SCART Luma/Composite Video Input. Internally biased at 1.2V. VCR SCART Luma/Composite Video Input. Internally biased at 1.2V. VCR SCART Red/Chroma Video Input. Internally biased at 1.2V for Red video signals and 1.9V for Chroma video signals. 40 40 VCR_R/C_IN 41 41 VCR_G_IN 42 42 VCR_B_IN 43 43 ENC_Y/CVBS_IN 44 44 ENC_R/C_IN 45 45 ENC_G_IN Digital Encoder Green Video Input. Internally biased at 1.2V. 46 46 ENC_B_IN Digital Encoder Blue Video Input. Internally biased at 1.2V. 47 47 ENC_Y_IN Digital Encoder Luma Video Input. Internally biased at 1.2V. 48 48 ENC_C_IN Digital Encoder Chroma Video Input. Internally biased at 1.9V. GNDAUD Exposed Paddle. Solder to the circuit board ground (GNDAUD) for proper thermal and electrical performance. EP EP VCR SCART Green Video Input. Internally biased at 1.2V. VCR SCART Blue Video Input. Internally biased at 1.2V. Digital Encoder Luma/Composite Video Input. Internally biased at 1.2V. Digital Encoder Red/Chroma Video Input. Internally biased at 1.2V for Red video signals, or 1.9V for Chroma video signals. Detailed Description The MAX4397 is a switch matrix that routes audio and video signals between different ports using the I 2C interface. The ports consist of the MPEG decoder output, and two SCART connectors for the TV and VCR. Per EN50049 and IEC 933, the encoder can only input a signal to the SCART connector, while TV and VCR SCART connectors are bidirectional. The MAX4397 circuitry consists of four major sections: the video section, the audio section, the slow- and fastswitching section, and the digital interface. The video section consists of clamp and bias circuitry, input buffers, reconstruction filters, a switch matrix, a Y/C mixer, and output buffers. All video inputs are ACcoupled through a 0.1µF capacitor to set an acceptable 10 DC level using clamp or bias networks. The bidirectional Red/Chroma outputs can be connected to ground using I 2 C control to make them terminations when Red/Chroma is an input (see the Video Inputs section). The audio section features an input buffer, a switching matrix, volume- or gain-control circuitry, and output drivers. The audio inputs are AC-coupled through a 0.1µF capacitor. Only the audio encoder inputs of the MAX4397D are different from the MAX4397S. The MAX4397S has a single-ended audio encoder input while the audio encoder input for the MAX4397D is differential. The TV output audio path has volume control from -56dB to +6dB in 2dB steps, while the VCR output audio path has volume control from -6dB to +6dB in 6dB steps. The MAX4397 can be configured to switch inputs during a zero-crossing function to reduce clicks. ______________________________________________________________________________________ Audio/Video Switch for Dual SCART Connectors TV_R/C_IN SCART Video Switching The MAX4397 switches video signals between an MPEG decoder, TV SCART, and VCR SCART. The video switch includes reconstruction filters, multiplexed video amplifiers, and a Y-C mixer driver for an RF modulator. See Figure 1 for the functional diagram of the video section. While the SCART connector supports RGB, S-video, and Composite video formats, RGB, and S-video typically share a bidirectional set of SCART connector pins. CLAMP/BIAS TV_Y/CVBS_IN CLAMP VCR_B_IN CLAMP VCR_G_IN CLAMP VCR_R/C_IN The digital block contains the 2-wire interface circuitry, control, and status registers. The MAX4397 can be configured through an I 2 C-compatible interface. DEV_ADDR sets the I2C-compatible address. FILTER FILTER VCR_Y/CVBS_OUT x2 x2 PULLDOWN VCRRCOUT VCR_R/C_OUT N CLAMP/BIAS VCRIN_FS VGA 5dB, 6dB, OR 7dB 0.7V TV_R/C_OUT FILTER VCR_Y/CVBS_IN ENC_Y/CVBS_IN ENC_R/C_IN CLAMP PULLDOWN TVRCOUT N CLAMP VGA 5dB, 6dB, OR 7dB CLAMP/BIAS ENC_G_IN CLAMP ENC_B_IN CLAMP ENC_Y_IN CLAMP FILTER TV_G_OUT VGA 5dB, 6dB, OR 7dB TV_B_OUT FILTER ENCIN_FS 0.7V ENC_C_IN BIAS BIAS x2 TV_Y/CVBS_OUT x1 TVOUT_FS x2 RF_CVBS_OUT 0V MAX4397 5V FILTER 2kΩ MIXER 2kΩ Figure 1. MAX4397 Video Section Functional Diagram ______________________________________________________________________________________ 11 MAX4397 The slow-switching feature allows for bidirectional, trilevel, slow-switching input and output signals at pin VCR_SS and TV_SS, respectively. The slow-switching signals from the VCR set the aspect ratio or video source of the TV screen. See the Slow Switching section. Fast switching consists of two inputs from the encoder and VCR, and one output to the TV to insert an onscreen display (OSD). Fast switching is used to route video signals from the VCR or from the encoder to the TV. In addition, the fast-switching output can be configured to a high or low voltage. Fast switching is controlled through the I2C interface. MAX4397 Audio/Video Switch for Dual SCART Connectors Video Inputs with a 75Ω resistor to ground. Thus, a ground state is provided by an active pulldown to GNDVID on the Red/Chroma output to support the bidirectional Chroma or Red I/O, turning the output source resistors into terminations (see Figure 2). The active pulldown also provides the “Mute Output” function, and disables the deselected video outputs. The “Mute Output” state is the default power-on state for video. For high-quality home video, the MPEG decoder, VCR, and TV use the S-video format. The MAX4397 supports S-video signals as an input from the VCR, the MPEG decoder, and the TV, and also as a separately switchable output to the TV and VCR. Because S-video support was not included in the original specifications of the SCART connector, the Luma (Y) signal of S-video and the CVBS signal share the same SCART connector pins. If S-video is present, then a Composite signal must be created from the Y and C signals to drive the RF_CVBS_OUT pin. For S-video, loop-through is not possible since the Chroma SCART port is used for both input and output. The MAX4397 supports Composite video (CVBS) format, with inputs from the VCR, MPEG decoder, and TV. Full loop-through is possible to the TV and VCR only, since the MPEG decoder SCART connector has separate input and output pins for the CVBS format. All video inputs are AC-coupled with an external 0.1µF capacitor. Either a clamp or bias circuit sets the DC input level of the video signals. The clamp circuit positions the sync tip of the Composite (CVBS), the Component RGB, or the S-Video Luma signal. If the signal does not have a sync tip, then the clamp positions the minimum of the signal at the clamp voltage. The bias circuitry is used to position the S-video Chroma signal at midlevel of the Luma (Y) signal. On the video inputs that can receive either a Chroma or a Red video signal, the bias or clamp circuit is selected through I2C. See Tables 3–12 for loading register details. The MPEG decoder and VCR uses the RGB format and fast switching to insert an on-screen display (OSD), usually text, onto the TV. The MAX4397 supports RGB as an input from either the VCR or the MPEG decoder and as an output only to the TV. The Red video signal of the RGB format and the Chroma video signal of the S-VHS format share the same SCART connector pin. Therefore, RGB and S-video signals cannot be present at the same time. Loop-through is possible with a Composite video signal but not with RGB signals because the RGB SCART pins are used for both input and output. In SCART, there is the possibility of a bidirectional use of the Red/Chroma pin. When using the Red/Chroma pin as an input port, terminate the Red/Chroma output 0.1µF 0.1µF MAX4397 MAX4397 TV_R/C_OUT N PULLDOWN 75Ω PIN 15 PIN 15 PIN 13 PIN 13 SCART CABLE 75Ω TV_R/C_OUT N PULLDOWN TV_R/C_IN CLAMP/BIAS VIDEO INPUT TV_R/C_IN SCART CONNECTORS CLAMP/BIAS CLAMP Figure 2. Bidirectional SCART Pins 12 ______________________________________________________________________________________ VIDEO INPUT CLAMP Audio/Video Switch for Dual SCART Connectors Fast Switching The VCR or MPEG decoder outputs a fast-switching signal to the display device or TV to insert on-screen display (OSD). The fast-switching signal can also be set to a constant high or low output signal through the I 2C interface. The fast-switching output can be set through writing to register 07h. Slow Switching The MAX4397 supports the IEC 933-1, Amendment 1, tri-level slow switching that selects the aspect ratio for the display (TV). Under I2C-compatible control, the MAX4397 sets the slow-switching output voltage level. Table 1 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 register 0Eh. The slow-switching outputs can be set to a logic level or high impedance by writing to registers 07h and 09h. See Tables 8 and 10 for details. Table 1. Slow-Switching Modes SLOW-SWITCHING SIGNAL VOLTAGE (V) Y/C Mixer The MAX4397 includes an on-chip mixer to produce Composite video (CVBS) when S-video (Y and C) is present. The Composite video drives the RF_CVBS_OUT output pin. The circuit sums Y and C signals to obtain the CVBS component. A +6dB output buffer drives RF_CVBS_OUT. Video Reconstruction Filter The encoder DAC outputs need to be lowpass-filtered to reject the out-of-band noise. The MAX4397 integrates the reconstruction filter. The filter is fourth order, which is composed of two Sallen-Key biquad in cascade, implementing a Butterworth-type transfer function. The internal reconstruction filters feature a 6MHz cutoff frequency, and -35dB minimum attenuation at 27MHz. Note that the SET pin is used to set the accuracy of the filter cutoff frequency. Connect a 100kΩ resistor from SET to ground. SCART Audio Switching MODE 0 to 2 Display device uses an internal source such as a built-in tuner to provide a video signal 4.5 to 7.0 Display device uses a video signal from the SCART connector and sets the display to 16:9 aspect ratio 9.5 to 12.6 Display device uses a signal from the SCART connector and sets the display to 4:3 aspect ratio Audio Inputs All audio inputs for the MAX4397S are single-ended and are AC-coupled. The MAX4397D audio inputs are singled-ended and AC-coupled except for the audio encoder input, which is differential DC-coupled. The audio block has three stereo audio inputs from the TV, the VCR, and the MPEG decoder SCART. Each input has a 100kΩ resistor connected to an internally generated voltage equal to 0.23 x V12, except for the encoder input of the MAX4397D, where the DC bias is fixed externally. ______________________________________________________________________________________ 13 MAX4397 Video Outputs The DC level at the video outputs is controlled so that coupling capacitors are not required, and all of the video outputs are capable of driving a DC-coupled, 150Ω, back-terminated coax load with respect to ground. Since some televisions and VCRs use the horizontal sync height for automatic gain control, the MAX4397 accurately reproduces the sync height to within ±2%. MAX4397 Audio/Video Switch for Dual SCART Connectors Audio Outputs Both right and left channels have a stereo output for the TV and VCR SCART. The monaural output, which is a mix of the TV right and left channels, drives the RF modulator, RF_MONO_OUT. The monaural mixer, a resistor summer, attenuates the amplitude of each of the two signals by 6dB. A 12.54dB gain block follows the monaural mixer. If the left and right audio channels were completely uncorrelated, then a 9.54dB gain block is used. See Figures 3 and 4 for the functional diagram of the audio section. Clickless Switching The TV 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. AUDIO INPUTS ENC_INL+ AUDIO OUTPUTS ZCD DIFF/SE VOLUME CONTROL BYPASS ENC_INL9.54dB TV_INL VCR_INL TV_OUTL VOLUME CONTROL +6dB TO -56dB MUTE MUTE ENC_INR+ 12.54dB Σ/2 DIFF/SE RF_MONO_OUT VOLUME CONTROL BYPASS MUTE ENC_INR- 9.54dB TV_INR VCR_INR TV_OUTR VOLUME CONTROL +6dB TO -56dB MUTE MUTE GNDAUD I 2C 9.54dB -6dB, 0dB, OR +6dB VCR_OUTL MUTE 9.54dB -6dB, 0dB, OR +6dB VCR_OUTR MUTE MUTE IS AN INTERNAL SIGNAL Figure 3. MAX4397D Audio Section Functional Diagram 14 ______________________________________________________________________________________ Audio/Video Switch for Dual SCART Connectors AUDIO OUTPUTS ZCD ENC_INL MAX4397 AUDIO INPUTS VOLUME CONTROL BYPASS 9.54dB TV_INL VCR_INL TV_OUTL VOLUME CONTROL +6dB TO -56dB MUTE MUTE 12.54dB Σ/2 ENC_INR RF_MONO_OUT VOLUME CONTROL BYPASS MUTE TV_INR 9.54dB VCR_INR TV_OUTR VOLUME CONTROL +6dB TO -56dB MUTE MUTE GNDAUD I 2C 9.54dB -6dB, 0dB, OR +6dB VCR_OUTL MUTE 9.54dB -6dB, 0dB, OR +6dB VCR_OUTR MUTE MUTE IS AN INTERNAL SIGNAL Figure 4. MAX4397S Audio Section Features Singled-Ended Encoder Input To implement the zero-crossing function when switching audio signals, set the ZCD bit by loading register 00h through the I2C-compatible interface (if the ZCD bit is not already set). Then set the mute bit low by loading register 00h. 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 (fL3dB). Thus, if fL3dB = 1kHz, the time period to wait for a zero-crossing detect is 1/2kHz or 0.5ms. ______________________________________________________________________________________ 15 MAX4397 Audio/Video Switch for Dual SCART Connectors Volume Control The TV channel volume control ranges from -56dB to +6dB in 2dB steps. The VCR volume control settings are programmable for -6dB, 0dB, and +6dB. These gain levels are referenced to the application inputs, where some dividers are present. With the ZCD bit set, the TV volume control switches only at zero-crossings, thus minimizing click noise. The TV outputs can bypass the volume control. Likewise, the monaural output signal can be processed by the TV volume control or it can bypass the volume control. Digital Section Serial Interface The MAX4397 uses a simple 2-wire serial interface requiring only two standard microprocessor port I/O lines. The fast-mode I2C-compatible serial interface allows communication at data rates up to 400kbps or 400kHz. Figure 5 shows the timing diagram of the signals on the 2-wire interface. The two bus lines (SDA and SCL) must be at logic-high when the bus is not in use. The MAX4397 is a slave device and must be controlled by a master device. Pullup resistors from the bus lines to the supply are required when push-pull circuitry is not driving the lines. The logic level on the SDA line can only change when the SCL line is low. The start and stop conditions occur when SDA toggles low while the SCL line is high (see Figure 5). Data on SDA must be stable for the duration of the setup time (tSU,DAT) before SCL goes high. Data on SDA is sampled when SCL toggles high with data on SDA stable for the duration of the hold time (tHD,DAT). Note that data is transmitted in an 8-bit byte. A total of nine clock cycles are required to transfer a byte to the MAX4397. The device acknowledges the successful receipt of the byte by pulling the SDA line low during the 9th clock cycle. SDA tSU, DAT tBUF tSU, STA tHD, STA tLOW tSU, STA tHD, DAT SCL tHD, STA tR tF START CONDITION REPEATED START CONDITION START CONDITION Figure 5. SDA and SCL Signal Timing Diagram 16 ______________________________________________________________________________________ Audio/Video Switch for Dual SCART Connectors Write and Read Mode S Slave Address A Register Address A Data2 A P S = Start Condition, A = Acknowledge, P = Stop Condition I2C Compatibility I2C The MAX4397 is compatible with existing systems. SCL and SDA are high-impedance inputs. SDA has an open drain that pulls the bus line to a logic-low during the 9th clock pulse. Figure 6 shows a typical I2C interface application. The communication protocol supports the standard I2C 8-bit communications. The MAX4397 address is compatible with the 7-bit I2C addressing protocol only; 10-bit format is not supported. Digital Inputs and Interface Logic The I2C-compatible, 2-wire interface has logic levels defined as VIL = 0.8V and VIH = 2.0V. All of the inputs include Schmitt-trigger buffers to accept low-transition interfaces. The digital inputs are compatible with 3V CMOS logic levels. µC SDA Programming Connect DEV_ADDR to ground to set the MAX4397 write and read address as shown in Table 2. SCL SCL VVID MAX4397 SDA SCL VDD DEVICE 1 SDA SCL VDD DEVICE 2 Table 2. Slave Address Programming ADDRESS PIN STATE WRITE ADDRESS READ ADDRESS VVID 96h 97h GNDVID 94h 95h Data Register Writing and Reading Program the SCART video and audio switches by writing to registers 00h through 0Eh. Registers 00h through 0Eh can also be read, allowing read-back of data after programming and facilitating system debugging. The status register is read-only and can be read from address 0Eh. See Tables 3–12 for register programming information. Applications Information Hot-Plug of SCART Connectors The MAX4397 features high-ESD protection on all SCART inputs and outputs, and requires no external transient-voltage suppressor (TVS) devices to protect against floating chassis discharge. 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 MAX4397 is soldered on the PC board when it experiences such a discharge. Therefore, the current spike flows through the ESD protection diodes and is absorbed by the supply bypass capacitors, which have high capacitance and low ESR. To better protect the MAX4397 against excess voltages during the cable discharge condition, place an additional 75Ω resistor in series with all inputs and outputs to the SCART connector. For harsh environments where ±15kV protection is needed, the MAX4385E and MAX4386E single and quad high-speed op amps feature the industry’s first integrated ±15kV ESD protection on video inputs and outputs. SDA Figure 6. Typical I2C Interface Application ______________________________________________________________________________________ 17 MAX4397 2-Wire Interface Data Format MAX4397 Audio/Video Switch for Dual SCART Connectors Power Supplies and Bypassing Layout and Grounding The MAX4397 features single 5V and 12V supply operation and requires no negative supply. The +12V supply V12 is for the SCART switching function. For pin V 12, place all bypass capacitors as close as possible with a 10µF capacitor in parallel with a 0.1µF ceramic capacitor. Connect all VAUD pins together to +5V and bypass with a 10µF electrolytic capacitor in parallel with a 0.47µF lowESR ceramic capacitor to audio ground. Bypass VAUD pins with a 0.1µF capacitor to audio ground. Bypass AUD_BIAS to audio ground with a 10µF electrolytic in parallel with a 0.1µF ceramic capacitor. For optimal performance, use controlled-impedance traces for video signal paths and place input termination resistors and output back-termination resistors close to the MAX4397. Avoid routing video traces parallel to high-speed data lines. The MAX4397 provides separate ground connections for video, audio, and digital supplies. For best performance, use separate ground planes for each of the ground returns and connect all three ground planes together at a single point. Refer to the MAX4397 evaluation kit for a proven circuit board layout example. Bypass VDIG with a 0.1µF ceramic capacitor to digital ground. Bypass each VVID to video ground with a 0.1µF ceramic capacitor. Connect VVID in series with a 200nH ferrite bead to the +5V supply. Table 3. Data Format for Write Mode REGISTER ADDRESS (HEXADECIMAL) BIT 7 BIT 6 00h TV volume bypass ZCD 01h BIT 4 BIT 3 Not used Not used 03h Not used 04h Not used 05h Not used 06h TV_R/C_IN clamp RGB gain TV G and B video switch 07h Not used RF_CVBS_ TV_Y/ OUT switch CVBS_OUT switch TV fast blank (fast switching) 08h VCR_R/ C_IN clamp Not used Not used Not used ENC_R/ C_IN clamp 09h Not used Not used Not used Not used Not used 0Ah Not used 0Bh Not used 0Ch Not used VCR_R/ C_OUT enable BIT 1 TV_R/C_OUT enable TV_G_OUT TV_B_OUT enable enable BIT 0 TV audio output mute VCR audio selection Not used VCR_Y/ CVBS_OUT enable BIT 2 TV volume control 02h 0Dh 18 VCR volume control BIT 5 TV audio selection TV video switch TV_R/C_OUT ground Set function TV VCR video switch VCR_R/C_OUT ground TV_Y/ CVBS_OUT enable Set function VCR TVOUT _FS enable ______________________________________________________________________________________ RF_CVBS_ OUT enable Audio/Video Switch for Dual SCART Connectors REGISTER ADDRESS (HEXADECIMAL) BIT 7 BIT 6 0Eh Thermal SHDN Power-on reset BIT 5 BIT 4 BIT 3 Not used BIT 2 BIT 1 BIT 0 TV slow switch input VCR slow switch input Table 5. Register 00h: TV Audio control DESCRIPTION BIT 7 6 5 4 3 2 1 TV Audio Mute TV Volume Control TV Zero-Crossing Detector TV Volume Bypass COMMENTS 0 0 Off 1 On (power-on default) 0 0 0 0 0 +6dB gain 0 0 0 0 1 +4dB gain 0 0 0 1 0 +2dB gain 0 0 0 1 1 0dB gain (power-on default) 0 0 1 0 0 -2dB gain 0 0 1 0 1 -4dB gain 1 1 1 1 0 -54dB gain 1 1 1 1 1 -56dB gain 0 Off 1 On (power-on default) 0 TV audio passes through volume control (power-on default) 1 TV audio bypasses volume control Table 6. Register 01h: TV/VCR Audio Control DESCRIPTION BIT 7 6 5 4 3 2 Input Source for TV Audio Input Source for VCR Audio VCR Volume Control COMMENTS 1 0 0 0 Encoder audio 0 1 VCR audio 1 0 TV audio 1 1 Mute (power-on default) 0 0 Encoder audio 0 1 VCR audio 1 0 TV audio 1 1 Mute (power-on default) 0 0 0dB gain (power-on default) 0 1 +6dB gain 1 0 -6dB gain 1 1 0dB gain ______________________________________________________________________________________ 19 MAX4397 Table 4. Data Format for Read Mode MAX4397 Audio/Video Switch for Dual SCART Connectors Table 7. Register 06h: TV Video Input Control DESCRIPTION BIT 7 6 5 4 3 Input Sources for TV Video Input Sources for TV_G_OUT and TV_B_OUT RGB Gain TV_R/C_IN Clamp/Bias 20 COMMENTS 2 1 0 TV_Y/CVBS_OUT TV_R/C_OUT 0 0 0 ENC_Y/CVBS_IN ENC_R/C_IN 0 0 1 ENC_Y_IN ENC_C_IN 0 1 0 VCR_Y/CVBS_IN VCR_R/C_IN 0 1 1 TV_Y/CVBS_IN TV_R/C_IN 1 0 0 Not used Not used 1 0 1 Mute Mute 1 1 0 Mute Mute 1 1 1 Mute (power-on default) Mute (power-on default) TV_G_OUT TV_B_OUT 0 0 ENC_G_IN ENC_B_IN 0 1 VCR_G_IN VCR_B_IN 1 0 Mute Mute 1 1 Mute (power-on default) Mute (power-on default) 0 0 6dB (power-on default) 0 1 7dB 1 0 5dB 1 1 5dB 0 DC restore clamp active at input (power-on default) 1 Chrominance bias applied at input ______________________________________________________________________________________ Audio/Video Switch for Dual SCART Connectors BIT DESCRIPTION 7 6 5 4 3 2 Set TV Function Switching 0 0 0 Low (<2V), internal source (power-on default) 0 1 Medium (4.5V to 7V), external SCART source with 16:9 aspect ratio 1 0 High impedance 1 1 High (>9.5V), external SCART source with 4:3 aspect ratio 0 Normal operation, pulldown on TV_R/C_OUT is off (power-on default) 1 Ground, pulldown on TV_R/C_OUT is on, the output amplifier driving TV_R/C_OUT is turned off TV_R/C_OUT Ground Fast Blank (Fast Switching) TV_Y/CVBS_OUT Switch COMMENTS 1 0 0 0V (power-on default) 0 1 Same level as ENC_FB_IN 1 0 Same level as VCR_FB_IN 1 1 VVID 0 Composite video from the Y/C mixer is output 1 The TV_Y/CVBS_OUT signal selected in register 06h is output (power-on default) 0 Composite video from the Y/C mixer is output (power-on default) 1 The TV_Y/CVBS_OUT signal selected in register 06h is output RF_CVBS_OUT Switch Table 9. Register 08h: VCR Video Input Control DESCRIPTION BIT 7 6 5 4 3 Input Sources for VCR Video VCR_R/C_IN Clamp/Bias ENC_R/C_IN Clamp/Bias 0 COMMENTS 2 1 0 VCR_Y/CVBS_OUT VCR_R/C_OUT 0 0 0 ENC_Y/CVBS_IN ENC_R/C_IN 0 0 1 ENC_Y_IN ENC_C_IN 0 1 0 VCR_Y/CVBS_IN VCR_R/C_IN 0 1 1 TV_Y/CVBS_IN TV_R/C_IN 1 0 0 Not used Not used 1 0 1 Mute Mute 1 1 0 Mute Mute 1 1 1 Mute (power-on default) Mute (power-on default) DC restore clamp active at input (power-on default) 1 Chrominance bias applied at input 0 DC restore clamp active at input (power-on default) 1 Chrominance bias applied at input ______________________________________________________________________________________ 21 MAX4397 Table 8. Register 07h: TV Video Output Control MAX4397 Audio/Video Switch for Dual SCART Connectors Table 10. Register 09h: VCR Video Output Control DESCRIPTION BIT 7 6 5 4 3 2 Set VCR Function Switching COMMENTS 1 0 0 0 Low (<2V), internal source (power-on default) 0 1 Medium (4.5V to 7V), external SCART source with 16:9 aspect ratio 1 0 High impedance 1 1 High (>9.5V), external SCART source with 4:3 aspect ratio 0 Normal operation, pulldown on VCR_R/C_OUT is off (power-on default) 1 Ground, pulldown on VCR_R/C_OUT is on, the output amplifier driving VCR_R/C_OUT is turned off VCR_R/C_OUT ground Table 11. Register 0DH: Output Enable DESCRIPTION BIT 7 6 5 4 3 2 1 RF_CVBS_OUT TVOUT_FS 0 TV_Y/CVBS_OUT 1 TV_B_OUT TV_G_OUT TV_R/C_OUT 0 VCR_R/C_OUT VCR_Y/CVBS_OUT 22 1 COMMENTS 0 0 Off (power-on default) 1 On 0 Off (power-on default) 1 On Off (power-on default) On 0 Off (power-on default) 1 On 0 Off (power-on default) 1 On 0 Off (power-on default) 1 On Off (power-on default) On 0 Off (power-on default) 1 On ______________________________________________________________________________________ Audio/Video Switch for Dual SCART Connectors DESCRIPTION BIT 7 6 5 4 3 2 TV Slow Switch Input VCR Slow Switch Input Power-On Reset Thermal Shutdown COMMENTS 1 0 0 0 0 to 2V, internal source 0 1 4.5V to 7V, external source with 16:9 aspect ratio 1 0 Not used 1 1 9.5V to 12.6V, external source with 4:3 aspect ratio 0 0 0 to 2V, internal source 0 1 4.5V to 7V, external source with 16:9 aspect ratio 1 0 Not used 1 1 9.5V to 12.6V, external source with 4:3 aspect ratio 0 VVID is too low for digital logic to operate 1 VVID is high enough for digital logic to operate 0 The part is in thermal shutdown 1 The temperature is below the TSHD limit ______________________________________________________________________________________ 23 MAX4397 Table 12. Register 0Eh Status Audio/Video Switch for Dual SCART Connectors 44 43 42 41 40 39 38 ENC_G_IN ENC_R/C_IN ENC_Y/CVBS_IN VCR_B_IN VCR_G_IN VCR_R/C_IN VCR_Y/CVBS_IN TV_Y/CVBS_IN 1 SDA SCL 2 SCL 3 DEV_ADDR 4 TV_R/C_IN_SC 37 TV_R/C_IN 45 ENC_B_IN TV_Y/CVBS_IN_SC VCR_Y/CVBS_IN_SC VCR_R/C_IN_SC VCR_G_IN_SC 46 ENC_Y_IN VCR_B_IN_SC ENC_Y/CVBS_IN_SC ENC_R/C_IN_SC ENC_B_IN_SC 47 SDA DEV_ADDR ENC_B_IN_SC ENC_Y_IN_SC 48 ENC_C_IN ENC_C_IN_SC MAX4397 Typical Application Circuits 10µF VVID 36 VCR_R/C_OUT 35 VCR_R/C_OUT_SC VCR_Y/CVBS_OUT 34 VCR_Y/CVBS_OUT_SC ENC_INL+ TV_B_OUT 33 TV_B_OUT_SC 5 ENC_INL- TV_G_OUT 32 TV_G_OUT_SC 6 ENC_INR+ TV_R/C_OUT 31 TV_R/C_OUT_SC 7 ENC_INR- TV_Y/CVBS_OUT 30 TV_Y/CVBS_OUT_SC 8 VCR_INR RF_CVBS_OUT 29 RF_CVBS_OUT_SC 9 VCR_INL GNDVID 28 10 TV_INR TVOUT_FS 27 4.7kΩ ENC_INL+_SC 4.7kΩ 9.4kΩ ENC_INL-_SC 4.7kΩ ENC_INR+_SC 4.7kΩ MAX4397D 9.4kΩ ENC_INR-_SC 3.3kΩ 3.3kΩ 3.3kΩ 3.3kΩ 3.3kΩ 3.3kΩ 3.3kΩ VCR_INL_SC 3.3kΩ TV_INR_SC 3.3kΩ TV_INL 12 GNDAUD ENCIN_FS 26 VCRIN_FS 25 RF_MONO_OUT TV_OUTL TV_OUTR V12 TV_SS VCR_SS SET 14 15 16 17 18 19 20 21 22 23 VVID VCR_OUTL 13 24 100kΩ 10µF 10kΩ TV_OUTR_SC 10µF TV_OUTL_SC 10µF VCR_OUTL_SC 10µF VCR_OUTR_SC 10µF 10µF RF_MONO_OUT_SC 10µF 10µF 10kΩ 10µF ALL CAPACITORS ARE 0.1µF AND ALL RESISTORS ARE 75Ω, UNLESS OTHERWISE NOTED. 24 TVOUT_FS 10kΩ 10kΩ VCR_OUTR TV_INL_SC 11 3.3kΩ VAUD 3.3kΩ AUD_BIAS 3.3kΩ VCR_INR_SC ______________________________________________________________________________________ Audio/Video Switch for Dual SCART Connectors 43 42 41 40 39 38 ENC_R/C_IN ENC_Y/CVBS_IN VCR_B_IN VCR_G_IN VCR_R/C_IN VCR_Y/CVBS_IN TV_Y/CVBS_IN SDA 1 SDA SCL 2 SCL DEV_ADDR 3 DEV_ADDR 4 TV_R/C_IN_SC 37 TV_R/C_IN 44 ENC_G_IN TV_Y/CVBS_IN_SC VCR_Y/CVBS_IN_SC VCR_R/C_IN_SC VCR_G_IN_SC 45 ENC_B_IN VCR_B_IN_SC ENC_Y/CVBS_IN_SC ENC_R/C_IN_SC ENC_B_IN_SC 46 ENC_Y_IN ENC_B_IN_SC ENC_Y_IN_SC 47 ENC_C_IN ENC_C_IN_SC 48 VVID 36 VCR_R/C_OUT 10µF 35 VCR_R/C_OUT_SC VCR_Y/CVBS_OUT 34 VCR_Y/CVBS_OUT_SC ENC_INL+ TV_B_OUT 33 TV_B_OUT_SC 5 N.C. TV_G_OUT 32 TV_G_OUT_SC 6 ENC_INR+ TV_R/C_OUT 31 TV_R/C_OUT_SC 7 N.C. TV_Y/CVBS_OUT 30 TV_Y/CVBS_OUT_SC 8 VCR_INR RF_CVBS_OUT 29 RF_CVBS_OUT_SC 9 VCR_INL GNDVID 28 10 TV_INR TVOUT_FS 27 11 TV_INL ENCIN_FS 26 12 GNDAUD VCRIN_FS 25 4.7kΩ ENC_INL_SC 4.7kΩ 4.7kΩ ENC_INR_SC MAX4397S 4.7kΩ 3.3kΩ 3.3kΩ 3.3kΩ 3.3kΩ 3.3kΩ 3.3kΩ 3.3kΩ VCR_INR_SC 3.3kΩ VCR_INL_SC 3.3kΩ TV_INR_SC 3.3kΩ 10kΩ VCR_OUTL RF_MONO_OUT TV_OUTL TV_OUTR V12 TV_SS VCR_SS SET 13 14 15 16 17 18 19 20 21 22 23 VVID VCR_OUTR 10kΩ VAUD 24 100kΩ 10µF 10kΩ TV_OUTR_SC 10µF TV_OUTL_SC 10µF 10µF VCR_OUTL_SC 47µF 10µF RF_MONO_OUT_SC 10µF VCR_OUTR_SC TV_INL_SC 3.3kΩ AUD_BIAS 3.3kΩ TVOUT_FS 10kΩ 10µF 10µF ALL CAPACITORS ARE 0.1µF AND ALL RESISTORS ARE 75Ω, UNLESS OTHERWISE NOTED. ______________________________________________________________________________________ 25 MAX4397 Typical Application Circuits (continued) Audio/Video Switch for Dual SCART Connectors MAX4397 System Block Diagram VVID V12 VAUD CVBS MONO AUDIO RGB, Y-C, CVBS ENCODER RF MODULATOR L/R AUDIO (DIFFERENTIAL OR SE) RGB, Y-C, CVBS FAST SWITCHING R/L AUDIO ADDRESS MAX4397 Y-C, CVBS SDA TV SCART CONNECTOR FAST SWITCHING SCL SLOW SWITCHING Y-C, CVBS L/R AUDIO VCR SCART CONNECTOR RGB, Y-C, CVBS FAST SWITCHING SLOW SWITCHING EP GNDAUD 26 GNDVID ______________________________________________________________________________________ Audio/Video Switch for Dual SCART Connectors TV_R/C_IN VCR_Y/CVBS_IN TV_Y/CVBS_IN ENC_Y/CVBS_IN VCR_B_IN VCR_G_IN VCR_R/C_IN ENC_G_IN ENC_R/C_IN ENC_Y_IN ENC_B_IN ENC_C_IN TOP VIEW 48 47 46 45 44 43 42 41 40 39 38 37 SDA 1 36 SCL DEV_ADDR 2 35 3 34 ENC_INL+ ENC_INLENC_INR+ 4 33 ENC_INRVCR_INR 7 8 29 5 6 MAX4397D VVID VCR_R/C_OUT 32 VCR_Y/CVBS_OUT TV_B_OUT TV_G_OUT 31 TV_R/C_OUT 30 TV_Y/CVBS_OUT RF_CVBS_OUT VCR_INL TV_INR TV_INL 9 28 10 27 11 26 GNDAUD 12 25 GNDVID TVOUT_FS ENCIN_FS VCRIN_FS VCR_SS SET VVID V12 TV_SS VCR_OUTR VCR_OUTL RF_MONO_OUT TV_OUTL TV_OUTR VAUD AUD_BIAS 13 14 15 16 17 18 19 20 21 22 23 24 THIN QFN ______________________________________________________________________________________ 27 MAX4397 Pin Configurations Audio/Video Switch for Dual SCART Connectors MAX4397 Pin Configurations (continued) TV_R/C_IN VCR_Y/CVBS_IN TV_Y/CVBS_IN VCR_G_IN VCR_R/C_IN ENC_R/C_IN ENC_Y/CVBS_IN VCR_B_IN ENC_G_IN ENC_Y_IN ENC_B_IN ENC_C_IN TOP VIEW 48 47 46 45 44 43 42 41 40 39 38 37 SDA 1 36 VVID SCL DEV_ADDR 2 35 VCR_R/C_OUT 3 34 ENC_INL N.C. ENC_INR 4 33 32 VCR_Y/CVBS_OUT TV_B_OUT TV_G_OUT 31 TV_R/C_OUT N.C. VCR_INR 7 30 8 29 TV_Y/CVBS_OUT RF_CVBS_OUT 5 6 MAX4397S VCR_INL TV_INR TV_INL 9 28 10 27 11 26 GNDAUD 12 25 GNDVID TVOUT_FS ENCIN_FS VCRIN_FS VCR_SS SET VVID V12 TV_SS VAUD VCR_OUTR VCR_OUTL RF_MONO_OUT TV_OUTL TV_OUTR AUD_BIAS 13 14 15 16 17 18 19 20 21 22 23 24 THIN QFN Chip Information TRANSISTOR COUNT: 13,265 PROCESS: BiCMOS 28 ______________________________________________________________________________________ Audio/Video Switch for Dual SCART Connectors 32, 44, 48L QFN.EPS D2 D CL D/2 b D2/2 k E/2 E2/2 CL (NE-1) X e E E2 k L DETAIL A e (ND-1) X e DETAIL B e CL L L1 CL L L e A1 A2 e DALLAS SEMICONDUCTOR A PROPRIETARY INFORMATION TITLE: PACKAGE OUTLINE 32, 44, 48, 56L THIN QFN, 7x7x0.8mm APPROVAL DOCUMENT CONTROL NO. 21-0144 REV. D 1 2 ______________________________________________________________________________________ 29 MAX4397 Package Information (The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information go to www.maxim-ic.com/packages.) MAX4397 Audio/Video Switch for Dual SCART Connectors Package Information (continued) (The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information go to www.maxim-ic.com/packages.) DALLAS SEMICONDUCTOR PROPRIETARY INFORMATION TITLE: PACKAGE OUTLINE 32, 44, 48, 56L THIN QFN, 7x7x0.8mm APPROVAL DOCUMENT CONTROL NO. 21-0144 REV. D 2 2 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. 30 ____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 © 2005 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products, Inc.