MS6257 ETC | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 11
Technical content
GAIN AND ATTENUATION VOLUM E CONTROLLER IC REV 1 1 www.mosanalog.com.tw Gain and Attenuation Volume Controller IC One Set of Stereo Input, Low voltage Gain and Attenuation 15~-79dB
FEATURES
‧Operation range: 2.7V~5.5V ‧Low power consumption ‧Gain/Attenuation: 15dB to –79dB at 1dB/step ‧Housed in 8 pin SOP package ‧I2C interface
APPLICATIONS
‧Multimedia system ‧Hi-Fi audio system ‧MP3, PDA ‧Cross-reference PT2257, PT2259
DESCRIPTION
The MS6257 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 MS6257 provide an I2C control interface with gain / attenuation range of 15dB to –79dB, 1dB/step. The initial condition is set to be maximum attenuation –79dB and mute on mode when the power is up. PIN CONFIGURATION Symbol Pin Description L-IN 1 Left channel input L-OUT 2 Left channel output VSS 3 Ground SDA 4 I2C data input SCL 5 I2C clock input VDD 6 Positive supply voltage R-OUT 7 Right channel output R-IN 8 Right channel input MS6257 R-IN R-OUT VDD SCL L-IN L-OUT VSS SDA BLOCK DIAGRAM R-IN REF SDA SCL R-OUT L-OUT I2C Interface -10dB/STEP-1dB/STEP1dB/STEP Serial Bus Decoder and Latches Reference Circuit 1dB/STEP -1dB/STEP -10dB/STEPL-IN
GAIN AND ATTENUATION VOLUM E CONTROLLER IC REV 1 2 www.mosanalog.com.tw
ORDERING INFORMATION
Package Part number Packaging Marking Transport Media 8-Pin SOP MS6257TR MS6257 2.5k Units Tape and Reel 8-Pin SOP MS6257U MS6257 100 Units Tube 8-Pin SOP (lead free) MS6257GTR MS6257G 2.5k Units Tape and Reel 8-Pin SOP (lead free) MS6257GU MS6257G 100 Units Tube ABSOLUTE MAXIMUM RATINGS Symbol Parameter Rating Unit VDD Supply Voltage 6 V VESD Electrostatic Handling -4500 to 4500 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 SOP8 210 Ċ/W OPERATING RATINGS Symbol Parameter Min Typ Max Unit VDD Supply Voltage 2.7 - 5.5 V
GAIN AND ATTENUATION VOLUM E CONTROLLER IC REV 1 3 www.mosanalog.com.tw 5V ELECTRICAL CHARACTERISTICS (VDD=5.0V, VSS=0V, Attenuation=0dB, Gain=0dB, f=1KHz, VO=0dBV; unless otherwise specified) Symbol Parameter Conditions Min Typ Max Unit DC Characteristics IQ Quiescent current - 3.1 3.5 mA Max gain - 15 - dB AGA Gain/Attenuation Max attenuation - -79 - dB ASTEP Gain/Attenuation step - 1 - dB EGA Gain/Attenuation step error - 0.3 - dB EIGA Interchannel gin/attenuation error - 0.3 - dB CS Channel separation 120 130 - dB MUTE Mute Attenuation Vin=0dBV - 85 - dB Rin Input Impedance 18 20 - kƸ Rout Output Impedance - 50 100 Ƹ AC Characteristics Vo Maximum output voltage swing (THD+N)/S < 0.1% - 4.8 - Vpp THD+N Total harmonic distortion plus noise - -68 -63 dB S/N Signal-to-noise ratio VO=4.5Vpp 95 100 - dB Bus Characteristics VIH Bus high input level - - 0.7VDD V VIL Bus low input level 0.3VDD - - V 3.3V ELECTRICAL CHARACTERISTICS (VDD=3.3V, VSS=0V, Attenuation=0dB, Gain=0dB, f=1KHz, VO=-3dBV; unless otherwise specified) Symbol Parameter Conditions Min Typ Max Unit DC Characteristics IQ Quiescent current - 2.8 3.3 mA CS Channel separation 90 110 - dB MUTE Mute Attenuation Vin=-3dBV - 80 - dB AC Characteristics Vo Maximum output voltage swing (THD+N)/S < 0.1% - 3 - Vpp THD+N Total harmonic distortion plus noise - -63 -58 dB S/N Signal-to-noise ratio 85 90 - dB
GAIN AND ATTENUATION VOLUM E CONTROLLER IC REV 1 4 www.mosanalog.com.tw 2.7V ELECTRICAL CHARACTERISTICS (VDD=2.7V, VSS=0V, Attenuation=0dB, Gain=0dB, f=1KHz, VO=-3dBV; unless otherwise specified) Symbol Parameter Conditions Min Typ Max Unit DC Characteristics IQ Quiescent current - 2.5 2.9 mA CS Channel separation 95 105 - dB MUTE Mute Attenuation Vin=-3dBV - 80 - dB AC Characteristics Vo Maximum output voltage swing (THD+N)/S < 0.3% - 2 - Vpp THD+N Total harmonic distortion plus noise - -60 -55 dB S/N Signal-to-noise ratio 85 90 - dB TYPICAL PERFORMANCE CHARACTERISTICS (Ta=25Ċ, RL=32Ω; unless otherwise specified) THD+N (%) OUTPUT VOLTAGE (dBV) THD+N (%) OUTPUT VOLTAGE (dBV) THD+N (%) OUTPUT VOLTAGE (dBV) THD+N vs. output voltage THD+N vs. output voltage THD+N vs. output voltage f=20Hz f=20Hzf=20Hz f=1kHzf=20kHz f=20kHzf=1kHz f=1kHz f=20kHz VDD=5V VDD=2.7VVDD=3.3V THD+N (%) FREQUENCY (Hz) CHANNEL SEPARATION (dB) FREQUENCY (Hz) QUIESCENT CURRENT (mA) SUPPLY VOLTAGE (V) THD+N vs. frequency Channel separation vs. frequency Quiescent current vs. supply voltage VDD=5V VO=0dBVVDD=3.3V VO=-3dBV VDD=2.7V VO=-3dBV VDD=3.3V VO=-3dBVVDD=2.7V VO=-3dBV VDD=5V VO=0dBV
GAIN AND ATTENUATION VOLUM E CONTROLLER IC REV 1 5 www.mosanalog.com.tw 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 12 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 (9th) clock pulse. In this case, the master transmitter can generate the STOP information in order to abort the transfer.
GAIN AND ATTENUATION VOLUM E CONTROLLER IC REV 1 6 www.mosanalog.com.tw 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 I2C-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 Cb Capacitive load for each bus line - 400 pF VnL Noise m argin at t he LOW l evel f or eac h c onnected device (i ncluding hysteresis) 0.1VDD - V VnH Noise m argin at the HIGH level for eac h c onnected device (incl uding hysteresis) 0.2VDD - V
GAIN AND ATTENUATION VOLUM E CONTROLLER IC REV 1 7 www.mosanalog.com.tw BUS INTERFACE Data are transmitted to and from the MCU to the MS6257 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 MS6257 Interface protocol The format consists of the following ‧A START condition ‧A chip address byte including the MS6257 address. (7bits) ‧The 8th bit of the byte must be “0”.(write=0, read=1) ‧MS6257 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 ACKDATA DATASTART CONDITION STOP CONDITION Protocol Address 1000 0010 7 bits address MS6257 address W
GAIN AND ATTENUATION VOLUM E CONTROLLER IC REV 1 8 www.mosanalog.com.tw Data bytes description Function bits MSB LSB Function description 1 1 1 1 1 1 1 1 Function OFF (-79dB) 1 1 0 1 A3 A2 A1 A0 2-channel, -1dB/step 1 1 1 0 0 B2 B1 B0 2-channel, -10dB/step 1 0 1 0 A3 A2 A1 A0 Left channel, -1dB/step 1 0 1 1 0 B2 B1 B0 Left channel, -10dB/step 0 0 1 0 A3 A2 A1 A0 Right channel, -1dB/step 0 0 1 1 0 B2 B1 B0 Right channel, -10dB/step 1 1 0 0 C3 C2 C1 C0 2-channel, +1dB/step 0 1 1 0 C3 C2 C1 C0 Left channel, +1dB/step 0 1 0 1 C3 C2 C1 C0 Right channel, +1dB/step 0 1 1 1 1 0 0 M 2-channel, MUTE When M=1, MUTE=ON When M=0, MUTE=OFF Gain / Attenuation bits A3 A2 A1 A0 Gain / Attenuation value (dB) - B2 B1 B0 C3 C2 C1 C0 A B C 0 0 0 0 0 0 0 0 0 0 1 -1 -10 +1 0 0 1 0 -2 -20 +2 0 0 1 1 -3 -30 +3 0 1 0 0 -4 -40 +4 0 1 0 1 -5 -50 +5 0 1 1 0 -6 -60 +6 0 1 1 1 -7 -70 +7 1 0 0 0 -8 - +8 1 0 0 1 -9 - +9 1 0 1 0 - - +10 1 0 1 1 - - +11 1 1 0 0 - - +12 1 1 0 1 - - +13 1 1 1 0 - - +14 1 1 1 1 - - +15 1. Where Ax=-1dB/step, Bx=-10dB/step, Cx=+1dB/step
GAIN AND ATTENUATION VOLUM E CONTROLLER IC REV 1 9 www.mosanalog.com.tw Example Mute off Data byte 1 000 00 MSB
10 ACKStart 0111 0010
MS6257 address 2-ch, Mute off LSB Stop The initial condition is –79dB and mute on when power up. The first command must disable the mute function. Set gain of 2 channel at 0dB ACK Stop11 00 0000 2-ch, +1dB/step, 0dB ACKStart MS6257 Address ACK 1110 0000 2-ch, -10dB/step, 0dB 110 1 0 000 ACK 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. ACK Stop11 00 1001 2-ch, +1dB/step, 6dB ACKStart MS6257 Address ACK 1110 0000 2-ch, -10dB/step, 0dB 110 1 0 000 ACK 2-ch, -1dB/step, 0dB Set gain of 2 channel at -3dB The value of gain must be set zero when the volume from gain to attenuation. ACKStart MS6257 Address ACK 1100 0000 2-ch, +1dB/step, 0dB 111 0 0 000 ACK 2-ch, -10dB/step, 0dB ACK Stop11 01 1100 2-ch, -1dB/step, -3dB Set attenuation of left channel at –33dB ACKStart MS6257 Address ACK Stop1011 1 100 L-ch, -10dB/step, -30dB 1010 1100 ACK L-ch, -1dB/step, -3dB
GAIN AND ATTENUATION VOLUM E CONTROLLER IC REV 1 10 www.mosanalog.com.tw
APPLICATION INFORMATION
5 SCL
2.7~5V 47uF0.1uF Signal MS6257 Basic application flow chart Volume Control volume down to -79 dB step by step Enable Mute Function mute on Power down VDD = 0V Procedure Of Power Shut DownProcedure Of Power Up Volume Control volume up/down step by step Initial Conditions function off (-79dB) mute on Disable Mute Function mute off Power up VDD = 5V 1. The initial condition is –79dB and mute on when power up.
GAIN AND ATTENUATION VOLUM E CONTROLLER IC REV 1 11 www.mosanalog.com.tw EXTERNAL DIMENSIONS SOP8 package H E D A A1 e B C L Dimension in mm Dimension in inch Symbol Min Max Min Max A 1.35 1.75 0.0532 0.0688 A1 0.10 0.25 0.0040 0.0098 B 0.33 0.51 0.013 0.020 C 0.19 0.25 0.0075 0.0098 D 4.80 5.00 0.1890 0.1968 H 5.80 6.20 0.2284 0.2440 E 3.80 4.00 0.1497 0.1574 e 1.27 BSC 0.050 BSC L 0.40 1.27 0.016 0.050 TAPE AND REEL (Unit : mm) 3.0 3.6 12.0 6.9 8.0 5.5 1.75 5.4 2.0 4.0 1.5+0.1/-0.0 DIA 0.5 Radius Typical1.5 MIN 0.30 0.3R MAX 1.72.0 0.05 0.05 0.05 0.3