MOSA MS6715_1

MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
1 Stereo Input and 1 Stereo Output
Volume, Tone, Balance, Loudness Function
FEATURES
APPLICATIONS
•Operation range : 2.7V~6.5V
•2 independent speaker controls for balance
•Tone controls (treble and bass)
•Loudness and independent mute function
•Volume control in 1.25 dB/step
•I2C interface
•Components less and good PSRR
•Housed in SOP20, SSOP20 package
•Portable audio device
•Hi-Fi audio system
•Cross-reference:
TDA7315
DESCRIPTION
The MS6715 is a 1 stereo inputs/2-channel outputs digital control audio processor for the low voltage operation.
Volume, tone (bass and treble), and balance (left/right) processor are incorporated into a single chip. The MS6715 also
has the loudness function. These functions can be built a Hi-Fi audio system easily. All functions are programmable
via the serial I2C bus. The default states of the chip as the power is on are: the volume is -78.75dB, the stereo 4 is
selected, all the speakers are mute and the gains of the bass and the treble are 0dB.
BLOCK DIAGRAM
LOUD_L
9
BOUT_L BIN_L
13
12
TREB_L
4
RB
LIN
Volume &
Londness
11
Mute
17 OUT_L
Bass
Treble
Speaker
ATT
20
SCL
19 SDA
18
DGND
Serial Bus Decoder and Latches
RIN
Volume &
Londness
6
Bass
Treble
Speaker
ATT
16
OUT_R
Mute
RB
Supply
2
3
1
AVDD AGND REF
REV 3
7
LOUD_R
15
14
BOUT_R BIN_R
1/16
5
TREB_R
www.mosanalog.com
MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
PIN CONFIGURATION
Symbol
REF
Pin
1
VDD
AGND
2
3
Description
Analog Reference Voltage(1/2VDD)
Supply Input Voltage
Analog Ground
TREB_L
4
Left Channel Input for Treble Controller
TREB_R
RIN
5
6
Right Channel Input for Treble Controller
Right Channel Input
LOUD_R
NC
7
8
Right Channel Loudness Input
No Connected
LOUD_L
NC
9
10
Left Channel Loudness Input
No Connected
LIN
11
Left Channel Input
BIN_L
BOUT_L
12
13
Left Bass Controller Input Channel
Left Bass Controller Output Channel
REF 1
20 SCL
VDD 2
19 SDA
AGND 3
18 DGND
TREB_L 4
17 OUT_L
TREB_R 5
MS6715
RIN 6
15 BOUT_R
LOUD_R 7
BIN_R
BOUT_R
14
15
Right Bass Controller Input Channel
Right Bass Controller Output Channel
OUT_R
16
Right Speaker Output
OUT_L
DGND
17
18
Left Speaker Output
Digital Ground
SDA
SCL
19
20
I2C Data Input
I2C Clock Input
16 OUT_R
14 BIN_R
NC 8
13 BOUT_L
LOUD_L 9
12 BIN_L
NC 10
11 LIN
SOP20 / SSOP20
ORDERING INFORMATION
Package
Part number
Packaging Marking
Transport Media
20-Pin SOP (lead free)
MS6715GTR
MS6715G
1k Units Tape and Reel
20-Pin SOP (lead free)
MS6715GU
MS6715G
36 Units Tube
20-Pin SSOP (lead free)
MS6715SSGTR
MS6715G
2.5k Units Tape and Reel
20-Pin SSOP (lead free)
MS6715SSGU
MS6715G
56 Units Tube
ABSOLUTE MAXIMUM RATINGS
Symbol
VDD
Parameter
Supply Voltage
Rating
Unit
6.5
V
VESD
Electrostatic Handling
-3000 to 3000
V
TSTG
Storage Temperature Range
-65 to 150
℃
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
REV 3
2/16
www.mosanalog.com
MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
OPERATING RATINGS
Symbol
VDD
Parameter
Supply Voltage
Min
Typ
Max
Unit
2.7
-
6.5
V
5V ELECTRICAL CHARACTERISTICS
(Ta=25℃, All stages 0dB, f=1kHz, CREF =22uF, refer to the application circuit; unless otherwise specified)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
-
12.2
12.5
mA
55
60
-
dB
35
50
70
kΩ
19
20
-
dB
-78.75
-
0
dB
-
1.25
-
dB
-0.5
0
1
dB
-1
0
5
dB
-37.5
-
0
dB
-
1.25
-
dB
Supply
IQ
Quiescent Current
VIN=0V
PSRR
Power Supply Rejection Ratio
CREF = 22uF, f = 100Hz
Input
RIN
Input Resistance
LOUD
Loudness
CLoud=100nF, f =20Hz
Volume=-40dB
Volume control
CRVOL
Volume Control Range
RESVOL
Volume Step Resolution
ERRVOL
Volume Setting Error
Attenuation
Av = 0 to -40dB
Av = -40 to -60dB
Speaker Attenuators
CRSPK
Speaker Control Range
RESSPK
Speaker Step Resolution
ERRSPK
Speaker Setting Error
MUTE
Output Mute Attenuation
Attenuation
-0.2
0
0.1
dB
-
-65
-60
dB
-14
-
14
dB
-
2
-
dB
-0.3
0
0.1
dB
34
44
58
kΩ
-14
-
14
dB
-
2
-
dB
-0.3
0
0.1
dB
Bass Control
CRBAS
Bass Control Range
RESBAS
Bass Step Resolution
ERRBAS
Speaker Setting Error
RB
Internal Feedback Resistance
Boost/Cut
f =100Hz
Treble Control
CRBAS
Treble Control Range
Boost/Cut
RESBAS
Treble Step Resolution
ERRBAS
Treble Setting Error
f =20kHz
VOMAX
Maximum Output Voltage Swing
(THD+N)/S <0.3%
-
4.5
-
Vpp
THD+N
Total Harmonic Distortion Plus
Noise
VOUT=2Vpp
-
-75
0.0177
-
dB
%
S/N
Signal-to-Noise Ratio
VOUT=4Vpp
-
97
-
dB
CS
Channel Separation Left/Right
93
97
-
dB
VIH
Bus High Input Level
2
-
-
V
VIL
Bus Low Input Level
-
-
0.8
V
General
Bus Input
Notes: Bass and Treble response see to curve. The center frequency and quality of the response behavior can be chosen
by the external.
REV 3
3/16
www.mosanalog.com
MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
2.7V ELECTRICAL CHARACTERISTICS
(Ta=25℃, All stages 0dB, f=1kHz, CREF =22uF, refer to the application circuit; unless otherwise specified)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Supply
IQ
Quiescent Current
VIN=0V
PSRR
Power Supply Rejection Ratio
CREF = 22uF, f = 100Hz
VOMAX
Maximum Output Voltage Swing
(THD+N)/S <0.3%
THD+N
Total Harmonic Distortion Plus
Noise
VOUT=2Vpp
S/N
Signal-to-Noise Ratio
VOUT=2.5Vpp
CS
Channel Separation Left/Right
-
8.7
9
mA
53
58
-
dB
-
2.5
-
Vpp
-
-50
-
dB
General
-
0.3
-
%
90
94
-
dB
90
94
-
dB
TYPICAL PERFORMANCE CHARACTERISTICS
(Ta=25℃, All stages 0dB, f=1kHz, CREF =22uF, refer to the application circuit; unless otherwise specified)
VDD=5V
Volume=-40dB
VDD=5V
Loud (dB)
Loud (dB)
Loud (dB)
100nF
OPEN
33nF
10nF
220nF
Loudness OFF
56nF
VDD=5V
CLOUD = 100nF
Loudness vs. Volume
Loudness vs. Frequency vs. Volume
Loudness vs. External Capacitors
VDD=5V
Treble=Bass= -14~14dB
REV 3
VDD=2.7V
VIN=-3dBV
VDD=5V
VIN=0dBV
QUIESCENT CURRENT (mA)
FREQUENCY (Hz)
CHANNEL SEPARATION (dB)
FREQUENCY (Hz)
Tone (dB)
FREQUENCY (Hz)
FREQUENCY (Hz)
FREQUENCY (Hz)
SUPPLY VOLTAGE (V)
Typical Tone Response
Channel Separation vs. Frequency
Quiescent Current vs. Supply Voltage
4/16
www.mosanalog.com
MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
VDD=2.7V
VO=2Vpp
THD+N (%)
THD+N (%)
THD+N (%)
f=1kHz
f=20kHz
f=20Hz
VDD=5V
VO=2Vpp
f=20kHz
f=1kHz
VDD=5V
VDD=2.7V
FREQUENCY (Hz)
OUTPUT VOLTAGE (dBV)
OUTPUT VOLTAGE (dBV)
THD+N vs. Frequency
THD+N vs. Output Voltage
THD+N vs. Output Voltage
CAP=22uF
CAP=10uF
VDD=5V
VRR=-20dBV
PSRR (dB)
PSRR (dB)
CAP=22uF
REV 3
f=20Hz
CAP=10uF
VDD=2.7V
VRR=-20dBV
FREQUENCY (Hz)
FREQUENCY (Hz)
PSRR vs. Frequency
PSRR vs. Frequency
5/16
www.mosanalog.com
MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
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
change
allowed
Data line
stable,
Data valid
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 3
6/16
www.mosanalog.com
MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
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
tSP
tSU;STO
Sr
Parameter
tBUF
tr
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
BUS INTERFACE
Data are transmitted to and from the MCU to the MS6715 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
REV 3
MS6715
7/16
www.mosanalog.com
MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
Interface Protocol
The format consists of the following
•A START condition
•A chip address byte including the MS6715 address. (7bits)
•The 8th bit of the byte must be “0”.(write=0, read=1)
•MS6715 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
P
START
CONDITION
ACK
DATA
ACK
DATA
ACK
STOP
CONDITION
Address Code
The chip address of the MS6715 is 88H.
1
0
0
0
1
0
0
0
7 bits address
W
MS6715 address
Data Bytes Description
The default states of the chip as the power is on are: the volume is -78.75dB, the stereo 4 is selected, all the speakers are
mute and the gains of the bass and the treble are 0dB.
MSB
LSB
Function
0
0
B2
B1
B0
A2
A1
A0
Volume Control
1
0
0
B1
B0
A2
A1
A0
Speaker ATT L
1
0
1
B1
B0
A2
A1
A0
Speaker ATT R
0
1
0
*
*
L
*
*
Loudness Control
0
1
1
0
C3
C2
C1
C0
Bass Control
0
1
1
1
C3
C2
C1
C0
Treble Control
Where Ax = 1.25dB steps; Bx = 10dB steps; Cx = 2dB steps; * = No effect
REV 3
8/16
www.mosanalog.com
MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
Volume
MSB
0
0
0
0
B2
B1
B0
LSB
Function
A2
A1
A0
Volume 1.25 dB steps
0
0
0
0
0
0
1
-1.25
0
1
0
-2.5
0
1
1
-3.75
1
0
0
-5
1
0
1
-6.25
1
1
0
-7.5
1
1
1
-8.75
A2
A1
A0
Volume 10dB steps
B2
B1
B0
0
0
0
0
0
0
1
-10
0
1
0
-20
0
1
1
-30
1
0
0
-40
1
0
1
-50
1
1
0
-60
1
1
1
-70
The default volume is –78.75dB.
Speaker Attenuator
MSB
LSB
Function(
(dB)
)
1
0
0
B1
B0
A2
A1
A0
Speaker ATT L
1
0
1
B1
B0
A2
A1
A0
Speaker ATT R
0
0
0
0
0
0
1
-1.25
0
1
0
-2.5
0
1
1
-3.75
1
0
0
-5
1
0
1
-6.25
1
1
0
-7.5
1
1
1
-8.75
0
0
0
0
1
-10
1
0
-20
1
1
-30
1
1
1
1
1
Mute
The default state is mute.
REV 3
9/16
www.mosanalog.com
MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
Loudness
MSB
0
1
0
X
X
L
X
LSB
Function
X
Loudness
0
Loudness ON
1
Loudness OFF
The default state is loudness off.
X: don’t care.
Bass and Treble
MSB
LSB
Function(
(dB)
)
0
1
1
0
C3
C2
C1
C0
Bass
0
1
1
1
C3
C2
C1
C0
Treble
0
0
0
0
-14
0
0
0
1
-12
0
0
1
0
-10
0
0
1
1
-8
0
1
0
0
-6
0
1
0
1
-4
0
1
1
0
-2
0
1
1
1
0
1
0
0
0
0
1
0
0
1
2
1
0
1
0
4
1
0
1
1
6
1
1
0
0
8
1
1
0
1
10
1
1
1
0
12
1
1
1
1
14
The default state is bass 0dB and treble 0dB.
REV 3
10/16
www.mosanalog.com
MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
Examples
Set Volume at –37.5dB.
MSB
Start
Data byte
LSB
MS6715 Address
ACK
0
0
0
1
1
1
-30dB
1
0
ACK
Stop
0
ACK
Stop
1
1
ACK
Stop
X
X
ACK
Stop
-7.5dB
Set Speaker Right at -30dB.
MSB
Start
Data byte
LSB
MS6715 Address
ACK
1
0
1
1
Speaker
R
1
0
-30dB
0
0dB
Set Speaker Left in mute-on.
MSB
Start
Data byte
LSB
MS6715 Address
ACK
1
0
0
1
1
Speaker
L
1
Mute
Set Loudness in turn-on.
MSB
Start
Data byte
LSB
MS6715 Address
ACK
0
1
0
X
X
0
X : doncare
Loudness
ON
Set Treble at -10dB.
MSB
Start
MS6715 Address
Data byte
LSB
ACK
0
1
1
Treble
REV 3
1
0
0
1
0
ACK
Stop
-10dB
11/16
www.mosanalog.com
MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
APPLICATION INFORMATION
Basic Application Example
5.6K
MCU
100n
100n
18
20
9
100n
12
TREB_L
BIN_L
BOUT_L
10u
17
MS6715
10u
RIN
OUTPUT
OUT_R 16
2.2u
22u
15
100n
TREB_R
7
1
BIN_R
BOUT_R
LOUD_R
3
REF
AGND
AVDD
2
AVDD
2.7n
4
OUT_L
LIN
INPUT
6
13
LOUD_L
SCL
SDA
DGND
2.2u 11
19
14
100n
100n
5
2.7n
5.6K
REV 3
12/16
www.mosanalog.com
MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
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
o
0
8
0
8
o
o
0
0
o
o
o
o
5
15
5
15
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
o
8
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
o
o
0
8
A
A1
e
0.25mm
B
θ
L
Detail A
REV 3
13/16
www.mosanalog.com
MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
DEMO BOARD
The demo board used IR technique controller to control the MS6715.
The default states of demo board are Volume -20dB, Attenuator Speakers 0dB, Loudness Off, Bass 0dB and Treble 0dB.
1
2
3
5
1
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 the power status and the IR received status. It is red-dark blink once when the MCU has received the
function code correctly.
Label 3: Output Section
Please connected to a post-power-amplifier, as active speaker.
Label 4: Input Section
Please input stereo audio signal, as music or sine wave.
Label 5: MCU Reset
The MS6715 will be loaded the default values by MCU. The default states of demo board are Volume -20dB,
Attenuator Speakers 0dB, Loudness Off, Bass 0dB and Treble 0dB.
REV 3
14/16
www.mosanalog.com
MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
IR Controller
VOL+, VOL- : The volume control keys.
The volume control in 1.25dB/step as the switch is pressed once, the range is –79dB to 0dB.
ATTLF+, ATTLF- : The attenuation control keys for left speaker output.
The attenuation in 1.25dB/step as the switch is pressed once, the range is -37.5dB to 0dB.
ATTRF+, ATTRF- : The attenuation control keys for right speaker output.
The attenuation in 1.25dB/step as the switch is pressed once, the range is -37.5dB to 0dB.
TRE+, TRE- : The treble control keys.
The treble control in 2dB/step as the switch is pressed once, the range is –14dB to 14dB.
BAS+, BAS- : The bass control keys.
The bass control in 2dB/step as the switch is pressed once, the range is -14dB to 14dB.
Loud : The loudness key
Press the key once to set loudness on or loudness off.
Mute : The mute key controls all speaker outputs
Press the key once to set mute-on or mute-off.
REV 3
15/16
www.mosanalog.com
MS6715
MOSA
1 Stereo Input / 1 Stereo Output Audio Processor
Circuit
J1
R1
DVCC
1
2
C20 +
DVCC
10u
RX
TX
RST
C4
+
IR_IN
Y1
12M
AVDD
SCL
SDA
C5
RST
P3.0
P3.1
XTAL2
XTAL1
P3.2
P3.3
P3.4
P3.5
GND
2
1
+
20P
AVDD
C22 +
+ C6
0.1u 10u
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
AT89C2051
U2
1
REF
2
VDD
3
AGND
4
TREB_L
5
TREB_R
6
RIN
7
LOUD_R
8
NC
9
LOUD_L
10
NC
INPUT
1
2
3
3
VS
+
C23
0.1u
J8
10u C9
IR_IN
+
+
+
C16 C17
2.7n 2.7n
+
IR
IR
D1
IN1
J5
SCL
SDA
DGND
LOUT
ROUT
BOUT_R
BIN_R
BOUT_L
BIN_L
LIN
+
C15
22u
1
+ C3
470p
MS6715
10u C10
+
GND
U1
1
2
3
4
5
6
7
8
9
10
RX
TX
10K
20P
IN3
J2
+
OUT
1
2
3
LCD
J6
C1
47u
R3
10K
2
R4
J4
R2
1K
20
19
18
17
16
15
14
13
12
11
SCL
SDA
J7
+
1
2
3
+ C2
10u
S1
C21
0.1u
10u
C7
+
J3
220
+
10u
C11
+
C12
+
C13
+
C14
+
0.1u
0.1u
0.1u
0.1u
C8
OUTPUT
+
C18 C19
0.1u 0.1u
R5
5.6K
R6
5.6K
W1
Jumper
REV 3
16/16
www.mosanalog.com