0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
MS6257_1

MS6257_1

  • 厂商:

    MOSA

  • 封装:

  • 描述:

    MS6257_1 - Gain and Attenuation Volume Controller IC One Set of Stereo Input, Low voltage Gain and A...

  • 数据手册
  • 价格&库存
MS6257_1 数据手册
MOSA MS6257 Gain and Attenuation Volume Controller IC Gain and Attenuation Volume Controller IC One Set of Stereo Input, Low voltage Gain and Attenuation 15~-79dB FEATURES •Operation range: 2.7V~6.5V •Low power consumption •Gain / Attenuation: 15 to –79dB •+1dB/step, -1dB/step and -10dB/step are controlled independently •I2C interface •Housed in 8 pin SOP package APPLICATIONS •Multimedia system •Hi-Fi audio system •MP3, PDA 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. The gain and attenuation, +1dB/step, -1dB/step and -10dB/step are controlled independently. The initial condition is set to be maximum attenuation –79dB (-70dB + -9dB), gain 0dB and mute on mode when the power is up. BLOCK DIAGRAM Gain 0~15dB Attenuation 0~-79dB L-IN 1dB/Step -1dB/Step -10dB/Step L-OUT Serial Bus Decoder and Latches Mute Control R-IN 1dB/Step Gain 0~15dB -1dB/Step -10dB/Step REF R-OUT Attenuation 0~-79dB I2C Interface Reference Circuit SDA SCL REV 6 1 www.mosanalog.com MOSA PIN CONFIGURATION Symbol L-IN L-OUT VSS SDA SCL VDD R-OUT R-IN Pin 1 2 3 4 5 6 7 8 Description Left channel input Left channel output Ground I2C data input I2C clock input Positive supply voltage Right channel output Right channel input L-IN 1 L-OUT 2 MS6257 Gain and Attenuation Volume Controller IC 8 R-IN 7 R-OUT MS6257 VSS 3 SDA 4 6 VDD 5 SCL ORDERING INFORMATION Package 8-Pin SOP (lead free) 8-Pin SOP (lead free) RoHS Compliance Part number MS6257GTR MS6257GU Packaging Marking MS6257G MS6257G Transport Media 2.5k Units Tape and Reel 100 Units Tube ABSOLUTE MAXIMUM RATINGS Symbol VDD VESD TSTG TA TJ TS RTHJA Supply Voltage Electrostatic Handling Storage Temperature Range Operating Ambient Temperature Range Maximum Junction Temperature Soldering Temperature, 10 seconds Thermal Resistance from Junction to Ambient in Free Air SOP8 Parameter Rating 6.5 -4500 to 4500 -65 to 150 -40 to 85 150 260 210 Unit V V ℃ ℃ ℃ ℃ ℃/W OPERATING RATINGS Symbol VDD Supply Voltage Parameter Min 2.7 Typ Max 6.5 Unit V REV 6 2 www.mosanalog.com MOSA 5V ELECTRICAL CHARACTERISTICS MS6257 Gain and Attenuation Volume Controller IC (VDD=5.0V, VSS=0V, Attenuation=0dB, Gain=0dB, f=1KHz, VO=0dBV; unless otherwise specified) Parameter Conditions Min Typ Max Symbol DC Characteristics IQ AGA ASTEP EGA CS MUTE Rin Rout Vo THD+N S/N VIH VIL Quiescent current Gain/Attenuation Gain/Attenuation step Gain/Attenuation step error Channel separation Mute Attenuation Input Impedance Output Impedance Maximum output voltage swing Total harmonic distortion plus noise Signal-to-noise ratio Bus high input level Bus low input level VO=4.5Vpp (THD+N)/S < 0.1% Vin=0dBV Max gain Max attenuation 120 18 95 0.3VDD 3.1 15 -79 1 0.3 130 85 20 50 4.8 -68 100 3.5 100 -63 0.7VDD - Unit mA dB dB dB dB dB dB kΩ Ω Vpp dB dB V V AC Characteristics Bus Characteristics 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 DC Characteristics IQ CS MUTE Vo THD+N S/N Quiescent current Channel separation Mute Attenuation Maximum output voltage swing Total harmonic distortion plus noise Signal-to-noise ratio Vin=-3dBV (THD+N)/S < 0.1% 90 85 2.8 110 80 3 -63 90 3.3 -58 mA dB dB Vpp dB dB Unit AC Characteristics REV 6 3 www.mosanalog.com MOSA 2.7V ELECTRICAL CHARACTERISTICS MS6257 Gain and Attenuation Volume Controller IC (VDD=2.7V, VSS=0V, Attenuation=0dB, Gain=0dB, f=1KHz, VO=-3dBV; unless otherwise specified) Parameter Conditions Min Typ Max Symbol DC Characteristics IQ CS MUTE Vo THD+N S/N Quiescent current Channel separation Mute Attenuation Maximum output voltage swing Total harmonic distortion plus noise Signal-to-noise ratio Vin=-3dBV (THD+N)/S < 0.3% 95 85 2.5 105 80 2 -60 90 2.9 -55 - Unit mA dB dB Vpp dB dB AC Characteristics TYPICAL PERFORMANCE CHARACTERISTICS (Ta=25℃; unless otherwise specified) f=20Hz f=20Hz f=20Hz THD+N (%) THD+N (%) f=1kHz f=1kHz f=20kHz f=20kHz THD+N (%) f=1kHz f=20kHz VDD=5V VDD=3.3V VDD=2.7V OUTPUT VOLTAGE (dBV) OUTPUT VOLTAGE (dBV) OUTPUT VOLTAGE (dBV) THD+N vs. output voltage THD+N vs. output voltage THD+N vs. output voltage CHANNEL SEPARATION (dB) VDD=3.3V VO=-3dBV VDD=2.7V VO=-3dBV VDD=2.7V VO=-3dBV VDD=3.3V VO=-3dBV VDD=5V VO=0dBV VDD=5V VO=0dBV FREQUENCY (Hz) FREQUENCY (Hz) QUIESCENT CURRENT (mA) THD+N (%) SUPPLY VOLTAGE (V) THD+N vs. frequency Channel separation vs. frequency Quiescent current vs. supply voltage REV 6 4 www.mosanalog.com MOSA I2C BUS DESCRIPTION Start and stop conditions MS6257 Gain and Attenuation Volume Controller IC 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 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 1 2 3 7 8 9 SDA MSB Start Acknowledge 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 6 5 www.mosanalog.com MOSA Timing of SDA and SCL bus lines SDA tf SCL MS6257 Gain and Attenuation Volume Controller IC tLOW tr tSU;DAT tf tHD;STA tSP tr tBUF S tHD;STA tHD;DAT tHIGH tSU;STA Sr tSU;STO P S Standard mode Symbol fSCL tHD:STA tLOW tHIGH tSU:STA tHD:DAT tSU:DAT tr tf tSU:STO tBUF Cb VnL VnH Parameter Min 0 4.0 4.7 4.0 4.7 0 250 4.0 4.7 - Max 100 3.45 1000 300 400 - Unit kHz us us us us us ns ns ns us us pF V V SCL clock frequency Hold time (repeated) START condition. After this period, the first clock pulse is generated LOW period of the SCL clock HIGH period of the SCL clock Set-up time for a repeated START condition Data hold time: For I2C-bus devices Data-set-up time Rise time of both SDA and SCL signals Fall time of both SDA and SCL signals Set-up time for STOP condition Bus free time between a STOP and START condition Capacitive load for each bus line Noise margin at the LOW level for each connected device (including 0.1VDD hysteresis) Noise margin at the HIGH level for each connected device (including 0.2VDD hysteresis) REV 6 6 www.mosanalog.com MOSA BUS INTERFACE MS6257 Gain and Attenuation Volume Controller IC 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. VDD Rp Rp Pull up resistors SDA (Serial Data Line) SCL (Serial Clock Line) 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 SDA SCL 1-7 8 9 1-7 8 9 1-7 8 9 S START CONDITION ADDRESS R / -W ACK DATA ACK DATA ACK P STOP CONDITION Protocol Address 1 0 0 0 1 0 0 0 W 7 bits address MS6257 address REV 6 7 www.mosanalog.com MOSA Data bytes description Function bits MSB 1 1 1 1 1 0 0 1 0 0 0 1 1 1 0 0 0 0 1 1 1 1 1 0 1 1 1 1 1 0 1 0 1 1 1 0 0 1 0 1 0 0 1 1 1 A3 0 A3 0 A3 0 C3 C3 C3 1 1 A2 B2 A2 B2 A2 B2 C2 C2 C2 0 1 A1 B1 A1 B1 A1 B1 C1 C1 C1 0 LSB 1 A0 B0 A0 B0 A0 B0 C0 C0 C0 M MS6257 Gain and Attenuation Volume Controller IC Function description Function OFF (-79dB) 2-channel, -1dB/step 2-channel, -10dB/step Left channel, -1dB/step Left channel, -10dB/step Right channel, -1dB/step Right channel, -10dB/step 2-channel, +1dB/step Left channel, +1dB/step Right channel, +1dB/step 2-channel, MUTE When M=1, MUTE=ON When M=0, MUTE=OFF Gain / Attenuation bits A3 C3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 A2 B2 C2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 A1 B1 C1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 A0 B0 C0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Attenuation (dB) A 0 -1 -2 -3 -4 -5 -6 -7 -8 -9 B 0 -10 -20 -30 -40 -50 -60 -70 Gain (dB) C 0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 1. Attenuation bit, Ax = -1dB/step, Bx = -10dB/step 2. Gain bit, Cx = +1dB/step 3. Total gain / attenuation equal Ax + Bx + Cx. REV 6 8 www.mosanalog.com MOSA Example Mute off MSB Start 1 0 0 0 1 0 0 LSB 0 ACK 0 1 1 Data byte 1 1 0 0 0 MS6257 Gain and Attenuation Volume Controller IC ACK Stop MS6257 address 2-ch, Mute off The initial condition is attenuation –79dB, gain 0dB and mute on when power up. The first command must disable the mute function. Set gain of two channels at 0dB Start MS6257 Address ACK 1 1 1 0 0 0 0 0 ACK 1 1 0 1 0 0 0 0 ACK 2-ch, -10dB/step, 0dB 1 1 0 0 0 0 0 0 ACK Stop 2-ch, -1dB/step, 0dB 2-ch, +1dB/step, 0dB Set gain of two channels at 6dB The value of attenuation must be set zero when the volume from attenuation to gain. Start MS6257 Address ACK 1 1 1 0 0 0 0 0 ACK 1 1 0 1 0 0 0 0 ACK 2-ch, -10dB/step, 0dB 1 1 0 0 0 1 1 0 ACK Stop 2-ch, -1dB/step, 0dB 2-ch, +1dB/step, 6dB Set gain of two channels at -3dB The value of gain must be set zero when the volume from gain to attenuation. Start MS6257 Address ACK 1 1 0 0 0 0 0 0 ACK 1 1 1 0 0 0 0 0 ACK 2-ch, +1dB/step, 0dB 1 1 0 1 0 0 1 1 ACK Stop 2-ch, -10dB/step, 0dB 2-ch, -1dB/step, -3dB REV 6 9 www.mosanalog.com MOSA An example of the volume control. Set two channels at 0dB. (Volume = Ax + Bx + Cx) = 0dB + 0dB + 0dB) (Ax + Bx + Cx MS6257 Gain and Attenuation Volume Controller IC next, the volume changes from 0dB to -9dB. (Ax + Bx + Cx = -9dB + 0dB + 0dB) next, the volume changes from -9dB to -19dB. (Ax + Bx + Cx = -9dB + -10dB + 0dB) next, the volume changes from -19dB to -20dB. (Ax + Bx + Cx = 0dB + -20dB + 0dB) next, the volume changes from -20dB to -14dB. (Ax + Bx + Cx = 0dB + -20dB + 6dB) next, the volume changes from -14dB to +6dB. (Ax + Bx + Cx = 0dB + 0dB + 6dB) Note: We suggest the gain is set as the power is up. For example, set and fix the gain +10dB, the volume range will be controlled from +10dB to –69dB. REV 6 10 www.mosanalog.com MOSA APPLICATION INFORMATION Basic application example MS6257 4 MCU 5 SCL VSS 3 6 MS6257 Gain and Attenuation Volume Controller IC SDA VDD Supply 0.1uF 47uF 10uF 1 L-IN L-OUT 2 10uF 10k Power Amplifier Signal 10uF 8 R-IN R-OUT 7 10uF 10k Basic application flow chart Procedure Of Power Up Procedure Of Power Turn Off Power up VDD = 5V Volume Control for Attenuation volume down to -79 dB step by step Initial Conditions function off (-79dB) mute on Enable Mute Function mute on Disable Mute Function mute off Power Turn Off VDD = 0V Setting Gain Set the max signal Volume Control for Attenuation volume up/down step by step 1. The initial condition is attenuation –79dB, gain 0dB and mute on when power is up. REV 6 11 www.mosanalog.com MOSA EXTERNAL DIMENSIONS SOP8 package MS6257 Gain and Attenuation Volume Controller IC 8 5 Symbol Dimension in mm Min Max 1.35 1.75 0.10 0.25 0.33 0.51 0.19 0.25 4.80 5.00 5.80 6.20 3.80 4.00 1.27 BSC 0.40 1.27 Dimension in inch Min Max 0.0532 0.0688 0.0040 0.0098 0.013 0.020 0.0075 0.0098 0.1890 0.1968 0.2284 0.2440 0.1497 0.1574 0.050 BSC 0.016 0.050 H E 1 4 D A A1 B C D H E e L L A A1 e B C TAPE AND REEL 0.30 0.05 (Unit : mm) 2.0 4.0 1.75 0.05 1.5+0.1/-0.0 DIA 0.3R MAX 5.5 0.05 12.0 0.3 5.4 3.0 3.6 6.9 8.0 1.5 MIN 0.5 Radius Typical 2.0 1.7 REV 6 12 www.mosanalog.com MOSA DEMO BOARD MS6257 Gain and Attenuation Volume Controller IC 1 1 4 2 3 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: Control Switch 2-CH+ : The volume-up switch for stereo channel The volume increase by +1dB as the switch is pressed once, the maximum value is up to +15dB. The default value is 0dB on initial status. L-channel and R-channel are active synchronic. 2-CH- : The volume-down switch for stereo channel The volume decrease by -1dB as the switch is pressed once, the minimum value is up to -79dB. L-channel and R-channel are active synchronic. LCH+ : The volume-up switch for left channel The volume increase by +1dB as the switch is pressed once, the maximum value is up to +15dB. LCH- : The volume-down switch for left channel The volume decrease by -1dB as the switch is pressed once, the minimum value is up to -79dB. RCH+ : The volume-up switch for right channel The volume increase by +1dB as the switch is pressed once, the maximum value is up to +15dB. RCH- : The volume-down switch for right channel The volume decrease by -1dB as the switch is pressed once, the minimum value is up to -79dB. MUTE : Press the switch once to enter mute-on or mute-off. The default status is mute-off on initial status. RESET : Reset MCU controller, the system will be loaded default value. REV 6 13 www.mosanalog.com MOSA Label 3: Input section Please input stereo audio signal, as music or sine wave. MS6257 Gain and Attenuation Volume Controller IC Label 4: Output section Please connected to a post-power-amplifier, as stereo speaker. Circuit J2 DVCC 1 2 C13 +C15 104 10u S9 R11 10k C17 20pF C16 20pF 12M 10uF + RESET R12 103 U2 1 2 3 4 5 6 7 8 9 10 RST P3.0 P3.1 XTAL2 XTAL1 P3.2 P3.3 P3.4 P3.5 GND AT89C2051 2CH+ S3 OPEN : 88H SHORT: 8CH S2 S6 LCH+ S8 RCH+ 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 C18 2CHS5 LCHS7 RCH- J1 AVDD 1 2 104 C12 10u + MUTE S1 S4 CH-SEL C14 U? 1 2 3 4 L-IN R-IN L-Out R-Out Vss Vdd SDA SCL MS6257 + + + + 8 7 6 5 C4 C5 C6 C7 R4 R5 R6 R7 L1 LIN1 RCA4 LOUT RCA5 ROUT RCA6 RIN1 RCA7 REV 6 14 www.mosanalog.com MOSA Demo board(IR Controller) MS6257 Gain and Attenuation Volume Controller IC 1 2 1 5 3 Function description Label 1: Supply Input Supply voltage range is 2.7V to 6.5V. 4 Label 2: LED Indicator The LEDs indicate the chip status and IR received status. It is red-dark blink once when the MCU has received the function code correctly. Label 3: Reset All I/O pins are reset to default values. Label 4: Signal Input There are four stereo inputs in the section. Please input stereo audio signal, as music or sine wave. Label 5: DAC output Connected to a post-power-amplifier, as active speaker. REV 6 15 www.mosanalog.com MOSA IR Controller MS6257 Gain and Attenuation Volume Controller IC 2-CH+ : The volume-up switch for stereo channel The volume increase by +1dB as the switch is pressed once, the maximum value is up to +15dB. The default value is 0dB on initial status. L-channel and R-channel are active synchronic. 2-CH- : The volume-down switch for stereo channel The volume decrease by -1dB as the switch is pressed once, the minimum value is up to -79dB. L-channel and R-channel are active synchronic. LCH+ : The volume-up switch for left channel The volume increase by +1dB as the switch is pressed once, the maximum value is up to +15dB. LCH- : The volume-down switch for left channel The volume decrease by -1dB as the switch is pressed once, the minimum value is up to -79dB. RCH+ : The volume-up switch for right channel The volume increase by +1dB as the switch is pressed once, the maximum value is up to +15dB. RCH- : The volume-down switch for right channel The volume decrease by -1dB as the switch is pressed once, the minimum value is up to -79dB. MUTE : Press the switch once to enter mute-on or mute-off. The default status is mute-off on initial status. REV 6 16 www.mosanalog.com MOSA Circuit J1 1 2 J3 1 2 3 LCD DVCC RX TX DVCC + C13 0.1u + C14 10u R4 C4 20P Y1 12M J4 AVDD C5 + 20P AVDD + C7 J7 INPUT 1 2 3 0.1u + C6 10u + IR_IN SCL SDA 10K S1 RST RX TX 1 2 3 4 5 6 7 8 9 10 + C2 10u U1 RST P3.0 P3.1 XTAL2 XTAL1 P3.2 P3.3 P3.4 P3.5 GND AT89CX51 Vcc P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 P1.1 P1.0 P3.7 MS6257 Gain and Attenuation Volume Controller IC R1 220 R2 10K R3 1K C1 47u + 3 2 IR_IN + C3 470p 1 J2 VS GND IR IR 20 19 18 17 16 15 14 13 12 11 D1 LED 2 1 J8 OUTPUT J6 C9 10u U3 1 2 3 SDA 4 L-IN R-IN L-Out R-Out Vss Vdd SDA SCL MS6257 8 7 6 5 + 10u + 10u SCL R5 R6 10K 10K + J5 C8 C10 OUTPUT + INPUT C11 R7 R8 10K 10K 10u W1 Jumper REV 6 17 1 2 3 www.mosanalog.com
MS6257_1 价格&库存

很抱歉,暂时无法提供与“MS6257_1”相匹配的价格&库存,您可以联系我们找货

免费人工找货