MS6712 MOSA | Alldatasheet

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 17

Technical content

4 Stereo Inputs / 4-Channel Outputs Audio Processor

REV1.0 1 www.mosanalog.com

4 Stereo Inputs and 4-Channel Outputs

Volume, Tone, Balance, Fader, Loudness, and Selectable Input Gain

FEATURES

  • Operation range : 2.7V~5V
  • 4 stereo inputs with selectable input gain
  • 4 independent speaker controls for fader and balance
  • Tone controls (treble and bass) and loudness function
  • Independent mute function
  • Volume control in 1.25 dB/step
  • I2 C interface
  • Components less and good PSRR
  • Housed in SOP32 packages

APPLICATIONS

  • Portable audio device
  • Car stereo audio
  • Hi-Fi audio system
  • Cross-reference: PT2312

DESCRIPTION

The MS6712 is a 4 stereo inputs/4-channel outputs digital control audio processor for the low voltage operation. Volume, tone (bass and treble), balance (left/right), and fader (front/rear) processor are incorporated into a single chip. The MS6712 also has the loudness function and selectable input gain. These functions can be built a Hi-Fi audio system easily. All functions are programmable via the serial I 2 C 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 input stage, the bass and the treble are 0dB. BLOCK DIAGRAM RIN2 RIN1 Treble Bass Volume & Londness Volume & Londness Bass Treble LIN1 LIN2 LIN3 RIN3 REF RB RB Input Selector &Gain Control LOUD_R ROUT RIN TREB_R BOUT_R BIN_R LOUD_L LOUT LIN TREB_L BOUT_L BIN_L 1 8 9 15 23 24 25 20 21 22 Mute OUT_LF OUT_LR OUT_RF OUT_RR SCL SDA DGND 30 Supply AVDD AGND 2 3 Serial Bus Decoder and Latches Mute Speaker ATT Mute Speaker ATT Speaker ATT Mute Speaker ATT LIN4 16 RIN4 10

REV1.0 2 www.mosanalog.com PIN CONFIGURATION Symbol Pin Description REF 1 Analog Reference Voltage (1/2VDD ) VDD 2 Supply Input Voltage AGND 3 Analog Ground NC 4 No connected TREB_L 5 Left Channel Input for Treble Controller TREB_R 6 Right Channel Input for Treble Controller RIN 7 Audio Processor Right Channel Input ROUT 8 Gain Output and Input Selector for Right Channel LOUD_R 9 Right Channel Loudness Input RIN4 10 Right Channel Input 4 RIN3 11 Right Channel Input 3 RIN2 12 Right Channel Input 2 RIN1 13 Right Channel Input 1 NC 14 No connected LOUD_L 15 Left Channel Loudness Input LIN4 16 Left Channel Input 4 LIN3 17 Left Channel Input 3 LIN2 18 Left Channel Input 2 LIN1 19 Left Channel Input 1 LIN 20 Audio Processor Left Channel Input LOUT 21 Gain Output and Input Selector for Left Channel BIN_L 22 Left Bass Controller Input Channel BOUT_L 23 Left Bass Controller Output Channel BIN_R 24 Right Bass Controller Input Channel BOUT_R 25 Right Bass Controller Output Channel OUT_RR 26 Right Rear Speaker Output OUT_LR 27 Left Rear Speaker Output OUT_RF 28 Right Front Speaker Output OUT_LF 29 Left Front Speaker Output DGND 30 Digital Ground SDA 31 I 2 C Data Input SCL 32 I 2 C Clock Input BIN_L LOUT LIN LIN1

1 SCL

OUT_LF REF VDD AGND OUT_RF OUT_LR OUT_RR BOUT_R BIN_R BOUT_L MS6712 LIN4 TREB_L LOUD_R ROUT RIN TREB_R NC NC RIN1 RIN2 RIN3 RIN4 LOUD_L LIN2 LIN3 SOP32

REV1.0 3 www.mosanalog.com

ORDERING INFORMATION

Package Part number Packaging Marking Transport Media 32-Pin SOP (lead free) MS6712GTR MS6712G 1k Units T ape and Reel 32-Pin SOP (lead free) MS6712GU MS6712G 23 Units Tu be RoHS Compliance ABSOLUTE MAXIMUM RATINGS Symbol Parameter Rating Unit VDD Supply Voltage 6 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 SOP32 SSOP32 210 210 ℃/W OPERATING RATINGS Symbol Parameter Min Typ Max Unit VDD Supply Voltage 2.7 - 5.5 V

REV1.0 4 www.mosanalog.com 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 Supply IQ Quiescent Current V IN =0V - 12.2 12.5 mA PSRR Power Supply Rejection Ratio CREF = 22uF, f = 100Hz 55 60 - dB Input Selectors RIN Input Resistance Input 1,2,3,4 35 50 70 kΩ GIN Input Gain Range Gain 0 - 11.25 dB GSTEP Step Resolution - 3.75 - dB ERR G Gain Setting error -0.2 0 0.2 dB LOUD Loudness C Loud =100nF, f =20Hz Volume=-40dB 19 20 - dB Volume control CR VOL Volume Control Range Attenuation -78.75 - 0 dB RES VOL Volume Step Resolution - 1.25 - dB Av = 0 to -40dB -0.5 0 1 dB ERR VOL Volume Setting Error Av = -40 to -60dB -1 0 5 dB Speaker Attenuators CR SPK Speaker Control Range Attenuation -37.5 - 0 dB RES SPK Speaker Step Resolution - 1.25 - dB ERR SPK Speaker Setting Error -0.2 0 0.1 dB MUTE Output Mute Attenuation - -65 -60 dB Bass Control CR TRE Bass Control Range Boost/Cut -14 - 14 dB RES TRE Bass Step Resolution - 2 - dB ERR TRE Bass Setting Error f =100Hz -0.3 0 0.1 dB RB Internal Feedback Resistance 34 44 58 kΩ Treble Control CR BAS Treble Control Range Boost/Cut -14 - 14 dB RES BAS Treble Step Resolution - 2 - dB ERR BAS Treble Setting Error f =20kHz -0.3 0 0.1 dB General VO MAX Maximum Output Voltage Swing (THD+N)/S <0.3% 4.3 - - Vpp - -75 - dB THD+N Total Harmonic Distortion Plus Noise V OUT =2Vpp - 0.0177 - % S/N Signal-to-Noise Ratio V OUT =4Vpp - 97 - dB CS Channel Separation Left/Right 93 97 - dB 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 5 www.mosanalog.com 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 V IN =0V - 8.7 9 mA PSRR Power Supply Rejection Ratio CREF = 22uF, f = 100Hz 53 58 - dB General VO MAX Maximum Output Voltage Swing (THD+N)/S <0.3% - 2.5 - Vpp - -50 - dB THD+N Total Harmonic Distortion Plus Noise V OUT =2Vpp - 0.3 - % S/N Signal-to-Noise Ratio V OUT =2.5Vpp 90 94 - dB CS Channel Separation Left/Right 90 94 - dB TYPICAL PERFORMANCE CHARACTERISTICS (Ta=25 ℃, All stages 0dB, f=1kHz, CREF =22uF, refer to the application circuit; unless otherwise specified) Loud (dB) VOLUME (dB) Loud (dB) FREQUENCY (Hz) Loud (dB) FREQUENCY (Hz) Loudness vs. Volume Loudness vs. Frequency vs. Volume Loudness vs. External Capacitors Tone (dB) FREQUENCY (Hz) CHANNEL SEPARATION (dB) FREQUENCY (Hz) QUIESCENT CURRENT (mA) SUPPLY VOLTAGE (V) Typical Tone Response Channel Separation vs. Frequency Quiescent Current vs. Supply Voltage VDD =5V CLOUD = 100nF 220nF OPEN VDD =5V VIN =0dBV VDD =5V Treble=Bass= -14~14dB VDD =5V VDD =5V Volume=-40dB 56nF 100nF Loudness OFF 33nF 10nF VDD =2.7V VIN =-3dBV

REV1.0 6 www.mosanalog.com THD+N (%) FREQUENCY (Hz) THD+N (%) OUTPUT VOLTAGE (dBV) THD+N (%) OUTPUT VOLTAGE (dBV) THD+N vs. Frequency THD+N vs. Output Voltage THD+N vs. Output Voltage PSRR (dB) FREQUENCY (Hz) PSRR (dB) FREQUENCY (Hz) PSRR vs. Frequency PSRR vs. Frequency VDD =5V VO=2Vpp VDD =5V f=1kHz f=20Hz f=20kHz VDD =2.7V VO=2Vpp VDD =2.7V f=1kHz f=20Hz f=20kHz CAP=22uF CAP=10uF VDD =5V VRR =-20dBV CAP=22uF CAP=10uF VDD =2.7V VRR =-20dBV

REV1.0 7 www.mosanalog.com 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. SDA SCL 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 SDA MSB Acknowledge 1 2 3 7 8 9 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 (9 th ) clock pulse. In this case, the master transmitter can generate the STOP information in order to abort the transfer.

REV1.0 8 www.mosanalog.com Timing of SDA and SCL Bus Lines tf S tLOW tHD;STA tr tHD;DAT tSU;DAT tf tHIGH tHD;STA tSU;STA Sr SP tSP tSU;STO tr tBUF SDA SCL Standard Mode Symbol Parameter Min Max Unit fSCL SCL clock frequency 0 100 kHz tHD:STA Hold time (repeated) START condition. After this period, the first clock pulse is generated 4.0 - us tLOW LOW period of the SCL clock 4.7 - us tHIGH HIGH period of the SCL clock 4.0 - us tSU:STA Set-up time for a repeated START condition 4.7 - us tHD:DAT Data hold time: For I 2 C-bus devices 0 3.45 us tSU:DAT 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 C b Capacitive load for each bus line - 400 pF VnL Noise margin at the LOW level for each connected dev ice (including hysteresis) 0.1V DD - V VnH Noise margin at the HIGH level for each connected device (including hysteresis) 0.2V DD - V BUS INTERFACE Data are transmitted to and from the MCU to the MS6712 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. SDA (Serial Data Line) Rp Rp SCL (Serial Clock Line) Pull up resistors VDD MCU MS6712

REV1.0 9 www.mosanalog.com Interface Protocol The format consists of the following

  • A START condition
  • A chip address byte including the MS6712 address. (7bits)
  • The 8 th bit of the byte must be “0”.(write=0, read=1)
  • MS6712 must always acknowledge the end of each transmitted byte.
  • A data sequence (N-bytes + Acknowledge)
  • A STOP condition SCL SDA 1-7 8 9 1-7 8 9 981-7 S P ADDRESS R /W-- ACK ACK ACK DATA DATA START CONDITION STOP CONDITION Address Code The chip address of the MS6712 is 88H. 1 0 0 0 0 01 0 7 bits address MS6712 address W 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 input stage, the bass and the treble are 0dB. MSB LSB Function 0 0 B2 B1 B0 A2 A1 A0 Volume Control 1 1 0 B1 B0 A2 A1 A0 Speaker ATT LR 1 1 1 B1 B0 A2 A1 A0 Speaker ATT RR 1 0 0 B1 B0 A2 A1 A0 Speaker ATT LF 1 0 1 B1 B0 A2 A1 A0 Speaker ATT RF 0 1 0 G1 G0 L S1 S0 Audio Switch 0 1 1 0 C3 C2 C1 C0 Bass Control 0 1 1 1 C3 C2 C1 C0 Treble Control Where Ax = 1.25dB/step; Bx = 10dB/step; Cx = 2dB/step; Gx = 3.75dB/step

REV1.0 10 www.mosanalog.com Volume MSB LSB Function 0 0 B2 B1 B0 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 0 0 B2 B1 B0 A2 A1 A0 Volume 10dB steps 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 1 0 0 B1 B0 A2 A1 A0 Speaker LF 1 0 1 B1 B0 A2 A1 A0 Speaker RF 1 1 0 B1 B0 A2 A1 A0 Speaker LR 1 1 1 B1 B0 A2 A1 A0 Speaker RR 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 LF: Left Front, RF: Right Front, LR: Left Rear, RR: Right Rear The default state is mute.

REV1.0 11 www.mosanalog.com Audio Switch MSB LSB Function 0 1 0 G1 G0 L S1 S0 Audio Switch 0 0 Stereo 1 0 1 Stereo 2 1 0 Stereo 3 1 1 Stereo 4

0 Loudness ON

1 Loudness OFF

0 0 +11.25dB 0 1 +7.5dB 1 0 +3.75dB 1 1 0dB The default state is stereo 4, loudness off and gain 0dB. Bass and Treble MSB 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 1 1 1 0 1 1 1 0 2 1 1 0 1 4 1 1 0 0 6 1 0 1 1 8 1 0 1 0 10 1 0 0 1 12 1 0 0 0 14 The default state is bass 0dB and treble 0dB.

REV1.0 12 www.mosanalog.com Examples Set Volume at –37.5dB. MSB ACK Start 0 0 0 1 1 01 1MS6712 Address LSB Stop ACK -30dB -7.5dB Data byte Volume Set Speaker RF at –30dB. MSB ACK Start 1 0 1 1 0 01 0MS6712 Address LSB Stop ACK -30dB 0dB Speaker RF Data byte Set Speaker RR in mute-on. MSB ACK Start 1 1 1 1 1 1 1 1MS6712 Address LSB Stop ACK Speaker RR Mute Data byte Set Stereo 2 Input with gain of +7.5 dB and Loudness on. MSB ACK Start 0 1 0 0 0 11 0MS6712 Address LSB Stop ACK +7.5dB Stereo 2 Loudness ON Data byte Set Treble at -10dB. MSB ACK Start 0 1 1 1 1 00 0MS6712 Address LSB Stop ACK Treble -10dB Data byte

REV1.0 13 www.mosanalog.com

APPLICATION INFORMATION

LOUD_R ROUT RIN TREB_R BOUT_R BIN_R LOUD_L LOUT LIN TREB_L BOUT_L BIN_L 12 3 8 7 30 31 32 SCL DGND 21 20 15 2.2u 2.2u AVDD 22u 100n 100n 100n 5.6K 2.7n 100n 5.6K 100n 100n 2.7n RIN2 RIN1 LIN1 LIN2 LIN3 RIN3 2.2u INPUT LIN4 RIN4 2.2u OUT_LF OUT_RF OUT_LR OUT_RR 10u 10u 10u 10u OUTPUT

REV1.0 14 www.mosanalog.com EXTERNAL DIMENSIONS SOP32 (300mil) H h x 45 C Detail A 0.25 mm Detail A L θθ θθ E e B A D Dimension in mm Dimension in inch Symbol Min Max Min Max A 2.35 2.65 0.0926 0.1043 A1 0.10 0.30 0.0040 0.0118 B 0.33 0.51 0.013 0.020 C 0.23 0.32 0.0091 0.0125 e 1.27 BASIC 0.050 BASIC E 7.40 7.60 0.2914 0.2992 H 10.00 10.65 0.394 0.419 L 0.40 1.27 0.016 0.050 D 20.32 20.73 0.800 0.816 h 0.25 0.75 0.010 0.029 θ 0o 8 o 0 o 8 o

REV1.0 15 www.mosanalog.com DEMO BOARD The demo board used IR technique controller to control the MS6712. The default states of demo board are Stereo 4, Input Gain 0dB, Volume –20dB, Attenuator Speakers 0dB, Loudness Off, Bass 0dB and Treble 0dB. Label 1: Supply Voltage The AVDD and DVDD should be the same supply voltage, the supply range is 2.7~5.5 VDC. Label 2: LED Indicator The LEDs indicate stereo input channel , IR received status and power status. It is red-dark blink once when the MCU has received the function code correctly. Label 3: Output Section There are four output channels in the section that divide into front output and rear output. Please connected to a post- power-amplifier, as active speaker. Label 4: Input Section There are four stereo inputs in the section. Please input stereo audio signal, as music or sine wave. Label 5: MCU Reset The MS6712 will be loaded the default values by MCU. The default states are Stereo 4, Input Gain 0dB, Volume –20dB, Attenuator Speakers 0dB, Loudness Off, Bass 0dB and Treble 0dB. The stereo 4 is connected internally, but not available on pins. 2 3

REV1.0 16 www.mosanalog.com IR Controller IN1, IN2, IN3, IN4 : Select Stereo Input. IN1, 2, 3, 4 represents Stereo Input 1, 2, 3, 4. The active input will be indicated by the LEDs. VOL+, VOL- : The volume control keys. The volume control in 1.5dB/step as the switch is pressed once, the range is –79dB to 0dB. LF-speaker , RF-speaker, LR-speaker, and RR-speaker are synchronic action. Gain+, Gain- : The gain control keys for stereo input. The gain control in 3.75dB/step as the switch is pressed once, the range is 0dB to 11.25dB. LF+, LF- : The attenuation control keys for Left-Front speaker. The attenuation in 1.25dB/step as the switch is pressed once, the range is -37.5dB to 0dB. RF+, RF- : The attenuation control keys for Right-Front speaker. The attenuation in 1.25dB/step as the switch is pressed once, the range is -37.5dB to 0dB. LR+, LR- : The attenuation control keys for Left-Rear speaker. The attenuation in 1.25dB/step as the switch is pressed once, the range is -37.5dB to 0dB. RR+, RR- : The attenuation control keys for Right-Rear speaker. 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 output speaker outputs Press the key once to set mute-on or mute-off for four speaker outputs.

REV1.0 17 www.mosanalog.com Circuit 12M RST 1 P3.0 2 P3.1 3 XTAL2 4 XTAL1 5 P3.2 6 P3.3 7 P3.4 8 P3.5 9 GND 10 Vcc 20 P1.7 19 P1.6 18 P1.5 17 P1.4 16 P1.3 15 P1.2 14 P1.1 13 P1.0 12 P3.7 11 AT89X51 DVCC 10K RST IR_IN + C3 10u 20P 20P DVCC VS 3 IR 1 GND 2 IR 10K + C5 470p +C2 47u IR_IN 220 SDA SCL J5 AVDD +C13 10u +C14 10u +C15 10u +C16 10u +C17 10u +C18 10u C27 22u C19 2.2u C8 10u + C11 10u +C25 10u +C24 10u +C26 2.2u 5.6K 5.6K +C23 0.1u +C22 0.1u +C21 0.1u +C20 0.1u + C31 0.1u C30 0.1u C29 2.7n C28 2.7n + C9 0.1u SDA SCL AVDD Jumper FRONT_OUT J11 IN1 IN4 IN3 J10 IN2 J7 INPUT LCD RX TX RX TX C10 0.1u 0.1u + C1 10u C12 10u Power REF 1 VDD 2 AGND 3 TREB_L 5 TREB_R 6 RIN 7 ROUT 8 LOUD_R 9 RIN4 10 RIN3 11 RIN2 12 NC 14 LOUD_L 15 LIN4 16 LIN3 17 LIN2 18 LIN1 19 LIN 20 LOUT 21 BIN_L 22 BOUT_L 23 BIN_R 24 BOUT_R 25 RROUT 26 LROUT 27 RFOUT 28 CODE 4 RIN1 13 LFOUT 29 DGND 30 SDA 31 SCL 32 U2 MS6712 C32 10u + C33 10u J12 REAR_OUT J4 OUT