MS6334 MOSA | Alldatasheet

Document overview

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

Technical content

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 1 www.mosanalog.com 16-Bit Stereo Audio DAC Integrated Headphone Driver with Volume Control

FEATURES

‧Operation range: 2.7V~5.5V ‧Volume control range : 6dB to –39dB, 1.5dB/step ‧Low power consumption, 17mW at VDD=3.3V (Audio code = 0000H) ‧Mute function ‧Flexibility power management ‧No pop-noise ‧No zero crossing distortion ‧Audio format : Right justified, I2S ‧Serial control interface : I2C, SPI ‧Output voltage adjusted by the external resisters ‧Excellent Power Supply Rejection Ratio(PSRR) ‧Component less ‧Cost effective ‧Housed in SSOP20, SSOP16, QFN16 package

APPLICATIONS

Multimedia system, MP3, PDA, Portable Digital Audio.

DESCRIPTION

The MS6334 is a 16-bits voltage-output Digital-to-Analog Converter (DAC) integrated class AB stereo headphone driver with volume control. It is fabricated in a CMOS process and features extremely low power dissipation, small package size and easy application. The accuracy of the matched coarse current sources, combined with the unique symmetrical decoding method, preclude zero-crossing distortion and ensures high quality audio reproduction. The MS6334 has good feature for portable equipment, these features include the low voltage operation, low power consumption, flexible power management, component less and small package SSOP20, make the MS6334 ideally suited for use in portable digital audio equipments. The MS6335 only has I2C interface, the smaller package SSOP16, QFN16 , and other functions are the same as the MS6334. BLOCK DIAGRAM AVDD AVSS DVDD DVSS CAP HP-VDD HP-VSS BCK WS DATA Line-Rin HP-Rout Line-Lin HP-LoutVolume Control Mute DAC HP HP Control Interface SCL MODEAO/CSSDA Line-Lout Line-Rout OPAmp

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 2 www.mosanalog.com PIN CONFIGURATION MS6334 Symbol Pin Description HP-VDD 1 Headphone supply voltage HP-Rout 2 Right channel headphone output Line-Rout 3 Right channel line output Line-Rin 4 Right channel line input CAP 5 Capacitor connected AVSS 6 Analog ground DVSS 7 Digital ground MODE 8 Control interface selection Low : I2C, High : SPI BCK 9 Audio bit clock input WS 10 Audio word select input DATA 11 Audio data input SCL 12 I2C clock input SPI clock input SDA 13 I2C data input SPI data input AO/CS 14 I2C address option SPI chip select DVDD 15 Digital supply voltage AVDD 16 Analog supply voltage Line-Lin 17 Left channel line input Line-Lout 18 Left channel line output HP-Lout 19 Left channel headphone output HP-VSS 20 Headphone ground

1 HP-VSS

SSOP20, I2C / SPI interface Note: 1. MODE = low, the interface is I2C and pin14 is address option (AO). AO = low, the address code is 8CH (10001100B). AO = high, the address code is 88H (10001000B). 2. MODE = high, the interface is SPI and pin14 is chip selection (CS).

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 3 www.mosanalog.com MS6335 Symbol Pin Description HP-VDD 1 Headphone supply voltage HP-Rout 2 Right channel headphone output Line-Rout 3 Right channel line output Line-Rin 4 Right channel line input CAP 5 Capacitor connected VSS 6 Ground BCK 7 Audio bit clock input WS 8 Audio word select input DATA 9 Audio data input SCL 10 I2C clock input SDA 11 I2C data input VDD 12 Supply voltage Line-Lin 13 Left channel line input Line-Lout 14 Left channel line output HP-Lout 15 Left channel headphone output HP-VSS 16 Headphone ground Line-Rout SSOP16, I2C interface Note: The control interface is I2C only. The address code is 8CH (10001100B). MS6335 Symbol Pin Description Line-Rout 1 Right channel line output Line-Rin 2 Right channel line input CAP 3 Capacitor connected VSS 4 Ground BCK 5 Audio bit clock input WS 6 Audio word select input DATA 7 Audio data input SCL 8 I2C clock input SDA 9 I2C data input VDD 10 Supply voltage Line-Lin 11 Left channel line input Line-Lout 12 Left channel line output HP-Lout 13 Left channel headphone output HP-VSS 14 Headphone ground HP-VDD 15 Headphone supply voltage HP-Rout 16 Right channel headphone output HP-Lout HP-Rout HP VSS Line-Rout BCK DATA Line-Lout VSS VDD Line-Lin SDA SCL Line-Rin CAP HP VDDWS QFN16, I2C interface Note: The control interface is I2C only. The address code is 88H (10001000B).

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 4 www.mosanalog.com

ORDERING INFORMATION

Package Part number Packaging Marking Transport Media 20-Pin SSOP MS6334TR MS6334 2.5k Units Tape and Reel 20-Pin SSOP MS6334U MS6334 50 Units Tube 20-Pin SSOP (lead free) MS6334GTR MS6334G 2.5k Units Tape and Reel 20-Pin SSOP (lead free) MS6334GU MS6334G 50 Units Tube 16-Pin SSOP MS6335TR MS6335 2.5k Units Tape and Reel 16-Pin SSOP MS6335U MS6335 100 Units Tube 16-Pin SSOP (lead free) MS6335GTR MS6335G 2.5k Units Tape and Reel 16-Pin SSOP (lead free) MS6335GU MS6335G 100 Units Tube 16-Pin QFN (lead free) MS6335QTR 6335 5k Units Tape and Reel 16-Pin QFN (lead free) MS6335Q 6335 490 Units Tray ABSOLUTE MAXIMUM RATINGS Symbol Parameter Rating Unit VDD Positive 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 SSOP20 SSOP16 QFN16 210 210 210 Ċ/W OPERATING RATINGS Symbol Parameter Min Typ Max Unit VDD Supply Voltage 2.7 - 5.5 V

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 5 www.mosanalog.com 3.3V ELECTRICAL CHARACTERISTICS (Ta=25Ċ, VDD=3.3V, VSS=0V, f=1kHz, RL=32Ω; unless otherwise specified) Symbol Parameter Conditions Min Typ Max Unit DC Characteristics VCAP Voltage at CAP 1.60 1.65 1.70 V VDC Output DC level 1.60 1.65 1.70 V VFS Full scale output voltage VFS=0.02* RF *VDD VFS-10% VFS VFS+10% V IQ Quiescent current Audio code 0000H - 5.4 - mA IPD Power down current - 11 - uA CAP=2.2uF (100Hz) 58 63 dB PSRR Power supply rejection ratio CAP=10uF (100Hz) 67 72 dB CS Channel separation 76 82 - dB ATT Mute attenuation 100 110 - dB Max gain - 6 - dB AGA Gain/Attenuation Max attenuation - -39 - dB ASTEP Gain/Attenuation step - 1.5 - dB EGA Gain/Attenuation step error - 0.3 - dB EIGA Interchannel gin/attenuation error - 0.3 - dB AC Characteristics Res Resolution - - 16 bits - -65 -60 dB THD+N Total harmonic distortion plus noise - 0.056 0.1 % S/N Signal-to-noise ratio 86 92 - dB Po Maximum output power (THD+N)/S < 0.1%, 2 ch - 52 - mW Vo Maximum output voltage swing (THD+N)/S < 0.1% - 2.6 - Vpp Bus Characteristics VIH Bus high input level - - 0.7VDD V VIL Bus low input level 0.3VDD - - V Note: RF : Feedback resistor

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 6 www.mosanalog.com TYPICAL PERFORMANCE CHARACTERISTICS (Ta=25Ċ, RL=32Ω, RF=22k, sampling rate=4fs; unless otherwise specified) POWER DOWN CURRENT (uA) SUPPLY VOLTAGE (V) QUIESCENT CURRENT (mA) SUPPLY VOLTAGE (V) THD+N (%) SUPPLY VOLTAGE (V) Power down current vs. supply voltage Quiescent current vs. supply voltage THD+N vs. supply voltage Code=60H Code=65H f=1kHz PSRR (dB) FREQUENCY (Hz) PSRR (dB) FREQUENCY (Hz) PSRR (dB) FREQUENCY (Hz) PSRR vs. frequency PSRR vs. frequency PSRR vs. frequency CAP=10uF CAP=10uF CAP=10uF CAP=2.2uF CAP=2.2uF CAP=2.2uF VDD=5V VRR=-20dBV VDD=3.3V VRR=-20dBV VDD=2.7V VRR=-20dBV MUTE ATTENUATION (dB) SUPPLY VOLTAGE (V) CHANNEL SEPARATION (dB) SUPPLY VOLTAGE (V) THD+N (%) FREQUENCY (Hz) Mute attenuation vs. supply voltage Channel separation vs. supply voltage THD+N vs. frequency VDD=2.7V VDD=3.3V f=1kHz f=1kHz

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 7 www.mosanalog.com AUDIO TIMING AND FORMAT The MS6334 a ccepts input se rial data formats of 16-bit word le ngth. Left and right data words are time multiplexed. The MSB must always be first. RIGHTWS BCK DATA LSB MSB tr tHB tf tcr tLB tHW tSW LEFT tSD tHD Fig.1 Timing of input signals Audio data format (BCK, WS, DATA) Symbol Parameter Conditions Min Typ Max Unit VIL Input LOW level - - 0.3VDD V VIH Input HIGH level 0.7VDD - - V f BCK Input Clock Frequency - - 18.4 MHz BR Bit Rate Data Input - - 18.4 Mbits/s fWS Word Select Input - - 384 kHz t r Rise Time - - 12 ns t f Fall Time - - 12 ns t Cr Bit Clock Cycle Time 54 - - ns t HB Bit Clock High Time 15 - - ns t LB Bit Clock Low Time 15 - - ns t SD Data Set-up Time 12 - - ns t HD Data Hold Time to Bit Clock 2 - - ns t HW Word Select Hold Time 2 - - ns t SW Word Select Set-up Time 12 - - ns 012 15 14 13 210 MSB LSB 15 14 13 21 0 MSB LSB RIGHT LEFTWS BCK DATA Fig.2 Right justified format (Normal format)

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 8 www.mosanalog.com 15 14 13 21 0 MSB LSB RIGHTLEFTWS BCK DATA

1 BCK 1 BCK

Fig.3 I 2S format I2C BUS INTERFACE 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 SCL SDA 1-7 8 9 1-7 8 9 981-7 S P ADDRESS R/ W ACK ACK ACKDATA DATASTART CONDITION STOP CONDITION Fig.4 I 2C format I2C chip address 88H 1000 0010 7 bits address W For MS6334, MODE=Low, AO/CS=High, For MS6335 QFN16 package only 8CH 1000 0011 7 bits address W For MS6334, MODE=Low, AO/CS=Low For MS6335 SSOP16 package only

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 9 www.mosanalog.com I2C data bytes description Volume control MSB LSB Function 0 0 0 2-channel, 1.5dB/step 0 0 1 Left channel, 1.5dB/step 0 1 0 b4 b3 b2 b1 b0 Right channel, 1.5dB/step Gain / Attenuation bits b4 b3 b2 b1 b0 Value (dB) Value (dB) 0 0 0 0 0 Mute 1 0 0 0 0 -16.5 0 0 0 0 1 -39 1 0 0 0 1 -15 0 0 0 1 0 -37.5 1 0 0 1 0 -13.5 0 0 0 1 1 -36 1 0 0 1 1 -12 0 0 1 0 0 -34.5 1 0 1 0 0 -10.5 0 0 1 0 1 -33 1 0 1 0 1 -9 0 0 1 1 0 -31.5 1 0 1 1 0 -7.5 0 0 1 1 1 -30 1 0 1 1 1 -6 0 1 0 0 0 -28.5 1 1 0 0 0 -4.5 0 1 0 0 1 -27 1 1 0 0 1 -3 0 1 0 1 0 -25.5 1 1 0 1 0 -1.5 0 1 0 1 1 -24 1 1 0 1 1 0 0 1 1 0 0 -22.5 1 1 1 0 0 +1.5 0 1 1 0 1 -21 1 1 1 0 1 +3 0 1 1 1 0 -19.5 1 1 1 1 0 +4.5 0 1 1 1 1 -18 1 1 1 1 1 +6 Initial state: Mute Power down mode MSB LSB Function 0 1 1 b4 b3 b2 b1 b0 Power down mode selection Power down bits b4=1, Pull down CAP pin to ground (CAPGD) b4=0, Set the voltage of CAP to middle of supply voltage (CAPGD) b3=1, Enable OPAmp power down (OPAPD) b3=0, Disable OPAmp power down (OPAPD) b2=1, Enable DAC power down (DACPD) b2=0, Disable DAC power down (DACPD) b1=1, Enable headphone power down (HPPD) b1=0, Disable headphone power down (HPPD) b0=1, Enable DAC mute (DACM) b0=0, Disable DAC mute (DACM) Initial state: b0=b1=b2=b3=b4=1

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 10 www.mosanalog.com Audio format and power off MSB LSB Function 1 0 0 0 0 0 b1 b0 Audio format selection and preparation for power off Audio format and power off bits b1=1, Enable preparation for power off b1=0, Disable preparation for power off b0=1, I2S format b0=0, Right justified format (normal format) Initial state: b0=b1=0. Power off : VDD down to 0V I2C example The audio format is selected I2S format. Audio format code = 81H. The initial state is right justified format. Data byte 1 000 00 MSB

11 ACKStart 1 000 0100

DAC active. Code = 7BH. The initial state is enabled all power down mode when power on. ACKStart Chip Address ACK 0 1 1 1 1 110 DACPD = 0 Stop HP active, OPAmp active, CAP to 1/2 VDD, DAC keep active. Code = 61H. Set the voltage of CAP to middle of supply voltage, the charge time is approximately 1 second. StopStart Chip Address ACK 0 1 1 0 0 100 CAPGD = 0 HPPD = 0 OPAmp = 0 DACPD = 0 ACK DAC mute off. Code = 60H. The chip entered active mode. StopStart Chip Address ACK 0 1 1 0 0 000 DACM = 0 ACK Set gain of 2 channel at 0dB. Volume control code = 1BH. StopStart Chip Address ACK 0 0 0 1 1 11 0 2-ch, 0dB ACK Set attenuation of left channel at –22.5dB. Volume control code = 2CH. StopStart Chip Address ACK 0 0 1 0 0 01 1 L-ch, -22.5dB ACK

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 11 www.mosanalog.com Set attenuation of right channel at –22.5dB. Volume control code = 4CH. StopStart Chip Address ACK 0 1 0 0 0 01 1 R-ch, -22.5dB ACK Preparation for power off. Code = 82H or 83H. StopStart Chip Address ACK 1 0 0 0 1 x00 Power Off Preparation = 1 ACK FM application. OPAmp active, HP active. DAC inactive, DAC mute off. Code = 65H. The chip enters line-in mode. StopStart Chip Address ACK 0 1 1 0 0 101 HPPD = 0 OPAmp = 0 ACK Power down mode (shut down mode). Code = 6FH The chip enters power down mode. The shut down current is approximately 11uA. StopStart Chip Address ACK 0 1 1 0 1 111 DACM = 1 DACPD = 1 HPPD =1 OPAmp =1 ACK SPI BUS INTERFACE In SPI mode, SCL is serial clock, SDA is serial data and AO/CS latches the data word into the MS6334. A control word consist of 16b it, starting with the MSB. The data bits are latched on the rising edge of SCL. A rising edge of AO/CS latches the data into the MS6334 after sixteenth rising clock edge. 15 14 13 10 9 8 MSB CS/AO SCL SDA 73 212 11 564 01 LSB Fig.5 SPI format SPI data word description MSB LSB b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 0 0 0 0 0 0 0 0 Reference to I2C data bytes description The initial state is the same as I2C

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 12 www.mosanalog.com OPERATION PROCEDURE The sequence of operation: power on→ active → power down → active → power off. The basic flowcharts are as follows: Active mode All Devices are active Volume Control volume down to mute both 2 channels mute on Power Off Disconnect VDD VDD will be down to 0V Power OffPower Turn On Power On VDD = Supply voltage Default Codes Inside The Chip Volume control :00H Power down : 7FH Audio format : 80H Default Status The chip is in the power down mode, all devices are not active Volume Mute On Active DAC Mute Off Code : 60H Power up Code : 6DH Wait 1sec Code : 61H All Devices are active Audio Format Selection Right justified: 80H (default) I2S: 81H Volume Control volume down to mute both 2 channels mute on Power Down (Shut Down) Volume Control Default volume = mute Volume up/down step by step All the Digital Interface Signals Pull Low I2C pull low Audio inputs pull low (BCK, WS, DATA) Power Off Preparation code : 82H or 83H wait 0.2 sec Power Down code : 6FH All devices are not active except CAPPD keep active Power Down code : 6FH All devices are not active except CAPPD keep active Keep All the Digital Interface Signals unchanged All the Digital Interface Signals Pull Low I2C pull low Audio inputs pull low (BCK, WS, DATA) VDD = GND Fig.6 Operati onal procedure

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 13 www.mosanalog.com

APPLICATION INFORMATION

The analog and digital power can be supplied as single voltage. AVSS DVDD DVSS HP-VDD AVDD BCK WS DATA SDA 2.2uF 300K SCL Headphone CF Line-Lin RF 47uF 32Ƹ Line-Lout 47uF 32Ƹ CAP Supply 2.7~5.5V0.1uF 100uFHP-VSS 0.1uF 0.1uF MS6334 AO/CS MODE Audio Decoder MCU Interface CF Line-Rin RF Line-Rout FM Module HP-Rout HP-Lout FM-L FM-R RFM RFM VSS HP-VDD VDD BCK WS DATA SDA 2.2uF 300K SCL Headphone CF Line-Lin RF 47uF 32Ƹ Line-Lout 47uF 32Ƹ CAP Supply 2.7~5.5V0.1uF 100uFHP-VSS 0.1uF MS6335 Audio Decoder MCU Interface CF Line-Rin RF Line-Rout FM Module HP-Rout HP-Lout FM-L FM-R RFM RFM Note : Vo=0.02269*R F*VDD Vpp at 0dB gain RF//CF to decide –3dB point =3V, RL=32Ω, RF =24k, CF =390pF, Vo=1.63Vpp For VDD RL=16Ω, RF =22k, CF =470pF, Vo=1.50Vpp FM mode, VLine DC Gain = RF/ RFM Fig.7 MP3 with FM application circuit.

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 14 www.mosanalog.com EXTERNAL DIMENSIONS SSOP20 AA2 D E1 E be ZD Detail A L R ǀ Detail A H x 45 c Dimension in mm Dimension in inchSymbol Min Max Min Max A 1.35 1.75 0.053 0.069 A1 0.10 0.25 0.004 0.010 A2 1.50 0.059 b 0.20 0.30 0.008 0.012 c 0.18 0.25 0.007 0.010 e 0.635 BASIC 0.025 BASIC D 8.56 8.74 0.337 0.344 E 5.79 6.20 0.228 0.244 E1 3.81 3.99 0.150 0.157 L 0.41 1.27 0.016 0.050 h 0.25 0.50 0.010 0.020 L1 0.254 BASIC 0.010 BASIC ZD 1.4732 REF 0.058 REF R1 0.20 0.33 0.008 0.013 R 0.20 0.008 ǀ 0o 8o 0o 8o ǀ1 0o 0 o ǀ2 5o 15o 5o 15o Dimension in mm Dimension in inchSymbol Min Max Min Max A 1.35 1.75 0.053 0.069 A1 0.10 0.25 0.004 0.010 A2 1.50 0.059 b 0.20 0.30 0.008 0.012 c 0.18 0.25 0.007 0.010 e 0.635 BASIC 0.025 BASIC D 4.80 5.00 0.189 0.197 E 5.79 6.20 0.228 0.244 E1 3.81 3.99 0.150 0.157 L 0.41 1.27 0.016 0.050 h 0.25 0.50 0.010 0.020 L1 0.254 BASIC 0.010 BASIC ZD 0.229 REF 0.009 REF R1 0.20 0.33 0.008 0.013 R 0.20 0.008 ǀ 0o 8o 0o 8o ǀ1 0o 0 o ǀ2 5o 15o 5o 15o SSOP16 AA2 D E1 E Detail A be ZD H x 45 c Detail A L R ǀ

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 15 www.mosanalog.com QFN16 (3x3mm) b A D E e L Dimension in mm Symbol Min Nom Max A 0.70 0.75 0.80 A1 0 0.02 0.05 A3 - 0.203REF - b 0.18 0.23 0.30 D 2.9 3.00 3.10 D1 1.40 1.50 1.60 E 2.9 3.00 3.10 E1 1.40 1.50 1.60 e - 0.50BSC - L 0.30 0.40 0.50

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 16 www.mosanalog.com MS6335 DEMO BOARD 2.7V ~ 5.5V a c 2.7V ~ 5.5V LED1 LED3 LED2 Audio Input S4 (Power): POWER On/Off Power On: If this key is pressed until the LED1 power on(about 3 sec),then system is Power On. Power Off: If this key is pressed until the LED1 power off(about 3 sec),then system is Power Off. S2 (UP) & S3 (Down): Volume Control The volume key is used to adjust the volume of playing, and the segment is divided to 31 levels(-39dB~+6dB). The prime value is level 5(-33dB). Express full volume when LED3 is bright continuously. Express mute on when LED2 is bright continuously. S1: Reset All I/O pins are reset to high. S5: I2S/Normal This PIN is used to switch the mode of audio format. I2S : a & c open. Normal : a & c short.

16-Bit Stereo Audio DAC integrated HP Driver with Volume Control REV 1 .0 17 www.mosanalog.com Circuit : 1uF 24k HPVss 0.1u phone jack AVDD BCK phone jack CAP DATA 300k 0.1u 100k 24k Vdd32 Line-Rout Line-Lin SDA 24k 2.2u HP-Rout 24k 100k WS R-IN HP-Lout 390p+ 47uF BCK WS Line-Rin 32 DATA Vss 100 47uF MS6335 (SSOP16) Line-Lout HPVdd 390p SDA 100uF SCL SCL 1uFL-IN 20pF AT89C2051 RST/VPP P1.0/AIN0 P1.1/AIN1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 VCC P3.0/RXD P3.1/TXD P3.2/INTO P3.3/INT1 P3.4/T0 P3.5/T1 P3.7 XTAL1 XTAL2 1 2 DVCC DVCC 10uF SDA 12M 20pF SCL 10k