MOSA MS6715 1 Stereo Input / 2 Channels Output Audio Processor 1 Stereo Input and 2 Channels Output Volume, Tone, Balance, Loudness Function FEATURES APPLICATIONS ‧Operation range : 2.7V~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, PT2315 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 Bass Treble OUT_L 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 REV1.0 7 LOUD_R 15 14 BOUT_R BIN_R 1 5 TREB_R www.mosanalog.com MOSA MS6715 1 Stereo Input / 2 Channels Output Audio Processor PIN CONFIGURATION Symbol REF VDD AGND TREB_L TREB_R RIN LOUD_R NC LOUD_L NC LIN BIN_L BOUT_L BIN_R BOUT_R OUT_R OUT_L DGND SDA SCL Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Description Analog Reference Voltage(1/2VDD) Supply Input Voltage Analog Ground Left Channel Input for Treble Controller Right Channel Input for Treble Controller Right Channel Input Right Channel Loudness Input No Connected Left Channel Loudness Input No Connected Left Channel Input Left Bass Controller Input Channel Left Bass Controller Output Channel Right Bass Controller Input Channel Right Bass Controller Output Channel Right Speaker Output Left Speaker Output Digital Ground I2C Data Input I2C Clock Input REF 1 20 SCL VDD 2 19 SDA AGND 3 18 DGND TREB_L 4 17 OUT_L TREB_R 5 MS6715 RIN 6 16 OUT_R 15 BOUT_R LOUD_R 7 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 Parameter Rating Unit 6 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 REV1.0 2 www.mosanalog.com MOSA MS6715 1 Stereo Input / 2 Channels Output Audio Processor OPERATING RATINGS Symbol VDD Parameter Supply Voltage Min Typ Max Unit 2.7 - 5.5 V 5V ELECTRICAL CHARACTERISTICS (Ta=25℃, All stages 0dB, f=1kHz, CREF =22uF, refer to the application circuit; unless otherwise specified) Symbol Parameter 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 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 -1 0 0.5 dB Av = -40 to -60dB -5 0 1 dB -37.5 - 0 dB - 1.25 - dB 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 34 44 58 dB kΩ -14 - 14 dB - 2 - dB -0.3 0 0.1 dB - 4.5 - Vpp - -75 0.0177 97 - dB % dB 93 97 - dB Bass Control CRBAS Bass Control Range RESBAS Bass Step Resolution ERRBAS Speaker Setting Error RB Internal Feedback Resistance B 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% THD+N Total Harmonic Distortion Plus Noise VOUT=2Vpp S/N Signal-to-Noise Ratio VOUT=4Vpp CS Channel Separation Left/Right General Bus Input VIH Bus High Input Level 2 - - V VIL Bus Low Input Level - - 0.8 V Notes: Bass and Treble response see to curve. The center frequency and quality of the response behavior can be chosen by the external. REV1.0 3 www.mosanalog.com MOSA MS6715 1 Stereo Input / 2 Channels Output Audio Processor 2.7V ELECTRICAL CHARACTERISTICS (Ta=25℃, All stages 0dB, f=1kHz, CREF =22uF, refer to the application circuit; unless otherwise specified) Symbol Parameter 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 -50 - Vpp 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 REV1.0 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 www.mosanalog.com MOSA MS6715 1 Stereo Input / 2 Channels Output Audio Processor VDD=2.7V VO=2Vpp THD+N (%) THD+N (%) THD+N (%) f=1kHz f=20kHz f=20Hz f=20kHz f=1kHz VDD=5V VO=2Vpp 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 REV1.0 f=20Hz CAP=10uF VDD=2.7V VRR=-20dBV FREQUENCY (Hz) FREQUENCY (Hz) PSRR vs. Frequency PSRR vs. Frequency 5 www.mosanalog.com MOSA MS6715 1 Stereo Input / 2 Channels 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 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. REV1.0 6 www.mosanalog.com MOSA MS6715 1 Stereo Input / 2 Channels 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 REV1.0 MS6715 7 www.mosanalog.com MOSA MS6715 1 Stereo Input / 2 Channels 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 REV1.0 8 www.mosanalog.com MOSA MS6715 1 Stereo Input / 2 Channels 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. REV1.0 9 www.mosanalog.com MOSA MS6715 1 Stereo Input / 2 Channels 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. REV1.0 10 www.mosanalog.com MOSA MS6715 1 Stereo Input / 2 Channels 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 1 0 1 0 ACK Stop -10dB Treble REV1.0 0 11 www.mosanalog.com MOSA MS6715 1 Stereo Input / 2 Channels Output Audio Processor APPLICATION INFORMATION Basic Application Example 5.6K MCU 18 9 12 2.7n 4 TREB_L BIN_L BOUT_L 10u OUT_L LIN 10u RIN OUT_R 2.2u 22u 15 100n 14 100n OUTPUT 16 TREB_R 7 1 BIN_R BOUT_R LOUD_R 3 REF AGND AVDD 2 AVDD 17 MS6715 INPUT 6 13 LOUD_L SCL 11 SDA DGND 2.2u 19 100n 100n 100n 20 100n 5 2.7n 5.6K REV1.0 12 www.mosanalog.com MOSA MS6715 1 Stereo Input / 2 Channels 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 0 8 0 8o 0o 0o 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 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 REV1.0 13 L www.mosanalog.com