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~6.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 AC2 4 17 AC1 DGND 5 SCL 6 th OUT4 IN1 1 MS6266 16 VDD 15 VREF SDA 7 14 GND IN4 8 13 OUT4 IN5 9 12 OUT5 IN6 10 11 OUT6 OUT1 20 1st channel output Note: 1. The address codes have four types, selected by AC1and AC2. REV 2 1/13 www.mosanalog.com 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 (lead free) MS6266GTR MS6266G 1k Units Tape and Reel 20-Pin SOP (lead free) MS6266GU MS6266G 35 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.5 V -3000 to 3000 VDD Supply Voltage VESD Electrostatic Handling TSTG Storage Temperature Range -65 to 150 V ℃ TA Operating Ambient Temperature Range -40 to 85 ℃ TJ 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 OPERATING RATINGS Symbol VDD REV 2 Parameter Supply Voltage 2/13 Min Typ Max Unit 2.7 - 6.5 V www.mosanalog.com MOSA MS6266 6-Channel Electronic Volume Controller 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 Gain/Attenuation step - 10.4 11 mA Max gain - 16 - dB Max attenuation - -79 - dB - 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 Rout Output Impedance 18 20 - dB kΩ - 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 - 8.2 8.8 mA CS Channel separation 90 100 - dB PSRR Power supply rejection ratio Cap = 10uF (100Hz) - 51 - dB MUTE Mute Attenuation 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 REV 2 VO=2.6Vpp 3/13 www.mosanalog.com 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 REV 2 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/13 www.mosanalog.com 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 Stop Start 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. REV 2 5/13 www.mosanalog.com 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 REV 2 6/13 www.mosanalog.com 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 W R / -- 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 REV 2 7/13 www.mosanalog.com 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. REV 2 8/13 www.mosanalog.com 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 REV 2 9/13 www.mosanalog.com MOSA MS6266 6-Channel Electronic Volume Controller APPLICATION INFORMATION Basic application example MS6266 10uF Signal-1 In 10k 10uF Signal-2 In 1 IN1 OUT1 20 2 IN2 OUT2 19 10uF 10uF 10k 10uF 3 IN3 10k OUT3 18 5 DGND 6 SCL VDD 16 VREF 15 MCU Supply 0.1uF 10k 10uF 7 SDA GND 14 8 IN4 OUT4 13 9 IN5 OUT5 12 10uF 10k 10k 10uF Signal-5 Out 10uF 10 IN6 10k Signal-4 Out 10uF 10k Signal-6 In 10uF 10uF 10uF Signal-5 In Signal-3 Out 10k AC1 17 4 AC2 Signal-4 In Signal-2 Out 10k 10uF Signal-3 In Signal-1 Out 10k 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 REV 2 10/13 www.mosanalog.com 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 REV 2 11/13 L www.mosanalog.com MOSA MS6266 6-Channel Electronic Volume Controller DEMO BOARD 4 1 1 5 2 3 版面說明 1.電源輸入:AVDD及DVCC兩組電源皆使用2.7V~6.5V。 2.控制鍵: VOL+:音量控制鍵,每按一下此鍵+1dB,最大+16dB,當按下此鍵時指示燈(+)閃爍一次,音量控制達最 大(+16dB)時,則指示燈(+)保持在亮的狀態,系統啟動時之預設值為0dB。 VOL-:音量控制鍵,每按一下此鍵-1dB,最小-79dB,當壓下此鍵時指示燈(-)閃爍一次,音量控制達最 小(-79dB)時,則指示燈(-)保持在亮的狀態。 MUTE:MUTE ON/OFF 開關,系統啟動時為MUTE OFF。 CH:通道選擇鍵,作為選擇欲控制音量之通道(CH1~CH6或All Channel),選擇的通道如指示燈所示,當選 擇Channel 1則指示燈(CH1)亮,選擇All Channel時指示燈CH1~CH6)同時為亮,預設值為All Channel。 RESET:MCU重置鍵,按下此鍵可重置MCU狀態,在此表示系統返回預設值。 3.輸入端:由左至右分別為IN1~IN6,請連接於訊號源。 4.輸出端:由左至右分別為OUT1~OUT6請接於後級功率放大器。 5.位址選擇:參考MS6266 Data sheet並請使用短路環決定AC1及AC2之準位以決定使用之位址,此Demo board 使用之位址為88H,如下圖所示。 REV 2 H H AC2 AC1 L L 12/13 www.mosanalog.com MOSA MS6266 6-Channel Electronic Volume Controller Circuit: 1 2 J14 AVDD J16 2 4 6 104 + 10u J15 DVCC C14 C17 2 1 1 3 5 AC2 AC1 U1 1 2 3 4 5 6 7 8 9 10 IN1 IN2 IN3 AC2 DGND SCL SDA IN4 IN5 IN6 OUT1 OUT2 OUT3 AC1 VDD VREF GND OUT4 OUT5 OUT6 20 19 18 17 16 15 14 13 12 11 C18 + 104 C15 10u RESET S5 + 10u 10uF C16 R13 10k C13 C19 20pF 12M C20 20pF S1 S2 S3 S4 10u * 12 + C1 100K * 12 R1 + C2 R2 + C3 R3 + C4 R4 + C5 R5 + C6 + + C7 R6 + C8 + C9 R8 R7 + C10 R9 U3 + MS6266 MUTE CH + - 1 2 3 4 5 6 7 8 9 10 RST P3.0 P3.1 XTAL2 XTAL1 P3.2 P3.3 P3.4 P3.5 GND Vcc P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 P1.1 P1.0 P3.7 AT89C2051 20 19 18 17 16 15 14 13 12 11 R14 R15 R16 R17 R18 R19 R20 R21 1k * 8 D8 CH1 D7 CH2 D6 CH3 D5 CH4 D4 CH5 D3 CH6 D2 VOL+ D1 VOL- + C11 R10 C12 R11 R12 R22 REV 2 1 2 1 2 2 1 J6 IN6 1 2 J5 IN5 1 2 J4 IN4 2 1 2 1 2 1 J3 IN3 1 2 J2 IN2 1 2 J1 IN1 2 1 2 1 10 J7 OUT6 J8 OUT5 J9 OUT4 J10 OUT3 J11 OUT2 J12 OUT1 13/13 www.mosanalog.com