MOSA MS6266 6-Channel Electronic Volume Controller 6-Channel Volume Controller Gain and Attenuation 16~-79dB Low voltage, High Channel Separation FEATURES APPLICATIONS ‧Operation range: 2.7V~5.5V ‧Low power consumption ‧Gain/Attenuation: 16dB to –79dB at 1dB/step ‧Good PSRR ‧I2C interface ‧Pop noise free ‧Housed in SSOP20, SOP20 ‧Multimedia system ‧Hi-Fi audio system ‧Car audio ‧Portable audio equipment DESCRIPTION The MS6266 is a 6-channel volume controller IC with gain and attenuation. It uses CMOS technology specially for the low voltage application with low noise, rail-to-rail output. The MS6266 provide an I2C control interface with gain / attenuation range of 16dB to -79dB, 1dB/step. The initial condition is set to be maximum attenuation –79dB and mute on mode when the power is on. PIN CONFIGURATION Symbol Pin Description st IN1 1 1 channel input IN2 2 2nd channel input IN3 3 3rd channel input AC2 4 Address code 2 DGND 5 Digital Ground SCL 6 I2C clock input SDA 7 I2C data input th IN4 8 4 channel input IN5 9 5th channel input IN6 10 6th channel input OUT6 11 6th channel output OUT5 12 5th channel output 13 4 channel output GND 14 Analog ground VREF 15 Reference voltage = 1/2VDD VDD 16 Positive supply voltage AC1 17 Address code 1 OUT3 18 3rd channel output OUT2 19 2nd channel output 20 OUT1 IN2 2 19 OUT2 IN3 3 18 OUT3 17 AC1 AC2 4 DGND 5 SCL 6 MS6266 16 VDD 15 VREF SDA 7 14 GND IN4 8 13 OUT4 IN5 9 12 OUT5 IN6 10 11 OUT6 th OUT4 IN1 1 OUT1 20 1st channel output Note: 1. The address codes have four types, selected by AC1and AC2. REV1 1 www.mosanalog.com.tw MOSA MS6266 6-Channel Electronic Volume Controller BLOCK DIAGRAM IN1 IN2 IN6 -1dB/Step -10dB/Step 2dB/Step -1dB/Step -10dB/Step 2dB/Step -1dB/Step -10dB/Step 2dB/Step OUT1 OUT2 OUT6 VREF AC1 I C Interface AC2 SCL SDA VDD Reference source 2 DGND GND VREF ORDERING INFORMATION Package Part number Packaging Marking Transport Media 20-Pin SOP MS6266TR MS6266 1k Units Tape and Reel 20-Pin SOP MS6266U MS6266 35 Units Tube 20-Pin SOP (lead free) MS6266GTR MS6266G 1k Units Tape and Reel 20-Pin SOP (lead free) MS6266GU MS6266G 35 Units Tube 20-Pin SSOP MS6266SSTR MS6266 2.5k Units Tape and Reel 20-Pin SSOP MS6266SSU MS6266 50 Units Tube 20-Pin SSOP (lead free) MS6266SSGTR MS6266G 2.5k Units Tape and Reel 20-Pin SSOP (lead free) MS6266SSGU MS6266G 50 Units Tube ABSOLUTE MAXIMUM RATINGS Symbol Parameter Rating Unit 6 V -3000 to 3000 -65 to 150 V ℃ -40 to 85 ℃ Maximum Junction Temperature 150 ℃ TS Soldering Temperature, 10 seconds 260 ℃ RTHJA Thermal Resistance from Junction to Ambient in Free Air SOP20 SSOP20 210 210 ℃/W VDD Supply Voltage VESD Electrostatic Handling TSTG Storage Temperature Range TA Operating Ambient Temperature Range TJ REV1 2 www.mosanalog.com.tw MOSA MS6266 6-Channel Electronic Volume Controller OPERATING RATINGS Symbol VDD Parameter Supply Voltage Min Typ Max Unit 2.7 - 5.5 V 5V ELECTRICAL CHARACTERISTICS (VDD=5.0V, VSS=0V, Attenuation=0dB, Gain=0dB, f=1kHz, VO=0dBV, VREF Cap=10uF; unless otherwise specified) Symbol Parameter Conditions Min Typ Max Unit DC Characteristics IQ Quiescent current AGA Gain/Attenuation ASTEP - 10.4 11 mA Max gain - 16 - dB Max attenuation - -79 - dB Gain/Attenuation step - 1 - dB EGA Gain/Attenuation step error - 0.3 - dB EIGA Interchannel gin/attenuation error - 0.3 - dB CS Channel separation 95 105 - dB PSRR Power supply rejection ratio Cap = 10uF (100Hz) - 53 - dB MUTE Mute Attenuation Vin=0dBV - 85 - Rin Input Impedance 18 20 - dB kΩ Rout Output Impedance - 50 100 Ω - 4.8 - Vpp - -69 -64 dB 95 100 - dB AC Characteristics Vo Maximum output voltage swing THD+N Total harmonic distortion plus noise S/N Signal-to-noise ratio (THD+N)/S < 0.1% VO=4.8Vpp Bus Characteristics VIH Bus high input level - - 0.7VDD V VIL Bus low input level 0.3VDD - - V 2.7V ELECTRICAL CHARACTERISTICS (VDD=2.7V, VSS=0V, Attenuation=0dB, Gain=0dB, f=1kHz, VO=-3dBV, VREF Cap=10uF; unless otherwise specified) Symbol Parameter Conditions Min Typ Max Unit DC Characteristics IQ Quiescent current CS Channel separation PSRR Power supply rejection ratio MUTE Mute Attenuation - 8.2 8.8 mA 90 100 - dB Cap = 10uF (100Hz) - 51 - dB Vin=-3dBV - 80 - dB (THD+N)/S < 0.1% - 2.6 - Vpp - -69 -64 dB 85 90 - dB AC Characteristics Vo Maximum output voltage swing THD+N Total harmonic distortion plus noise S/N Signal-to-noise ratio REV1 VO=2.6Vpp 3 www.mosanalog.com.tw MOSA MS6266 6-Channel Electronic Volume Controller TYPICAL PERFORMANCE CHARACTERISTICS (Ta=25℃, RL=100kΩ, VREF Cap=10uF; unless otherwise specified) f=20kHz f=20kHz f=20kHz f=20Hz f=1kHz VDD=5V THD+N (%) f=20Hz THD+N (%) THD+N (%) f=20Hz f=1kHz VDD=3.3V f=1kHz VDD=2.7V OUTPUT VOLTAGE (dBV) OUTPUT VOLTAGE (dBV) OUTPUT VOLTAGE (dBV) THD+N vs. output voltage THD+N vs. output voltage THD+N vs. output voltage VDD=2.7V VO=-3dBV VDD=5V VO=0dBV VDD=3.3V VO=-3dBV VDD=2.7V VO=-3dBV QUIESCENT CURRENT (mA) VDD=3.3V VO=-3dBV CHANNEL SEPARATION (dB) THD+N (%) VDD=5V VO=0dBV FREQUENCY (Hz) FREQUENCY (Hz) SUPPLY VOLTAGE (V) THD+N vs. frequency Channel separation vs. frequency Quiescent current vs. supply voltage CAP=22uF CAP=22uF CAP=2.2uF CAP=10uF CAP=2.2uF PSRR (dB) CAP=10uF PSRR (dB) PSRR (dB) CAP=22uF CAP=10uF CAP=2.2uF VDD=5V VRR=-20dBV REV1 VDD=3.3V VRR=-20dBV VDD=2.7V VRR=-20dBV FREQUENCY (Hz) FREQUENCY (Hz) FREQUENCY (Hz) PSRR vs. frequency PSRR vs. frequency PSRR vs. frequency 4 www.mosanalog.com.tw MOSA MS6266 6-Channel Electronic Volume Controller I2C BUS DESCRIPTION Start and stop conditions A start condition is activated when the SCL is set to HIGH and SDA shifts from HIGH to LOW state. The stop condition is activated when SCL is set to HIGH and SDA shifts from LOW to HIGH state. Please refer to the timing diagram below. SCL SDA Start Stop SCL : Serial Clock Line, SDA : Serial Data Line Data validity A data on the SDA line is considered valid and stable only when the SCL signal is in HIGH state. The HIGH and LOW states of the SDA line can only change when the SCL signal is LOW. Please refer to the figure below. SDA SCL Data line stable, Data valid Data change allowed Byte format Every byte transmitted to the SDA line consists of 8 bits. Each byte must be followed by an acknowledge bit. The MSB is transmitted first. Acknowledge During the Acknowledge clock pulse, the master (up) put a resistive HIGH level on the SDA line. The peripheral (audio processor) that acknowledges has to pull-down (LOW) the SDA line during the Acknowledge clock pulse so that the SDA line is in a stable LOW state during this clock pulse. Please refer to the diagram below. SCL 1 2 3 7 8 9 SDA MSB Acknowledge Start The audio processor that has been addressed has to generate an Acknowledge after receiving each byte, otherwise, the SDA line will remain at the HIGH level during the ninth (9th) clock pulse. In this case, the master transmitter can generate the STOP information in order to abort the transfer. REV1 5 www.mosanalog.com.tw MOSA MS6266 6-Channel Electronic Volume Controller Timing of SDA and SCL bus lines SDA tf tLOW SCL S tHD;STA tSU;DAT tr tHD;DAT Standard mode Symbol fSCL tHD;STA tf tHIGH tSU;STA Parameter Sr tSP tBUF tr tSU;STO P S Min Max Unit 0 100 kHz 4.0 - us tLOW SCL clock frequency Hold time (repeated) START condition. After this period, the first clock pulse is generated LOW period of the SCL clock 4.7 - us tHIGH HIGH period of the SCL clock 4.0 - us tSU:STA 4.7 - us 0 3.45 us tSU:DAT Set-up time for a repeated START condition Data hold time: For I2C-bus devices Data-set-up time 250 - ns tr Rise time of both SDA and SCL signals - 1000 ns tf Fall time of both SDA and SCL signals - 300 ns tSU:STO Set-up time for STOP condition 4.0 - us tBUF Bus free time between a STOP and START condition 4.7 - us Cb Capacitive load for each bus line - 400 pF VnL Noise margin at the LOW level for each connected device (including 0.1VDD hysteresis) - V VnH Noise margin at the HIGH level for each connected device (including 0.2VDD hysteresis) - V tHD:STA tHD:DAT REV1 6 www.mosanalog.com.tw MOSA MS6266 6-Channel Electronic Volume Controller BUS INTERFACE Data are transmitted to and from the MCU to the MS6266 via the SDA and SCL. The SDA and SCL make up the BUS interface. It should be noted that pull-up resistors must be connected to the positive supply voltage. VDD Rp Rp Pull up resistors SDA (Serial Data Line) SCL (Serial Clock Line) MCU MS6266 Interface protocol The format consists of the following ‧A START condition ‧A chip address byte including the MS6266 address. (7bits) ‧The 8th bit of the byte must be “0”.(write=0, read=1) ‧MS6266 must always acknowledge the end of each transmitted byte. ‧A data sequence (N-bytes + Acknowledge) ‧A STOP condition SDA SCL 1-7 8 ADDRESS R / -W 9 1-7 8 9 1-7 8 9 S START CONDITION P ACK DATA ACK DATA ACK STOP CONDITION Address code The MS6266 has four address codes, they were selected by AC1(pin17)and AC2(pin4). AC1 AC2 Address code 0 0 80H 0 1 84H 1 0 88H 1 1 8CH AC1=1, AC2=0 1 0 0 0 1 0 7 bits address 0 0 W MS6266 address 0: connected to GND, 1: connected to VDD REV1 7 www.mosanalog.com.tw MOSA MS6266 6-Channel Electronic Volume Controller Data bytes description Function bits MSB LSB Function 1 1 1 0 A3 A2 A1 A0 6 channels, -1dB/step 1 1 0 1 B3 B2 B1 B0 6 channels, -10dB/step or +2dB/step 0 0 0 1 A3 A2 A1 A0 Channel 3, -1dB/step 0 0 0 0 B3 B2 B1 B0 Channel 3, -10dB/step or +2dB/step 0 0 1 1 A3 A2 A1 A0 Channel 4, -1dB/step 0 0 1 0 B3 B2 B1 B0 Channel 4, -10dB/step or +2dB/step 0 1 0 1 A3 A2 A1 A0 Channel 2, -1dB/step 0 1 0 0 B3 B2 B1 B0 Channel 2, -10dB/step or +2dB/step 0 1 1 1 A3 A2 A1 A0 Channel 5, -1dB/step 0 1 1 0 B3 B2 B1 B0 Channel 5, -10dB/step or +2dB/step 1 0 0 1 A3 A2 A1 A0 Channel 1, -1dB/step 1 0 0 0 B3 B2 B1 B0 Channel 1, -10dB/step or +2dB/step 1 0 1 1 A3 A2 A1 A0 Channel 6, -1dB/step 1 0 1 0 B3 B2 B1 B0 Channel 6, -10dB/step or +2dB/step 0 0 0 1 Power off preparation (pop noise free) 1 0 0 1 6 channels, mute On 1 0 0 0 6 channels, mute Off 1 1 1 1 Gain / Attenuation bits A3 A2 A1 A0 Gain / Attenuation value (dB) B3 B2 B1 B0 A B 0 0 0 0 0 0 0 0 0 1 -1 -10 0 0 1 0 -2 -20 0 0 1 1 -3 -30 0 1 0 0 -4 -40 0 1 0 1 -5 -50 0 1 1 0 -6 -60 0 1 1 1 -7 -70 1 0 0 0 -8 +2 1 0 0 1 -9 +4 1 0 1 0 - +6 1 0 1 1 - +8 1 1 0 0 - +10 1 1 0 1 - +12 1 1 1 0 - +14 1 1 1 1 - +16 1. Where Ax=-1dB/step, Bx=-10dB/step or +2dB/step, -10dB and +2dB should not be loaded at the same time. 2. The initial condition is set to be maximum attenuation –79dB and mute on mode when the power on. 3. The output will drop down to ground gradually when enable power off preparation. 4. Odd gain 2N-1= N*(+2dB/step) + (-1dB), where N = 1~8. Please reference to examples. REV1 8 www.mosanalog.com.tw MOSA MS6266 6-Channel Electronic Volume Controller Examples Mute off The initial condition is –79dB and mute on when power on. The first command must disable the mute function. MSB Start Data byte LSB ACK 80H, 84H, 88H, 8CH 1 1 MS6266 Address 1 1 1 0 0 0 ACK Stop 6 channels, Mute off Set gain of 1st channel at 0dB Start MS6266 Address ACK 1 0 0 0 0 0 0 0 ACK 1 Ch 1, -10dB/step, 0dB 0 0 1 0 0 0 0 ACK Stop 0 ACK Stop 1 ACK Stop 1 ACK Stop Ch 1, -1dB/step, 0dB Set attenuation of 5th channel at -6dB Start MS6266 Address ACK 0 1 1 0 0 0 0 0 ACK 0 Ch 5, -10dB/step, 0dB 1 1 1 0 1 1 Ch 5, -1dB/step, -6dB Set attenuation of 3rd channel at –33dB Start MS6266 Address ACK 0 0 0 0 0 0 1 1 ACK 0 Ch 3, -10dB/step, -30dB 0 0 1 0 0 1 Ch 3, -1dB/step, -3dB Set gain of 3rd channel at 3dB Start MS6266 Address ACK 0 0 0 0 1 0 0 1 ACK Ch 3, +2dB/step, 4dB 0 0 0 1 0 0 0 Ch 3, -1dB/step, -1dB Odd gain 3dB = 2*2-1 = 2*(+2dB)+(-1dB) Set power off preparation command to prevent pop noise before power is off. Start MS6266 Address ACK 1 1 1 1 0 0 0 1 ACK Stop Power off preparation REV1 9 www.mosanalog.com.tw MOSA MS6266 6-Channel Electronic Volume Controller APPLICATION INFORMATION Basic application example MS6266 10uF 10uF 1 Signal-1 In 10k IN1 OUT1 20 10uF 2 Signal-2 In IN2 OUT2 19 10k 10uF 3 10k IN3 OUT3 18 AC1 17 VDD 16 4 AC2 5 DGND 6 SCL VREF 15 7 SDA GND 14 8 IN4 OUT4 13 IN5 OUT5 12 Supply 2.7~5V 0.1uF 10k 10uF 9 10uF 10k 10k 10uF Signal-4 Out 10uF 10k Signal-5 Out 10uF 10 Signal-6 In 10uF 10uF 10uF Signal-5 In Signal-3 Out 10k MCU Signal-4 In Signal-2 Out 10k 10uF Signal-3 In Signal-1 Out 10k 10uF 10k IN6 OUT6 11 10k Signal-6 Out AC1=Hi, AC2=Lo, Address=88H Basic application flow chart Procedure Of Power On Procedure Of Power Off Power on VDD = 5V Volume Control volume down to -79 dB step by step Initial Conditions function off (-79dB) mute on Enable Mute Function mute on Pop Noise Free wait 1 sec Pop Noise Free power off preparation wait 0.5 sec Disable Mute Function mute off Power off VDD = 0V Volume Control volume up/down step by step REV1 10 www.mosanalog.com.tw MOSA MS6266 6-Channel Electronic Volume Controller EXTERNAL DIMENSIONS SSOP20 D Detail A Symbol E1 A A1 A2 b c e D E E1 L h L1 ZD R1 R θ θ1 θ2 E H x 45 c ZD A2 A θ2 e b A1 θ1 Dimension in mm Dimension in inch Min Max Min Max 1.35 1.75 0.053 0.069 0.10 0.25 0.004 0.010 1.50 0.059 0.20 0.30 0.008 0.012 0.18 0.25 0.007 0.010 0.635 BASIC 0.025 BASIC 8.56 8.74 0.337 0.344 5.79 6.20 0.228 0.244 3.81 3.99 0.150 0.157 0.41 1.27 0.016 0.050 0.25 0.50 0.010 0.020 0.254 BASIC 0.010 BASIC 1.4732 REF 0.058 REF 0.20 0.33 0.008 0.013 0.20 0.008 o o o 0 8 0 8o 0o 0o 5o 15o 5o 15o R1 L1 R θ L Detail A SOP20 (300mil) D Detail A Symbol E A A1 B C e D E H L h θ H h x 45 C Dimension in mm Min Max 2.35 2.65 0.10 0.30 0.33 0.51 0.23 0.32 1.27 BSC 12.6 13 7.4 7.60 10.00 10.65 0.40 1.27 0.25 0.75 o 8o 0 Dimension in inch Min Max 0.0926 0.1043 0.004 0.0118 0.013 0.020 0.0091 0.0125 0.050 BSC 0.4961 0.5118 0.2914 0.2992 0.394 0.419 0.016 0.050 0.010 0.029 0o 8o A A1 e B 0.25mm θ Detail A REV1 11 L www.mosanalog.com.tw