MOSA
MS6260
Gain And Attenuation Volume Controller IC
Gain and Attenuation Volume Controller IC One Set of Stereo Input, Low voltage Gain and Attenuation 15~-79dB, Good PSRR
FEATURES
‧Operation range: 2.7V~6.5V ‧Low power consumption ‧Gain/Attenuation: 15dB to –79dB at 1dB/step ‧Good PSRR and low pop noise ‧Housed in 10 pin MSOP package ‧I2C interface
APPLICATIONS
‧Multimedia system ‧Hi-Fi audio system ‧MP3, PDA
DESCRIPTION
The MS6260 is the stereo audio volume controller IC. It uses CMOS technology specially for the low voltage application with low noise, rail-to-rail output. The MS6260 provide an I2C control interface with gain / attenuation range of 15dB to –79dB, 1dB/step. The excellent power supply ripple reject is a good for audio system. The initial condition is set to be maximum attenuation –79dB and mute on mode when power on.
BLOCK DIAGRAM
Gain0~15dB
Attenuation 0~-79dB
L-IN
1dB/ Step
-1dB/ Step
-10dB/ Step
L- OUT
Serial Bus Decoder and Latches
Mute Control
R-IN
1dB/ Step
Gain0~15dB
-1dB/ Step
-10dB/ Step REF
R- OUT
Attenuation 0~-79dB
I2 C Interface
Reference Circuit
SDA
SCL
Vref
REV 3
1
www.mosanalog.com
MOSA
PIN CONFIGURATION
Symbol A.O. L-IN L-OUT VSS SDA SCL VDD R-OUT R-IN VREF Pin 1 2 3 4 5 6 7 8 9 10 Description Address option * Left channel input Left channel output Ground I2C data input I C clock input Positive supply voltage Right channel output Right channel input Reference voltage = 1/2VDD
2
MS6260
Gain And Attenuation Volume Controller IC
A.O. 1 L-IN 2 L-OUT 3 VSS 4 SDA 5
10 VREF 9 R-IN
MS6260
8 R-OUT 7 VDD 6 SCL
Note: 1. Pin 1 is set to Lo or open , the address code is 88H (10001000B). 2. Pin 1 is set to Hi , the address code is 8CH (10001100B). 3. The VREF connects a capacitor to Vss.
ORDERING INFORMATION
Package 10-Pin MSOP (lead free) 10-Pin MSOP (lead free) Part number MS6260MGTR MS6260MGU Packaging Marking 6260G 6260G Transport Media 3.5k Units Tape and Reel 80 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 MSOP10 Parameter Rating 6.5 -3000 to 3000 -65 to 150 -40 to 85 150 260 235 Unit V V ℃ ℃ ℃ ℃ ℃/W
OPERATING RATINGS
Symbol VDD Supply Voltage Parameter Min 2.7 Typ Max 6.5 Unit V
REV 3
2
www.mosanalog.com
MOSA
5V ELECTRICAL CHARACTERISTICS
MS6260
Gain And Attenuation Volume Controller IC
(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.5Vpp (THD+N)/S < 0.1% Vripple = -20dBV, 100Hz Vin=0dBV Max gain Max attenuation 95 18 95 0.3VDD 3.8 15 -79 1 0.3 0.3 105 53 85 20 50 4.8 -69 100 4.2 100 -64 0.7VDD mA dB dB dB dB dB dB dB dB kΩ Ω Vpp dB dB V V
AC Characteristics
Bus Characteristics
3.3V ELECTRICAL CHARACTERISTICS
(VDD=3.3V, 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 Vripple = -20dBV, 100Hz Vin=-3dBV (THD+N)/S < 0.1% 90 85 3.7 100 52 80 3 -69 90 4.1 -64 mA dB dB dB Vpp dB dB
AC Characteristics
REV 3
3
www.mosanalog.com
MOSA
2.7V ELECTRICAL CHARACTERISTICS
MS6260
Gain And Attenuation Volume Controller IC
(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 Vripple = -20dBV, 100Hz Vin=-3dBV (THD+N)/S < 0.3% 90 85 3.2 100 50 80 2 -69 90 3.6 -64 mA dB dB dB Vpp dB dB
AC Characteristics
TYPICAL PERFORMANCE CHARACTERISTICS
(Ta=25℃, RL=10k, VREF Cap=10uF; unless otherwise specified)
f=20Hz
f=20Hz
f=20Hz
THD+N (%)
THD+N (%)
f=1kHz f=1kHz f=20kHz
f=20kHz
THD+N (%)
f=1kHz
f=20kHz
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
CHANNEL SEPARATION (dB)
VDD=2.7V VO=-3dBV
VDD=3.3V VO=-3dBV
VDD=5V VO=0dBV
VDD=5V VO=0dBV
VDD=3.3V VO=-3dBV
VDD=2.7V VO=-3dBV
FREQUENCY (Hz)
FREQUENCY (Hz)
QUIESCENT CURRENT (mA)
THD+N (%)
SUPPLY VOLTAGE (V)
THD+N vs. frequency
Channel separation vs. frequency
Quiescent current vs. supply voltage
REV 3
4
www.mosanalog.com
MOSA
CAP=22uF CAP=22uF
MS6260
Gain And Attenuation Volume Controller IC
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
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.
REV 3
5
www.mosanalog.com
MOSA
Acknowledge
MS6260
Gain And Attenuation Volume Controller IC
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.
Timing of SDA and SCL bus lines
SDA tf SCL
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 3
6
www.mosanalog.com
MOSA
BUS INTERFACE
MS6260
Gain And Attenuation Volume Controller IC
Data are transmitted to and from the MCU to the MS6260 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
MS6260
Interface protocol The format consists of the following ‧A START condition ‧A chip address byte including the MS6260 address. (7bits) ‧The 8th bit of the byte must be “0”.(write=0, read=1) ‧The MS6260 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
Protocol Address Pin1(A.O.) = Low or Open
1 0 0 0 1 0 0 0 W 1
Pin1(A.O.) = High
0 0 0 1 1 0 0 W
7 bits address MS6260 address
7 bits address MS6260 address
REV 3
7
www.mosanalog.com
MOSA
Data bytes description Function bits MSB 1 1 1 1 1 0 0 1 0 0 0 1 1 1 0 0 0 0 1 1 1 1 1 0 1 1 1 1 1 0 1 0 1 1 1 0 0 1 0 1 0 0 1 1 1 A3 0 A3 0 A3 0 C3 C3 C3 0 1 1 1 A2 B2 A2 B2 A2 B2 C2 C2 C2 0 0 0 1 A1 B1 A1 B1 A1 B1 C1 C1 C1 0 0 0 LSB 1 A0 B0 A0 B0 A0 B0 C0 C0 C0 1 1 0
MS6260
Gain And Attenuation Volume Controller IC
Function Function off (-79dB) 2-channel, -1dB/step 2-channel, -10dB/step Left channel, -1dB/step Left channel, -10dB/step Right channel, -1dB/step Right channel, -10dB/step 2-channel, +1dB/step Left channel, +1dB/step Right channel, +1dB/step Power off preparation (pop noise free) 2-channel, mute On 2-channel, mute Off
Gain / Attenuation bits A3 C3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 A2 B2 C2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 A1 B1 C1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 A0 B0 C0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 A 0 -1 -2 -3 -4 -5 -6 -7 -8 -9 Gain / Attenuation value (dB) B 0 -10 -20 -30 -40 -50 -60 -70 C 0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15
1. Where Ax=-1dB/step, Bx=-10dB/step, Cx=+1dB/step 2. The function of power off preparation is to prevent pop noise when power off. 3. The initial condition is set to be maximum attenuation –79dB and mute on mode when power on.
REV 3
8
www.mosanalog.com
MOSA
Example
MSB Start 1 0 0 0 1 0 0 LSB 0 ACK 0 1 1 Data byte 1 1 0 0 0
MS6260
Gain And Attenuation Volume Controller IC
Mute off The initial condition is –79dB and mute on when power on. The first command must disable the mute function.
ACK
Stop
MS6260 address
2-ch, Mute off
Set gain of 2 channel at 0dB
Start MS6260 Address ACK 1 1 1 0 0 0 0 0 ACK 1 1 0 1 0 0 0 0 ACK
2-ch, -10dB/step, 0dB 1 1 0 0 0 0 0 0 ACK Stop
2-ch, -1dB/step, 0dB
2-ch, +1dB/step, 0dB
Set gain of 2 channel at 6dB The value of attenuation must be set zero when the volume from attenuation to gain.
Start MS6260 Address ACK 1 1 1 0 0 0 0 0 ACK 1 1 0 1 0 0 0 0 ACK
2-ch, -10dB/step, 0dB 1 1 0 0 0 1 1 0 ACK Stop
2-ch, -1dB/step, 0dB
2-ch, +1dB/step, 6dB
Set gain of 2 channel at -3dB The value of gain must be set zero when the volume from gain to attenuation.
Start MS6260 Address ACK 1 1 0 0 0 0 0 0 ACK 1 1 1 0 0 0 0 0 ACK
2-ch, +1dB/step, 0dB 1 1 0 1 0 0 1 1 ACK Stop
2-ch, -10dB/step, 0dB
2-ch, -1dB/step, -3dB
Set attenuation of left channel at –33dB
Start MS6260 Address ACK 1 0 1 1 0 0 1 1 ACK 1 0 1 0 0 0 1 1 ACK Stop
L-ch, -10dB/step, -30dB
L-ch, -1dB/step, -3dB
REV 3
9
www.mosanalog.com
MOSA
APPLICATION INFORMATION
Basic application example
MS6260 Hi : Addr 10001000B Lo: Addr 10001100B 1 A.O 5 SDA MCU 6 SCL VSS 4 10 10uF
MS6260
Gain And Attenuation Volume Controller IC
VREF
VDD
7 0.1uF 47uF
Supply
10uF
2 L-IN
L-OUT
3
10uF 10k Power Amplifier
Signal 10uF 9 R-IN R-OUT 8 10uF
10k
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
1. The initial condition is –79dB and mute on when power up. 2. In order to prevent pop noise when power on, please wait 1 sec to transmit I2C command.
REV 3
10
www.mosanalog.com
MOSA
EXTERNAL DIMENSIONS
MSOP10 package
MS6260
Gain And Attenuation Volume Controller IC
Symbol A A1 A2 B C D H E e L
H
E
Dimension in mm Dimension in inch Min Max Min Max 0.81 1.12 0.032 0.044 0.05 0.15 0.002 0.006 0.76 0.97 0.030 0.038 0.15 0.20 0.006 0.012 0.13 0.23 0.005 0.009 2.90 3.10 0.114 0.122 4.70 5.10 0.185 0.201 2.90 3.10 0.114 0.122 0.50 0.0197 0.40 0.66 0.016 0.026
D
A
A2 e B L
A1
C
TAPE AND REEL (Unit : mm)
2.0 0.30 0.05 4.0 1.75 0.3R MAX 5.5 0.05 12.0 0.3
5.4
0.05
1.5+0.1/-0.0 DIA
3.0 3.6 6.9
8.0 1.5 MIN 0.5 Radius Typical
2.0 1.7
REV 3
11
www.mosanalog.com
MOSA
DEMO BOARD
MS6260
Gain And Attenuation Volume Controller IC
1 2 6
1
5
3
4
Label 1: Supply Voltage
The AVDD and DVDD should be the same supply voltage, the supply range is 2.7~6.5 VDC.
Label 2: LED Indicator
The LED indicates IR received status and power status. It is red-dark blink once when the MCU has received the function code correctly.
Label 3: MCU Reset
Reset MCU controller. The MS6260 will be loaded the default values by MCU. The default states are Volume 0dB and Mute-Off.
Label 4: Input section
Please input stereo audio signal, as music or sine wave.
Label 5: Address option
As the jump is closed, the address code is 88H. As the jump is open, the address code is 8CH.
Label 6: Output section
Please connected to a post-power-amplifier, as stereo speaker.
REV 3
12
www.mosanalog.com
MOSA
MS6260
Gain And Attenuation Volume Controller IC
IR Controller
2CH+ : The volume-up switch for stereo channel The volume increase by +1dB as the switch is pressed once, the maximum value is up to +15dB. The default value is 0dB on initial status. L-channel and R-channel are active synchronic. 2CH- : The volume-down switch for stereo channel The volume decrease by -1dB as the switch is pressed once, the minimum value is up to -79dB. L-channel and R-channel are active synchronic. LCH+ : The volume-up switch for left channel The volume increase by +1dB as the switch is pressed once, the maximum value is up to +15dB. LCH- : The volume-down switch for left channel The volume decrease by -1dB as the switch is pressed once, the minimum value is up to -79dB. RCH+ : The volume-up switch for right channel The volume increase by +1dB as the switch is pressed once, the maximum value is up to +15dB. RCH- : The volume-down switch for right channel The volume decrease by -1dB as the switch is pressed once, the minimum value is up to -79dB. MUTE : Press the switch once to enter mute-on or mute-off. The default status is mute-off on initial status.
REV 3
13
www.mosanalog.com
MOSA
Circuit
J1 1 2 J3 1 2 3 LCD DVCC RX TX DVCC + C13 0.1u + C14 10u R4 C4 20P Y1 12M J4 AVDD C5 + 20P AVDD + C7 0.1u + C6 10u 10K + S1 RST RX TX IR_IN SCL SDA 1 2 3 4 5 6 7 8 9 10 + C2 10u U1 RST P3.0 P3.1 XTAL2 XTAL1 P3.2 P3.3 P3.4 P3.5 GND AT89CX51 Vcc P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 P1.1 P1.0 P3.7
MS6260
Gain And Attenuation Volume Controller IC
R1 220 R2 10K R3 1K C1 47u + 3 2 IR_IN + C3 470p J9 D1 LED A.O. 1 J2 VS GND IR IR
20 19 18 17 16 15 14 13 12 11
1 2
J7 INPUT
1 2 3 2 1
J8
OUTPUT
3 2 1 J5 + Vref R-IN R-Out Vdd SCL 10 9 8 7 6 10u 10u C8 C10 OUTPUT
U2 J6 C9 10u + SDA + C11 10u 1 2 3 4 1 2 3 4 5 A.O. L-IN L-Out Vss SDA MS6260 U3 L-IN R-IN L-Out R-Out Vss Vdd SDA SCL MS6257 8 7 6 5
+
INPUT
SCL
R5 10K + C12 10u
R6 10K
R7 10K
R8 10K
W1 Jumper
REV 3
14
www.mosanalog.com