MOSA MS6865TGTR

MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
Dual 2W Power Amplifier
3 Stereo Inputs with Volume Control
FEATURES
•Control interface : I2C
•Excellent Power Supply Rejection Ratio(PSRR)
•Flexibility power management
•Component less
•Reduce pop noise circuit
•Housed in TSSOP20 package, enhanced thermal
PAD
•Operation range: 2.4V~5.5V
•3 stereo inputs
•Volume control range
Gain: 0 to 21dB, 3dB/step
Attenuation: 0 to -77.5dB, 1.25dB/step
•Output mode : Speaker( BTL)/Headphone(SE)
•BTL Output power
RL=4Ω, 2W at 5V, 0.8W at 3.3V, 360mW at 2.4V
RL=8Ω, 1.3W at 5V, 0.53W at 3.3V, 250mW at 2.4V
•SE Output power
RL=32Ω, 93mW at 5V, 35mW at 3.3V, 15mW at 2.4V
APPLICATIONS
Multimedia system, Portable Digital Audio.
DESCRIPTION
The MS6865 is low distortion stereo power amplifier that has 3 stereo inputs with volume control. It can drive 2W of
continuous average power into a dual 4Ω bridged-tied (BTL) speaker or 2 * 90mW into stereo 32Ω single ended (SE)
headphone. The volume control offers wide range of gain and attenuation for stereo input. All of the functions are easy
setting that can be set by I2C interface.
The MS6865 has good features for portable equipment, including wide voltage operation 2.4V~5.5V, low power
consumption, power management, component less and small package TSSOP20, make the MS6865 ideally suitable for
use in the portable digital audio equipments.
BLOCK DIAGRAM
LIN1
LIN2
LIN3
L-ch selector
& Gain
Attenuation
&
Mute
-1
OUTR-
-1
RIN3
RIN2
RIN1
R-ch selector
& Gain
Attenuation
&
Mute
-1
OUTL-
-1
I2C Interface
Supply
AVDD
REV 1.0
AVSS
CAP
SCL SDA
VSS
1
OUTR+
OUTL+
Power Amplifier
Supply
PVDDL PVSSL
PVDDR PVSSR
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
PIN CONFIGURATION
Symbol
Pin
Description
VSS
1
Connected to ground
CAP
2
Capacitor connected
RIN1
3
Right channel input 1
RIN2
4
Right channel input 2
RIN3
5
Right channel input 3
AVSS
6
PVDDR
7
OUTR-
8
OUTR+
9
PVSSR
10
PVSSL
11
OUTL+
12
OUTL-
13
PVDDL
14
AVDD
15
Negative supply voltage
Positive supply voltage for right
channel of power amplifier
SE right channel output or negative
output of BTL right channel
Positive output of BTL right channel
Negative supply voltage for right
channel of power amplifier
Negative supply voltage for left channel
of power amplifier
Positive output of BTL left channel
SE left channel output or negative
output of BTL left channel
Positive supply voltage for left channel
of power amplifier
Positive supply voltage
LIN3
16
Left channel input 3
LIN2
17
Left channel input 2
LIN1
18
Left channel input 1
SDA
19
I2C data input
VSS 1
20 SCL
CAP 2
19 SDA
RIN1 3
18 LIN1
RIN2 4
17 LIN2
RIN3 5
AVSS 6
16 LIN3
Thermal
Pad
15 AVDD
PVDDR 7
14 PVDDL
OUTR- 8
13 OUTL-
OUTR+ 9
12 OUTL+
PVSSR 10
11 PVSSL
MS6865, TSSOP20
SCL
20
I2C clock input
Note: 1. SE: Single Ended. BTL: Bridged-Tied Load
ORDERING INFORMATION
Package
Part number
Packaging Marking
Transport Media
20Pin TSSOP (lead free)
MS6865TGTR
MS6865G
2.5k Units Tape and Reel
20Pin TSSOP (lead free)
RoHS Compliance
MS6865TGU
MS6865G
75 Units Tube
ABSOLUTE MAXIMUM RATINGS
Symbol
Parameter
Rating
Unit
6
V
2000
V
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
TSSOP20 (enhanced thermal pad)
51
VDD
Supply voltage
VESD
Electrostatic handling
TSTG
REV 1.0
2
℃/W
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
OPERATING RATINGS
Symbol
VDD
Min
Typ
Max
Unit
2.4
5
5.5
V
Conditions
Min
Typ
Max
Unit
All devices are active, BTL
0.5VDD
-0.05
0.5VDD
-0.05
-
Parameter
Supply voltage
5V ELECTRICAL CHARACTERISTICS
(Ta=25℃, VDD=5V, VSS=0V, f=1kHz; unless otherwise specified)
Parameter
Symbol
DC Characteristics
VCAP
Voltage at CAP
VDC
Output DC level
IQ
Quiescent current
0.5VDD
0.5VDD
10
All devices are active, SE
6.7
L-ch (R-ch) PD, BTL
5.2
L-ch (R-ch) PD, SE
3.4
All devices power down
All devices power down,
except CAP=1/2 VDD
-
-
0.5VDD
+0.05
0.5VDD
+0.05
-
V
V
mA
0.3
IPD
Power down current
ATT
Mute attenuation
GARAN
Gain/Attenuation range
0
dB
GSTEP
Gain step
-
3
-
dB
ASTEP
Attenuation step
-
1.25
-
dB
EGA
Gain/Attenuation step error
-
0.3
-
dB
VI2CH
Serial interface high input level
2
VI2CL
Serial interface low input level
Gain
0
Attenuation
uA
12
-
-77.5
-90
dB
21
dB
V
0.8
V
AC Characteristics
PSRR
CS
Power supply rejection ratio
Channel separation
THD+N
Total harmonic distortion plus
Noise
S/N
Signal-to-noise ratio
Po
Maximum output power
BTL Mode , RL=8Ω
CAP=1uF, f=200Hz
SE Mode , RL=32Ω
CAP=1uF, f=200Hz
BTL Mode, RL=8Ω
Po=1W
SE Mode, RL=32Ω
Po=60mW
SE mode, RL=32Ω, 75mW
SE mode, A-weighting,
75mW
BTL Mode, RL = 4Ω
THD+N = 1%
BTL Mode, RL = 8Ω
THD+N = 1%
SE Mode, RL = 32Ω
THD+N = 0.1%
-
61
-
dB
-
65
-
dB
-
78
-
dB
-
81
-
dB
-
-65
-
dB
-
0.0562
-
%
-
93
-
dB
-
2
-
W
-
1.3
-
W
-
93m
-
W
PD: Power Down
REV 1.0
3
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
3.3V ELECTRICAL CHARACTERISTICS
(Ta=25℃, VDD=3.3V, VSS=0V, f=1kHz; unless otherwise specified)
Parameter
Symbol
Conditions
Min
Typ
Max
All devices are active, BTL
-
9
-
All devices are active, SE
-
6
-
L-ch (R-ch) PD, BTL
-
4.6
-
L-ch (R-ch) PD, SE
-
3.0
-
Unit
DC Characteristics
IQ
Quiescent current
mA
AC Characteristics
THD+N
Po
-
-65
60
dB
-
0.0562
0.1
%
-
0.8
-
W
-
0.53
-
W
-
35m
-
W
Conditions
Min
Typ
Max
Unit
All devices are active, BTL
-
7.6
-
All devices are active, SE
-
5.1
-
L-ch (R-ch) PD, BTL
-
4
-
L-ch (R-ch) PD, SE
-
2.6
-
-
-65
-60
dB
-
0.0562
0.1
%
-
0.36
-
W
-
0.25
-
W
-
15m
-
W
Total harmonic distortion plus
Noise
SE mode, RL=32Ω, 35mW
Maximum output power
BTL Mode, RL = 4Ω
THD+N = 1%
BTL Mode, RL = 8Ω
THD+N = 1%
SE Mode, RL = 32Ω
THD+N = 0.1%
2.4V ELECTRICAL CHARACTERISTICS
(Ta=25℃, VDD=2.4V, VSS=0V, f=1kHz; unless otherwise specified)
Parameter
Symbol
DC Characteristics
IQ
Quiescent current
mA
AC Characteristics
THD+N
Po
REV 1.0
Total harmonic distortion plus
Noise
SE mode, RL=32Ω, 15mW
Maximum output power
BTL Mode, RL = 4Ω
THD+N = 1%
BTL Mode, RL = 8Ω
THD+N = 1%
SE Mode, RL = 32Ω
THD+N = 0.1%
4
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
TYPICAL PERFORMANCE CHARACTERISTICS
VDD=5V, Po=2W
BTL mode, RL=4Ω
VDD=3.3V, Po=0.8W
BTL mode, RL=4Ω
VDD=2.4V, Po=330mW
BTL mode, RL=4Ω
THD+N (%)
FREQUENCY (Hz)
THD+N vs. frequency
THD+N (%)
FREQUENCY (Hz)
THD+N vs. frequency
THD+N (%)
FREQUENCY (Hz)
THD+N vs. frequency
VDD=5V, Po=1.2W
BTL mode, RL=8Ω
VDD=3.3V, Po=0.53W
BTL mode, RL=8Ω
VDD=2.4V, Po=250mW
BTL mode, RL=8Ω
FREQUENCY (Hz)
THD+N vs. frequency
THD+N (%)
Po=25mW
VDD=3.3V, Po=35mW
SE mode, RL=32Ω
THD+N (%)
FREQUENCY (Hz)
THD+N vs. frequency
THD+N (%)
FREQUENCY (Hz)
THD+N vs. frequency
VDD=5V, Po=90mW
SE mode, RL=32Ω
REV 1.0
THD+N (%)
THD+N (%)
THD+N (%)
(Ta=25℃; unless otherwise specified)
VDD=2.4, Po=15mW
SE mode, RL=32Ω
FREQUENCY (Hz)
FREQUENCY (Hz)
FREQUENCY (Hz)
THD+N vs. frequency
THD+N vs. frequency
THD+N vs. frequency
5
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
f=20kHz
f=20kHz
f=1kHz
f=1kHz
THD+N (%)
THD+N (%)
THD+N (%)
f=20kHz
f=1kHz
f=20Hz
f=20Hz
f=20Hz
VDD=3.3V
BTL mode
RL=4Ω
VDD=5V
BTL mode
RL=4Ω
VDD=2.4V
BTL mode
RL=4Ω
OUTPUT POWER (W)
OUTPUT POWER (W)
OUTPUT POWER (W)
THD+N vs. output power
THD+N vs. output power
THD+N vs. output power
f=20kHz
f=20kHz
f=1kHz
f=1kHz
f=1kHz
THD+N (%)
THD+N (%)
THD+N (%)
f=20kHz
f=20Hz
f=20Hz
f=20Hz
VDD=5V
BTL mode
RL=8Ω
VDD=3.3V
BTL mode
RL=8Ω
VDD=2.4V
BTL mode
RL=8Ω
OUTPUT POWER (W)
OUTPUT POWER (W)
OUTPUT POWER (W)
THD+N vs. output power
THD+N vs. output power
THD+N vs. output power
f=20kHz
f=20kHz
f=1kHz
VDD=5V
SE mode
RL=32Ω
REV 1.0
f=20Hz
f=1kHz
VDD=3.3V
SE mode
RL=32Ω
THD+N (%)
f=20Hz
THD+N (%)
THD+N (%)
f=20kHz
f=20Hz
f=1kHz
VDD=2.4V
SE mode
RL=32Ω
OUTPUT POWER (W)
OUTPUT POWER (W)
OUTPUT POWER (W)
THD+N vs. output power
THD+N vs. output power
THD+N vs. output power
6
www.mosanalog.com
MS6865
3 Stereo inputs / 2W PA output with Volume Control
CHANNEL SEPARATION (dB)
CHANNEL SEPARATION (dB)
MOSA
VDD=5V, Po=1W
BTL, RL=8Ω
VDD=5V, Po=60mW
SE, RL=32Ω
FREQUENCY (Hz)
FREQUENCY (Hz)
Channel separation vs. frequency
Channel separation vs. frequency
CAP=10uF
CAP=10uF
CAP=1uF
PSRR (dB)
PSRR (dB)
CAP=1uF
VDD=5V,
VRR=200mVrms,
BTL RL=8Ω
VDD=5V,
VRR=200mVrms,
SE RL=32Ω
FREQUENCY (Hz)
FREQUENCY (Hz)
PSRR vs. frequency
PSRR vs. frequency
LPD or RPD
BTL
SE
QUIESCENT CURRENT (mA)
QUIESCENT CURRENT (mA)
All Devices activate.
BTL
SE
SUPPLY VOLTAGE (V)
SUPPLY VOLTAGE (V)
Quiescent current vs. supply voltage
Quiescent current vs. supply voltage
REV 1.0
7
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
I2C CONTROL INTERFACE
Data are transmitted to and from the MCU and MS6865 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
MS6865
I2C interface protocol
The format consists of the following:
•A START condition
•A chip address byte including the chip address. (7bits)
•The 8th bit of the byte must be “0”.(write=0, read=1)
•The chip must always acknowledge the end of each transmitted byte.
•A data sequence (N-bytes + Acknowledge)
•A STOP condition
SDA
SCL
1-7
8
9
R/W
ACK
1-7
8
9
1-7
8
9
S
P
ADDRESS
START
CONDITION
DATA
ACK
DATA
ACK
STOP
CONDITION
I2C chip address
88H
1
0
0
0
1
7 bits address
REV 1.0
0
0
0
W
8
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
I2C data bytes description
MSB
LSB
Function
0
0
B2
B1
B0
A2
A1
A0
L-ch, Attenuation and Mute
0
1
B2
B1
B0
A2
A1
A0
R-ch, Attenuation and Mute
1
0
0
G2
G1
G0
S1
S0
L-ch, Input Gain and line Selection
1
0
1
G2
G1
G0
S1
R-ch, Input Gain and line Selection
1
1
0
1
RPD
LPD
PDPR
S0
CAP
PD
0
Output mode (SE/BTL)
S/B
0
0
1
1
1
Where Ax = 1.25dB/step; Bx = 10dB/step; Gx = 3dB/step
0
Power Down Mode
Attenuation and Mute
MSB
LSB
0
0
0
1
B2
B1
B0
L-ch, Attenuation and Mute
A2
A1
A0
0
0
0
0 dB
0
0
1
-1.25 dB
0
1
0
-2.5 dB
0
1
1
-3.75 dB
1
0
0
-5 dB
1
0
1
-6.25 dB
1
1
0
-7.5 dB
1
1
1
-8.75 dB
R-ch, Attenuation and Mute
0
0
0
0 dB
0
0
1
-10 dB
0
1
0
-20 dB
0
1
1
-30 dB
1
0
0
-40 dB
1
0
1
-50 dB
1
1
0
-60 dB
1
1
1
-70 dB
1
1
1
1
Initial state: Both L-ch and R-ch are mute-on.
REV 1.0
Function
1
1
Mute
9
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
Input Selector and Input Gain
LSB
MSB
1
0
0
1
0
1
G2
G1
G0
Function
L-ch, Input Gain and line Selection
S1
S0
0
0
Line 1 (L-ch or R-ch)
0
1
Line 2 (L-ch or R-ch)
1
0
Line 3 (L-ch or R-ch)
R-ch, Input Gain and line Selection
0
0
0
0 dB
0
0
1
3 dB
0
1
0
6 dB
0
1
1
9 dB
1
0
0
12 dB
1
0
1
15 dB
1
1
0
18 dB
1
1
1
Initial state: L-ch1, R-ch1, Input gain is 0dB.
21 dB
Power Down Mode
MSB
1
1
0
1
RPD
LSB
CAP
LPD PDPR
PD
Function
Power mode selection and power management
0
R-ch PA output is active mode
1
R-ch PA output is power down mode
0
L-ch PA output is active mode
1
L-ch PA output is power down mode
0
Disable preparation for power off
1
Enable preparation for power off
0
Set the voltage of CAP to middle of supply voltage
1
Pull down CAP pin to ground
Initial state: All are the power down modes.
Enable the power down preparation before the chip will be shut down.
LPD
-1
-1
RPD
-1
-1
REV 1.0
10
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
Output mode (SE/BTL)
LSB
MSB
1
1
1
0
S/B
0
0
Function
Output mode, mixer control and audio format
0
0
Output mode is BTL
1
Initial state: Output mode is BTL mode.
Output mode is SE
I2C Initial code and status
MSB
LSB
Function
Initial status
1
L-ch, Attenuation and Mute
Mute On
R-ch, Attenuation and Mute
Mute On
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
L-ch, Input Gain and line Selection
Line1, 0dB
1
0
1
0
0
0
0
0
R-ch, Input Gain and line Selection
1
1
0
1
1
1
1
1
Power Down Mode
1
1
1
0
0
0
0
0
Output mode (SE/BTL)
Line1, 0dB
All devices are
power down
BTL
REV 1.0
1
1
1
1
1
11
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
I2C CODE EXAMPLE
Input gain
Set the left channel gain to be 3dB and the right channel gain to be 3dB
Gain
Start
MS6865 Address
ACK
1
0
0
0
0
Gain
1
0
0
ACK
1
0
L-ch1, G = 3dB
1
0
0
1
0
0
ACK
Stop
0
ACK
Stop
ACK
Stop
R-ch1, G = 3dB
The left and right input channels are independent.
Input Attenuation
Set the left channel to be -15dB and the right channel to be -30dB
-10dB
Start
MS6865 Address
ACK
0
0
0
0
-5dB
1
1
0
-30dB
0
ACK
0
1
L-ch, Att = -15dB
0
1
0dB
1
0
0
R-ch, Att = -30dB
Power down mode
Set the L-ch PA output to be active mode.
L-ch
Start
MS6865 Address
ACK
1
1
0
1
1
0
1
1
ACK
Stop
0
ACK
Stop
Left PA is active mode
Output mode
Set the output mode to be BTL mode
Output mode
Start
MS6865 Address
ACK
1
1
1
0
0
0
0
BTL mode
Input Selector
Set the left input channel to be LIN3 and the right input channel to be RIN1
L-ch
Start
MS6865 Address
ACK
1
0
CH
0
0
0
1
1
R-ch
0
L-ch3, G = 3dB
REV 1.0
ACK
1
0
CH
1
0
0
1
0
0
R-ch1, G = 3dB
12
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
OPERATION PROCEDURE
The sequence of operation: power on→ active → power down → active → power off. The basic flowcharts are as
follows:
For HP mode and HP/BTL mode
Power On
Activating
Power Down
(Shut Down)
Power Off
All the Digital Interface Signals
Pull Low
Setting Input Gain IsFixed
Volume Down To Mute
Input Channels Mute On
Volume Down To Mute
Input Channels Mute On
I2C pull low
V DD = GND
Power On
[ Enable Input & Input Gain ]
Code: Lch 100xxx00
Rch 101xxx00
[ Attenuation and Mute ]
Code: Lch 00111111 (3Fh)
Rch 01111111 (7Fh)
Disable Power Down
Power Down Preparation
V DD = Supply voltage
[ Power Down Mode ]
Code: 11010011 (D2h)
Wait 0.5 sec
[ Power Down Mode ]
Code: 11010010 (D2h)
[ Disable Input & Gain = 0dB]
Code: Lch 10000011 (83h)
Rch 10100011 (a3h)
wait 7 sec
Default Status
[Attenuation & Mute]
Mute on (max attenuation)
[ Input Selector & Input Gain ]
L-ch1, R-ch1
0dB
Power Down Preparation
[ Power Down Mode ]
Code: 11010010 (D2h)
[ Disable Input & Gain = 0dB]
Code: Lch 10000011 (83h)
Rch 10100011 (a3h)
wait 7 sec
PDPR = 0
[ Power Down Mode ]
Code: 11010000 (D0h)
Wait 0.5 sec
Power Down All The Devices
Only CAPPD Keep Activating
[ Power Down Mode ]
All power down status
[ Output Mode & Mixer & Format ]
BTL mode
[ Attenuation and Mute ]
Code: Lch 00111111 (3Fh)
Rch 01111111 (7Fh)
[ Power Down Mode ]
Code: 11011110 (DEh)
Power Down All The Devices
Pull Down CAP Pin To Ground
[ Power Down Mode ]
Code: 11011111 (DFh)
Mute Off And Volume Up/Down
Step By Step
[ Attenuation and Mute ]
Code: Lch 00xxxxxx
Rch 01xxxxxx
Keep All The Digital Interface
Signals Unchanged
All The Digital Interface Signals
Pull Low
I2C pull low
Power Off
Disconnect V DD
VDD will be fell down to 0V
REV 1.0
13
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
For BTL mode only
Power On
Activating
Power Down
(Shut Down)
Power Off
All the Digital Interface Signals
Pull Low
Setting Input Gain IsFixed
Volume Down To Mute
Input Channels Mute On
Volume Down To Mute
Input Channels Mute On
I2C pull low
V DD = GND
Power On
[ Input Gain ]
Code: Lch 100xxx00
Rch 101xxx00
[ Attenuation and Mute ]
Code: Lch 00111111 (3Fh)
Rch 01111111 (7Fh)
Disable Power Down
Pull Down CAP Pin To Ground
V DD = Supply voltage
[ Power Down Mode ]
Code: 11010000 (D0h)
Wait 0.5 sec
[ Power Down Mode ]
Code: 11010001 (D1h)
Wait 0.1 sec
[ Attenuation and Mute ]
Code: Lch 00111111 (3Fh)
Rch 01111111 (7Fh)
Pull Down CAP Pin To Ground
[ Power Down Mode ]
Code: 11010001 (D1h)
Wait 0.1 sec
Default Status
[Attenuation & Mute]
Mute on (max attenuation)
Mute Off And Volume Up/Down
Step By Step
[ Input Selector & Input Gain ]
L-ch1, R-ch1
0dB
[ Attenuation and Mute ]
Code: Lch 00xxxxxx
Rch 01xxxxxx
Power Down All The Devices
[ Power Down Mode ]
Code: 11011111 (DFh)
Power Down All The Devices
[ Power Down Mode ]
Code: 11011111 (DFh)
[ Power Down Mode ]
All power down status
[ Output Mode & Mixer & Format ]
BTL mode
Keep All The Digital Interface
Signals Unchanged
All The Digital Interface Signals
Pull Low
I2C pull low
Power Off
Disconnect V DD
VDD will be fell down to 0V
REV 1.0
14
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
APPLICATION INFORMATION
A base application circuit
MS6865
2.4~5.5V
Supply
15
1uF
0.1uF
4.7uF
MCU
6
2
AVDD
AVSS
CAP
20
SCL
19
SDA
1
VSS
PVDDL
PVSSL
14
11
PVSSR
10
PVDDR
7
2.4~5.5V
Power Amplifier Supply
1uF
1uF
VDD
100k
100k
MCU
HP_sense
1uF
10uF
L channel
100uF
18
LIN1
17
LIN2
16
LIN3
3
RIN1
4
RIN2
5
RIN3
OUTL-
13
OUTL+
12
OUTR-
8
OUTR+
9
RL
8Ω
10uF
R channel
1k
Headphone Jack
100uF
RL
8Ω
1k
Output mode operation -- SE mode and BTL mode
The output has two modes, SE mode and BTL mode. The mode is selected by I2C code via MCU.
In BTL mode, the outputs of A1(B1) and A2(B2) are then used to drive the speakers(4Ω/8Ω).
A1
OUTR-
-1
RL
4Ω / 8Ω
A2
OUTR+
-1
B1
OUTL-
-1
RL
4Ω / 8Ω
B2
OUTL+
-1
I2C
Interface
SCL SDA
REV 1.0
15
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
In the SE mode, the amplifiers A2 and B2 are shutdown, and become the high output impedance states.
Headphone
Jack
A1
OUTR-
-1
100uF
RL
16Ω / 32Ω
1k
A2
Shutdown
-1
B1
100uF
OUTL-
-1
1k
B2
-1
Shutdown
I2C
Interface
SCL SDA
Headphone sense
The output mode is SE or BTL that is decided by a headphone. It has to be set SE mode when a headphone is plug-in
status. The output mode is selected by I2C command code by MCU. Please note that the MS6865 don’t detect a
headphone automatically. Thus a detect function is executed via MCU. An operation diagram is shown as follows:
VDD
MS6865
100k
SCL
100k
MCU
SDA
1uF
HP_sense
100uF
OUTLOUTL+
RL
8Ω
1k
Headphone Jack
100uF
OUTROUTR+
RL
8Ω
1k
The HP_sense pin is high when a headphone is plug-in.
The HP_sense pin is low when a headphone is not plug-in.
Thermal pad considerations
The thermal pad must be connected to ground. The package with thermal pad of the MS6865 requires the special
attention on thermal design. The thermal pad on the bottom of the MS6865 should be soldered down to a copper pad on
the circuit board. Heat can be conducted away from the thermal pad through the copper plane to ambient. If the copper
plane is not on the top surface of the circuit board, 9 vias of 13 mil or smaller in diameter should be used to thermally
couple the thermal pad to the bottom plane. For good thermal conduction, the vias must be plated through and solder
filled.
REV 1.0
16
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
EXTERNAL DIMENSIONS
TSSOP20 (Thermal Pad)
D
D2
Detail A
E2
E1 E
C
A2
A
θ
A1
B
e
L
y
Dimension in mm
Dimension in inches
Symbol
Min
Nom
Max
Min
Nom
Max
A
0.80
-
1.15
0.031
-
0.045
A1
0.00
-
0.10
0.000
-
0.004
A2
0.80
1.00
1.05
0.031
0.039
0.041
0.012
b
0.19
-
0.30
0.007
-
C
0.09
-
0.20
0.004
-
0.008
D
6.40
6.50
6.60
0.252
0.256
0.260
D2
3.70
3.80
3.90
0.146
0.150
0.154
E
6.20
6.40
6.60
0.244
0.252
0.260
E1
4.30
4.40
4.50
0.169
0.173
0.177
E2
2.70
2.80
2.90
0.106
0.110
0.114
e
REV 1.0
0.650 BASIC
0.026 BASIC
L
0.45
0.60
0.75
θ
0
-
8
0
-
8
y
-
-
0.10
-
-
0.004
o
0.018
o
o
17
0.024
0.030
o
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
DEMO BOARD
1
2
6
3
4
5
Function description
Label 1: Supply Input
Supply voltage range is 2.4V to 5.5V.
Label 2: Headphone Jack
Used 3.5mm diameter of headphone with 32ohm
Label 3: Speaker Output
Connected to speaker with 8ohm or 4 ohm
Label 4: Signal Input
Connected to audio signals.
Label 5: Reset
All I/O pins are reset to default values.
Label 6: LED Indicator
The LEDs indicate the chip status and IR received status.
Power ON status, it is red-dark blink twice and then keeps on a light state.
Power OFF status, it is red-dark blink four times and then keeps on a dark state.
It is red-dark blink once when the MCU has received the function code correctly.
SE mode and BTL mode operation
The headphone controls operational mode. System enters SE mode when headphone jack is empty.
When a set of headphone plugged into the jack, the system switched to BTL mode.
REV 1.0
18
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
IR Controller
Power ON/OFF : The power key.
Press the key once to set power-on or power-off for MS6865.
The default values are GAIN 0dB, ATTENUATION –20dB and MUTE-ON.
VOL+, VOL- : The volume control keys.
The volume control in 1.25dB/step as the switch is pressed once, the range is -78.75dB to 0dB.
Gain+, Gain- : The gain control keys.
The gain control in 3dB/step as the switch is pressed once, the range is 0dB to 21dB.
PD/Active : The power down key.
Press the key once to set power-down or activation for MS6865.
Mute : The mute key
Press the key once to set mute-on or mute-off.
IN1~IN3 : Stereo input channel selection
There are three sets, stereo 1 to 3. The default channel is stereo 1 on initial status.
REV 1.0
19
www.mosanalog.com
MS6865
MOSA
3 Stereo inputs / 2W PA output with Volume Control
Circuit
J1
DVCC
R1
1
2
+
DVCC
C3
0.1u
+
S1
+ C2
10u
C4
1u
10K
20P
C7
20P
2
+
C6
Y1
24M
DGND
Q2
J2
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
AT89C4051
1
47u
2
IR_IN
20
19
18
17
16
15
14
13
12
11
R7
1
C8
NMOS
AVDD
IN1
D1
IN2
D2
IN3
D3
3
VS
GND
IR
IR
+ C5
470P
DGND
100K
+
2
1
2
U1
1
2
3
4
5
IR_IN 6
7
SCL
SDA 8
HP_IN 9
10
Q1
C1 +
3
+
1
W1
JUMP
R2
10K
R4 R5 R3
1K 1K 1K
RST
R6
220
+
AVDD
C9
0.1u
1u
+
R8
C10
1u
100K
U2
J3
+
1
2
3
C13
C14
10u
10u
R11
R12
1K
1K
C15
SP1
10u
C16
SPK_R
+
10u
+
R13
R14
1K
1K
C20
10u
Vss
CAP
INR1
INR2
INR3
AVss
PVDDR
OUTROUTR+
PVSSR
MS6865
C19
100u
SCL
SDA
INL1
INL2
INL3
AVDD
PVDDL
OUTLOUTL+
PVSSL
20 SCL
19 SDA
18
17
16
15
14 AVDD
13
12
11
+
C17
1u
SP2
SPK_L
+
C18
100u
+
IN3
R
L
G
1K
1K
+
J5
R9
R10
1
2
3
4
5
6
7
8
9
10
C12 1u
+
IN2
R
L
G
1
2
3
10u
+
J4
C11
+
IN1
R
L
G
1
2
3
R15
1K
R16
1K
1
2
3
4
5
6
HP-IN
HP-R
R
HP-L
L
G
HEADPHONE
J7
1
2
3
OUT
W2
Jumper
AGND
REV 1.0
AGND
DGND
20
www.mosanalog.com