MOSA
MS6266
6-Channel Electronic Volume Controller
6-Channel Volume Controller Gain and Attenuation 16~-79dB Low Voltage, High Channel Separation
FEATURES
‧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
APPLICATIONS
‧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 IN1 IN2 IN3 AC2 DGND SCL SDA IN4 IN5 IN6 OUT6 OUT5 OUT4 GND VREF VDD AC1 OUT3 OUT2 Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
st
Description 1 channel input 2nd channel input 3rd channel input Address code 2 Digital Ground I2C clock input I2C data input 4 channel input 5th channel input 6th channel input 6th channel output 5th channel output 4 channel output Analog ground Reference voltage = 1/2VDD Positive supply voltage Address code 1 3rd channel output 2nd channel output
th th
IN1 1 IN2 2 IN3 3 AC2 4 DGND 5 SCL 6 SDA 7 IN4 8 IN5 9 IN6 10
20 OUT1 19 OUT2 18 OUT3 17 AC1
MS6266
16 VDD 15 VREF 14 GND 13 OUT4 12 OUT5 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
BLOCK DIAGRAM
IN1
-1dB/Step -10dB/Step
MS6266
6-Channel Electronic Volume Controller
2dB/Step
OUT1
IN2
-1dB/Step
-10dB/Step
2dB/Step
OUT2
IN6
-1dB/Step
-10dB/Step
2dB/Step
OUT6
VREF
AC1 AC2 I C Interface
2
Reference source
VDD GND
SCL
SDA
DGND
VREF
ORDERING INFORMATION
Package 20-Pin SOP (lead free) 20-Pin SOP (lead free) 20-Pin SSOP (lead free) 20-Pin SSOP (lead free) Part number MS6266GTR MS6266GU MS6266SSGTR MS6266SSGU Packaging Marking MS6266G MS6266G MS6266G MS6266G Transport Media 1k Units Tape and Reel 35 Units Tube 2.5k Units Tape and Reel 50 Units Tube
ABSOLUTE MAXIMUM RATINGS
Symbol VDD VESD TSTG TA TJ TS RTHJA Supply Voltage Electrostatic Handling Storage Temperature Range Operating Ambient Temperature Range Maximum Junction Temperature Soldering Temperature, 10 seconds Thermal Resistance from Junction to Ambient in Free Air SOP20 SSOP20 Parameter Rating 6.5 -3000 to 3000 -65 to 150 -40 to 85 150 260 210 210 Unit V V ℃ ℃ ℃ ℃ ℃/W
OPERATING RATINGS
Symbol VDD
REV 2
Parameter Supply Voltage 2/13
Min 2.7
Typ -
Max 6.5
Unit V
www.mosanalog.com
MOSA
5V ELECTRICAL CHARACTERISTICS
MS6266
6-Channel Electronic Volume Controller
(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 AGA ASTEP EGA EIGA CS PSRR MUTE Rin Rout Vo THD+N S/N VIH VIL Quiescent current Gain/Attenuation Gain/Attenuation step Gain/Attenuation step error Interchannel gin/attenuation error Channel separation Power supply rejection ratio Mute Attenuation Input Impedance Output Impedance Maximum output voltage swing Total harmonic distortion plus noise Signal-to-noise ratio Bus high input level Bus low input level VO=4.8Vpp (THD+N)/S < 0.1% Cap = 10uF (100Hz) Vin=0dBV Max gain Max attenuation 95 18 95 0.3VDD 10.4 16 -79 1 0.3 0.3 105 53 85 20 50 4.8 -69 100 11 100 -64 0.7VDD mA dB dB dB dB dB dB dB dB kΩ Ω Vpp dB dB V V
AC Characteristics
Bus Characteristics
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 CS PSRR MUTE Vo THD+N S/N Quiescent current Channel separation Power supply rejection ratio Mute Attenuation Maximum output voltage swing Total harmonic distortion plus noise Signal-to-noise ratio VO=2.6Vpp Cap = 10uF (100Hz) Vin=-3dBV (THD+N)/S < 0.1% 90 85 8.2 100 51 80 2.6 -69 90 8.8 -64 mA dB dB dB Vpp dB dB
AC Characteristics
REV 2
3/13
www.mosanalog.com
MOSA
TYPICAL PERFORMANCE CHARACTERISTICS
(Ta=25℃, RL=100k, VREF Cap=10uF; unless otherwise specified)
MS6266
6-Channel Electronic Volume Controller
f=20kHz f=20Hz f=20Hz
f=20kHz f=20Hz
f=20kHz
THD+N (%)
THD+N (%)
f=1kHz
THD+N (%)
f=1kHz
f=1kHz
VDD=5V
VDD=3.3V
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=5V VO=0dBV
CHANNEL SEPARATION (dB)
VDD=3.3V VO=-3dBV
VDD=2.7V VO=-3dBV
THD+N (%)
VDD=3.3V VO=-3dBV
VDD=2.7V VO=-3dBV
VDD=5V VO=0dBV
FREQUENCY (Hz)
FREQUENCY (Hz)
QUIESCENT CURRENT (mA)
SUPPLY VOLTAGE (V)
THD+N vs. frequency
Channel separation vs. frequency
Quiescent current vs. supply voltage
CAP=22uF
CAP=22uF CAP=22uF
PSRR (dB)
PSRR (dB)
CAP=10uF
CAP=10uF
PSRR (dB)
CAP=10uF
CAP=2.2uF
CAP=2.2uF
CAP=2.2uF VDD=5V VRR=-20dBV 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
REV 2
4/13
www.mosanalog.com
MOSA
I2C BUS DESCRIPTION
Start and stop conditions
MS6266
6-Channel Electronic Volume Controller
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 Start Acknowledge
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
Timing of SDA and SCL bus lines
SDA tf SCL
MS6266
6-Channel Electronic Volume Controller
tLOW
tr
tSU;DAT
tf
tHD;STA
tSP
tr
tBUF
S
tHD;STA
tHD;DAT
tHIGH
tSU;STA
Sr
tSU;STO
P
S
Standard mode Symbol fSCL tHD:STA tLOW tHIGH tSU:STA tHD:DAT tSU:DAT tr tf tSU:STO tBUF Cb VnL VnH
Parameter
Min 0 4.0 4.7 4.0 4.7 0 250 4.0 4.7 -
Max 100 3.45 1000 300 400 -
Unit kHz us us us us us ns ns ns us us pF V V
SCL clock frequency Hold time (repeated) START condition. After this period, the first clock pulse is generated LOW period of the SCL clock HIGH period of the SCL clock Set-up time for a repeated START condition Data hold time: For I2C-bus devices Data-set-up time Rise time of both SDA and SCL signals Fall time of both SDA and SCL signals Set-up time for STOP condition Bus free time between a STOP and START condition Capacitive load for each bus line
Noise margin at the LOW level for each connected device (including 0.1VDD hysteresis) Noise margin at the HIGH level for each connected device (including 0.2VDD hysteresis)
REV 2
6/13
www.mosanalog.com
MOSA
BUS INTERFACE
MS6266
6-Channel Electronic Volume Controller
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
9
1-7
8
9
1-7
8
9
S START CONDITION ADDRESS
W R / --
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 0 0 1 1 AC2 0 1 0 1 Address code 80H 84H 88H 8CH
7 bits address MS6266 address W 1 0
AC1=1, AC2=0
0 0 1 0 0 0
0: connected to GND, 1: connected to VDD
REV 2
7/13
www.mosanalog.com
MOSA
Data bytes description Function bits MSB 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 0 0 0 1 1 0 0 1 1 0 0 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 A3 B3 A3 B3 A3 B3 A3 B3 A3 B3 A3 B3 A3 B3 0 1 1 A2 B2 A2 B2 A2 B2 A2 B2 A2 B2 A2 B2 A2 B2 0 0 0 A1 B1 A1 B1 A1 B1 A1 B1 A1 B1 A1 B1 A1 B1 0 0 0 LSB A0 B0 A0 B0 A0 B0 A0 B0 A0 B0 A0 B0 A0 B0 1 1 0
MS6266
6-Channel Electronic Volume Controller
Function 6 channels, -1dB/step 6 channels, -10dB/step or +2dB/step Channel 3, -1dB/step Channel 3, -10dB/step or +2dB/step Channel 4, -1dB/step Channel 4, -10dB/step or +2dB/step Channel 2, -1dB/step Channel 2, -10dB/step or +2dB/step Channel 5, -1dB/step Channel 5, -10dB/step or +2dB/step Channel 1, -1dB/step Channel 1, -10dB/step or +2dB/step Channel 6, -1dB/step Channel 6, -10dB/step or +2dB/step Power off preparation (pop noise free) 6 channels, mute On 6 channels, mute Off
Gain / Attenuation bits A3 B3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 A2 B2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 A1 B1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 A0 B0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Gain / Attenuation value (dB) A 0 -1 -2 -3 -4 -5 -6 -7 -8 -9 B 0 -10 -20 -30 -40 -50 -60 -70 +2 +4 +6 +8 +10 +12 +14 +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
Examples
MSB Start 80H, 84H, 88H, 8CH MS6266 Address LSB ACK 1 1 1 Data byte 1 1 0 0 0 ACK
MS6266
6-Channel Electronic Volume Controller
Mute off The initial condition is –79dB and mute on when power on. The first command must disable the mute function.
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 0 0 1 0 0 0 0 ACK Stop
Ch 1, -10dB/step, 0dB
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 1 1 1 0 1 1 0 ACK Stop
Ch 5, -10dB/step, 0dB
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 0 0 1 0 0 1 1 ACK Stop
Ch 3, -10dB/step, -30dB
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 0 0 0 1 0 0 0 1 ACK Stop
Ch 3, +2dB/step, 4dB
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
APPLICATION INFORMATION
Basic application example
MS6266 10uF Signal-1 In 10k 10uF Signal-2 In 10k 10uF Signal-3 In 10k 3 IN3 4 AC2 5 DGND 6 SCL MCU 7 SDA 10uF Signal-4 In 10k 10uF Signal-5 In 10k 10uF Signal-6 In 10k 10 IN6 OUT6 11 10uF 8 IN4 9 IN5 GND 14 OUT4 13 OUT5 12 10uF OUT3 18 AC1 17 16 10uF 1 IN1 2 IN2 OUT1 20 OUT2 19 10uF
MS6266
6-Channel Electronic Volume Controller
10k 10uF 10k
Signal-1 Out
Signal-2 Out
10k
Signal-3 Out
VDD
Supply 0.1uF 10uF 10uF
VREF
15
10k 10uF 10k
Signal-4 Out
Signal-5 Out
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
EXTERNAL DIMENSIONS
SSOP20
D
MS6266
6-Channel Electronic Volume Controller
Detail A
Symbol
E1 E
H x 45 c ZD
A2
A θ2
e
b
A1
θ1 R1 L1 R θ Detail A L
A A1 A2 b c e D E E1 L h L1 ZD R1 R θ θ1 θ2
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
SOP20 (300mil)
D
Detail A
Symbol
E H
h x 45 C
A A1 B C e D E H L h θ
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 L
REV 2
11/13
www.mosanalog.com
MOSA
DEMO BOARD
4
MS6266
6-Channel Electronic Volume Controller
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,如下圖所示。
H AC2 L H AC1 L
REV 2
12/13
www.mosanalog.com
MOSA
Circuit:
J14 AVDD 1 2 J16 1 3 5 AC2 2 4 6 AC1 104 C17
+
MS6266
6-Channel Electronic Volume Controller
10u C14
J15 DVCC 2 1 C18
+
U1 1 2 3 4 5 6 7 8 9 10 IN1 IN2 IN3 AC2 DGND SCL SDA IN4 IN5 IN6 MS6266 OUT1 OUT2 OUT3 AC1 VDD VREF GND OUT4 OUT5 OUT6 20 19 18 17 16 15 14 13 12 11
104
+
C15 10u RESET S5
10u R13 10k C19 20pF C20 20pF S1 S2 S3 S4
MUTE CH
C13
10uF C16 U3 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 20 19 18 17 16 15 14 13 12 11 R14 R15 R16 R17 R18 R19 R20 R21 1k * 8 D8 D7 D6 D5 D4 D3 D2 D1 CH1 CH2 CH3 CH4 CH5 CH6 VOL+ VOL+
12M
+
-
AT89C2051
10u * 12
+ + + + + + + + + + + +
C1
C2
C3
C4
C5
C6
C7
C8
C9
C10
C11
C12
100K * 12 R1
R2
R3
R4
R5
R6
R7
R8
R9
R10
R11
R12
R22 10 2 1 2 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 J11 OUT2 1 2 J12 OUT1
J1 IN1
J2 IN2
J3 IN3
J4 IN4
J5 IN5
J6 IN6
J7 OUT6
J8 OUT5
J9 OUT4
J10 OUT3
REV 2
13/13
www.mosanalog.com