MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control 16bits Stereo Audio DAC Integrated Headphone Driver with Volume Control FEATURES ‧Operation range: 2.7V~6.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(MS6334), 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 SDA SCL AO/CS MODE Line-Lin Line-Lout HP-VDD HP-VSS Control Interface + BCK WS OPAmp DAC DATA + Volume Control Mute - AVDD AVSS DVDD DVSS CAP REV 5 Line-Rin 1/20 HP HP-Lout HP HP-Rout Line-Rout www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control 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 AVSS 6 15 DVDD SCL 12 I2C clock input SPI clock input DVSS 7 14 AO/CS SDA 13 I2C data input SPI data input HP-VDD 1 20 HP-VSS HP-Rout 2 19 HP-Lout Line-Rout 3 18 Line-Lout Line-Rin 4 17 Line-Lin 16 AVDD CAP 5 MS6334 MODE 8 13 SDA BCK 9 12 SCL 2 AO/CS 14 I C 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 WS 10 11 DATA 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). REV 5 2/20 www.mosanalog.com MOSA MS6335 Symbol Pin MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control 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 VDD HP-VDD 1 16 HP-VSS HP-Rout 2 15 HP-Lout Line-Rout 3 14 Line-Lout Line-Rin 4 13 Line-Lin MS6335 CAP 5 12 VDD VSS 6 11 SDA I2C data input BCK 7 10 SCL 12 Supply voltage WS 8 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 9 DATA SSOP16, I2C interface 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 13 HP-Lout Line-Rin 14 HP VSS Line-Rout 1 12 Line-Lout Line-Rin 2 11 Line-Lin 10 VDD CAP 3 9 SDA VSS 4 SCL 8 Right channel line output DATA 7 1 15 HP VDD Description WS 6 Line-Rout Pin BCK 5 MS6335 Symbol 16 HP-Rout Note: The control interface is I2C only. The address code is 8CH (10001100B). QFN16, I2C interface Note: The control interface is I2C only. The address code is 88H (10001000B). REV 5 3/20 www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control ORDERING INFORMATION Package Part number Packaging Marking Transport Media 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 (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 MS6335Q 6335 490 Units Tray 16-Pin QFN (lead free) RoHS Compliance ABSOLUTE MAXIMUM RATINGS Symbol Parameter VDD Positive Supply Voltage VESD Electrostatic Handling TSTG Storage Temperature Range TA Operating Ambient Temperature Range TJ TS RTHJA Rating Unit 6.5 V -3000 to 3000 -65 to 150 V ℃ -40 to 85 ℃ Maximum Junction Temperature 150 ℃ Soldering Temperature, 10 seconds Thermal Resistance from Junction to Ambient in Free Air SSOP20 SSOP16 QFN16 260 ℃ 210 210 120 ℃/W OPERATING RATINGS Symbol VDD REV 5 Parameter Supply Voltage 4/20 Min Typ Max Unit 2.7 - 6.5 V www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control 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 PSRR Power supply rejection ratio CAP=2.2uF (100Hz) 58 63 CAP=10uF (100Hz) 67 72 CS Channel separation 76 82 - dB ATT Mute attenuation 100 110 - dB AGA Gain/Attenuation Max gain - 6 - dB Max attenuation - -39 - dB ASTEP Gain/Attenuation step - 1.5 - dB EGA Gain/Attenuation step error - 0.3 - dB dB dB AC Characteristics Res Resolution - - 16 bits THD+N Total harmonic distortion plus noise - -65 -60 dB S/N Signal-to-noise ratio Po Maximum output power Vo Maximum output voltage swing - 0.056 0.1 % 86 92 - dB (THD+N)/S < 0.1 - 20 - mW (THD+N)/S < 0.1 - 1.6 - Vpp - - 0.7VDD V 0.3VDD - - V Bus Characteristics VIH Bus high input level VIL Bus low input level Note : RF : Feedback resistor REV 5 5/20 www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control TYPICAL PERFORMANCE CHARACTERISTICS Code=65H THD+N (%) Code=60H QUIESCENT CURRENT (mA) POWER DOWN CURRENT (uA) (Ta=25℃, RL=32, RF=22k, sampling rate=4fs; unless otherwise specified) f=1kHz SUPPLY VOLTAGE (V) SUPPLY VOLTAGE (V) SUPPLY VOLTAGE (V) Power down current vs. supply voltage Quiescent current vs. supply voltage THD+N vs. supply voltage CAP=2.2uF VDD=5V VRR=-20dBV CAP=10uF CAP=2.2uF PSRR (dB) CAP=10uF PSRR (dB) VDD=3.3V VRR=-20dBV CAP=2.2uF VDD=2.7V VRR=-20dBV FREQUENCY (Hz) FREQUENCY (Hz) PSRR vs. frequency PSRR vs. frequency MUTE ATTENUATION (dB) CHANNEL SEPARATION (dB) FREQUENCY (Hz) PSRR vs. frequency f=1kHz VDD=2.7V THD+N (%) PSRR (dB) CAP=10uF VDD=3.3V f=1kHz SUPPLY VOLTAGE (V) SUPPLY VOLTAGE (V) FREQUENCY (Hz) Mute attenuation vs. supply voltage Channel separation vs. supply voltage THD+N vs. frequency REV 5 6/20 www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control AUDIO TIMING AND FORMAT The MS6334 accepts input serial data formats of 16-bit word length. Left and right data words are time multiplexed. The MSB must always be first. LEFT WS RIGHT tr tHB tf tLB tHW tSW BCK tcr tSD tHD Min 0.7VDD - Typ - Max 0.3VDD 18.4 18.4 384 12 Unit V V MHz Mbits/s kHz ns - - 12 ns Bit Clock Cycle Time 54 - - ns Bit Clock High Time 15 - - ns Bit Clock Low Time 15 - - ns Data Set-up Time 12 - - ns Data Hold Time to Bit Clock 2 - - ns Word Select Hold Time 2 - - ns Word Select Set-up Time 12 - - ns LSB DATA Fig.1 MSB Timing of input signals Audio data format (BCK, WS, DATA) Symbol Parameter VIL Input LOW level VIH Input HIGH level Input Clock Frequency f BCK BR Bit Rate Data Input Word Select Input fWS Rise Time tr tf t Cr t HB t LB t SD t HD t HW t SW Conditions Fall Time LEFT WS RIGHT BCK DATA 2 1 0 15 14 13 2 1 MSB Fig.2 REV 5 0 15 LSB MSB 14 13 2 1 0 LSB Right justified format (Normal format) 7/20 www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control WS LEFT RIGHT BCK 1 BCK DATA 15 14 1 BCK 13 2 MSB 1 0 15 LSB MSB Fig.3 14 13 2 1 0 LSB I2S 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 SDA SCL 1-7 8 9 ADDRESS R/W ACK 1-7 8 9 1-7 8 9 S P START CONDITION DATA Fig.4 ACK DATA ACK STOP CONDITION I2C format I2C chip address 88H 1 0 8CH 0 0 1 7 bits address 0 0 0 W For MS6334, MODE=Low, AO/CS=High, For MS6335 QFN16 package only REV 5 1 0 0 0 1 7 bits address 1 0 0 W For MS6334, MODE=Low, AO/CS=Low For MS6335 SSOP16 package only 8/20 www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control I2C data bytes description Volume control MSB LSB 0 0 0 0 0 1 0 1 0 Function 2-channel, 1.5dB/step b4 b3 b2 b1 b0 Left channel, 1.5dB/step 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 Initial state: Mute 1 1 -18 1 1 1 1 1 +6 b4 b3 Power down mode MSB 0 LSB 1 1 b2 b1 b0 Function 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 REV 5 9/20 www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control Audio format and power off MSB 1 0 0 0 0 0 b1 LSB Function 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. MSB Start 1 Data byte LSB 0 0 0 1 1 0 0 ACK 1 0 0 0 0 0 0 1 ACK Stop I2S format MS6335 address DAC active. Code = 7BH. The initial state is enabled all power down mode when power on. Start Chip Address ACK 0 1 1 1 1 0 1 1 ACK Stop DACPD = 0 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. Start Chip Address ACK 0 1 1 0 0 0 0 1 ACK Stop 0 0 ACK Stop 1 ACK Stop CAPGD = 0 HPPD = 0 OPAmp = 0 DACPD = 0 DAC mute off. Code = 60H. The chip entered active mode. Start Chip Address ACK 0 1 1 0 0 0 DACM = 0 Set gain of 2 channel at 0dB. Volume control code = 1BH. Start Chip Address ACK 0 0 0 1 1 0 1 2-ch, 0dB Set attenuation of left channel at –22.5dB. Volume control code = 2CH. Start Chip Address ACK 0 0 1 0 1 1 0 0 ACK Stop L-ch, -22.5dB REV 5 10/20 www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control Set attenuation of right channel at –22.5dB. Volume control code = 4CH. Start Chip Address ACK 0 1 0 0 1 1 0 0 ACK Stop 1 x ACK Stop R-ch, -22.5dB Preparation for power off. Code = 82H or 83H. Start Chip Address ACK 1 0 0 0 0 0 Power Off Preparation = 1 FM application. OPAmp active, HP active. DAC inactive, DAC mute off. Code = 65H. The chip enters line-in mode. Start Chip Address ACK 0 1 1 0 0 1 0 1 Stop ACK HPPD = 0 OPAmp = 0 Power down mode (shut down mode). Code = 6FH The chip enters power down mode. The shut down current is approximately 11uA. Start Chip Address ACK 0 1 1 0 1 1 1 Stop ACK 1 DACM = 1 DACPD = 1 HPPD =1 OPAmp =1 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 16bit, 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. CS/AO SCL SDA 15 14 13 12 11 10 9 8 7 6 5 4 3 2 MSB 1 0 LSB Fig.5 SPI format SPI data word description LSB MSB b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 2 0 REV 5 0 0 0 0 0 0 Reference to I C data bytes description The initial state is the same as I2C 0 11/20 www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control OPERATION PROCEDURE The sequence of operation: power on→ active → power down → active → power off. The basic flowcharts are as follows: Power Turn On All the Digital Interface Signals Pull Low I2C pull low Audio inputs pull low (BCK, WS, DATA) VDD = GND 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 Power Off Audio Format Selection Right justified: 80H (default) I2S: 81H Active mode All Devices are active Power up Code : 6DH Volume Control volume down to mute both 2 channels mute on Wait 1sec Power Down (Shut Down) Volume Control volume down to mute both 2 channels mute on Power Down code : 6FH All devices are not active except CAPPD keep active Code : 61H All Devices are active Power Off Preparation code : 82H or 83H wait 0.2 sec Keep All the Digital Interface Signals unchanged DAC Mute Off Code : 60H Power Down code : 6FH All devices are not active except CAPPD keep active 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 Disconnect VDD VDD will be down to 0V Fig.6 REV 5 Operational procedure 12/20 www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control APPLICATION INFORMATION A MP3 with FM application The analog and digital power can be supplied as single voltage. MS6334 15 0.1uF 7 DVDD DVSS HP-VDD HP-VSS AVSS 1 20 Supply 2.7~5.5V 0.1uF 100uF 6 0.1uF AVDD MCU Interface CAP 8 MODE 14 AO/CS 12 SCL 13 SDA Line-Lin 17 Line-Lout 18 Line-Rout 7 BCK 8 WS 9 DATA 300K 5 2.2uF Line-Rin Audio Decoder 16 RFM FM-L RFM FM-R 4 3 HP-Lout 19 HP-Rout 20 FM Module CF RF CF RF 47uF 32Ω 47uF 32Ω Headphone MS6335 Supply 2.7~5.5V HP-VDD 0.1uF HP-VSS 100uF VSS 0.1uF VDD 300K CAP SCL 2.2uF MCU Interface SDA RFM Line-Lin FM-L FM Module CF RF Line-Lout RFM Line-Rin FM-R CF RF Line-Rout BCK Audio Decoder WS DATA 47uF 32Ω 47uF 32Ω HP-Lout Headphone HP-Rout Note : Vo=0.02269*RF*VDD Vpp at 0dB gain RF//CF to decide –3dB point For VDD=3V, RL=32, RF =24k, CF =390pF, Vo=1.63Vpp RL=16, RF =22k, CF =470pF, Vo=1.50Vpp FM mode, VLine DC Gain = RF/ RFM Fig.7 MP3 with FM application circuit. REV 5 13/20 www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control 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 A1 b θ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 5o 15o 5o 15o R1 L1 R θ L Detail A SSOP16 D Detail A Symbol A A1 A2 b c e D E E1 L h L1 ZD R1 R θ θ1 θ2 E1 E H x 45 c ZD A2 A 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 4.80 5.00 0.189 0.197 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 0.229 REF 0.009 REF 0.20 0.33 0.008 0.013 0.20 0.008 o o o 0 8 0 8o 0o 0o 5o 15o 5o 15o θ2 e b θ1 A1 R1 L1 R θ Detail A REV 5 14/20 L www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control QFN16 (3x3mm) D L Symbol D1 E1 e E A A1 A3 b D D1 E E1 e L Min 0.70 0 0.18 2.9 1.40 2.9 1.40 0.30 Dimension in mm Nom 0.75 0.02 0.203REF 0.23 3.00 1.50 3.00 1.50 0.50BSC 0.40 Max 0.80 0.05 0.30 3.10 1.60 3.10 1.60 0.50 b A3 A A1 REV 5 15/20 www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control DEMO BOARD 2.7V ~ 6.5V -+ S5 a c 2.7V ~ 6.5V + - S1 Audio Input LED1 S4 LED2 S2 LED3 S3 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. REV 5 16/20 www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control Circuit : AVDD + 100uF 0.1u 300k 390p 390p + 47uF 1 2 3 4 5 6 7 8 24k phone jack 32 2.2u HPVdd HP-Rout Line-Rout Line-Rin CAP Vss BCK WS HPVss HP-Lout Line-Lout Line-Lin Vdd SDA SCL DATA 16 15 14 13 12 11 10 9 + 47uF 24k 32 phone jack SDA SCL 24k + 24k + MS6335 (SSOP16) L-IN 0.1u 1uF BCK WS DATA 100k R-IN 1uF 100k 100 DVCC 1 2 DVCC 2 3 6 7 8 9 11 20pF 12M 20pF 5 4 1 20 + 10k REV 5 10uF P3.0/RXD P3.1/TXD P3.2/INTO P3.3/INT1 P3.4/T0 P3.5/T1 P3.7 P1.0/AIN0 P1.1/AIN1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 XTAL1 XTAL2 12 13 14 15 16 17 18 19 SDA SCL 1k RST/VPP VCC AT89C2051 17/20 www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control DEMO BOARD(IR) 1 6 2 a c 1 3 5 4 Function description Label 1: Supply Input Supply voltage range is 2.4V to 6.5V. Label 2: This PIN is used to switch the mode of audio format. I2S : a & c open. Normal : a & c short. Label 3: Reset All I/O pins are reset to default values. Label 4: LED The LED indicates IR received status and power status. Label 5: Digital Signal Input Connected to digital audio formats as I2S, Right Justified and Left Justified. Label 6: Headphone Jack Used 3.5mm diameter of headphone with 32ohm REV 5 18/20 www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control IR Controller Power ON/OFF : The power key. Press the key once to set power-on or power-off for MS6864. The default values are ATTENUATION –33dB. vol+ : The volume-up switch for stereo channel The volume increase by +1dB as the switch is pressed once, the maximum value is up to +6dB. The default value is -33dB on initial status. L-channel and R-channel are active synchronic. vol- : The volume-down switch for stereo channel The volume decrease by -1dB as the switch is pressed once, the minimum value is up to -39dB. L-channel and R-channel are active synchronic. Vol_L+ : The volume-up switch for left channel The volume increase by +1dB as the switch is pressed once, the maximum value is up to +6dB. Vol_L - : The volume-down switch for left channel The volume decrease by -1dB as the switch is pressed once, the minimum value is up to -39dB. Vol_R+ : The volume-up switch for right channel The volume increase by +1dB as the switch is pressed once, the maximum value is up to +6dB. Vol_R- : The volume-down switch for right channel The volume decrease by -1dB as the switch is pressed once, the minimum value is up to -39dB. Mute : Press the switch once to enter mute-on or mute-off. The default status is mute-off on initial status. REV 5 19/20 www.mosanalog.com MOSA MS6334/6335 16bits Stereo Audio DAC integrated HP Driver with Volume Control Circuit R15 R11 1k R12 1k R13 1k 220 R16 10K J5 1 2 1 47u 2 IR_IN DVCC S1 D1 C13 10u J6 RST R10 10k IR_IN S5 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 Power 20 19 18 17 16 SCL 15 SDA 14 13 12 11 Vcc P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 P1.1 P1.0 P3.7 D2 D3 Q1 C16 + 3 Vc GND IR IR + C17 470P VOL- VOL+ DGND AT89C2051 I2S/Normal J4 PHONEJACK C14 20 Y1 12M C15 20 J3 1 2 C7 AVDD R14 300k C3 C1 J1 FM_R FM_L 1 2 3 Line In R2 100k 1u R3 100k 104 104 R4 24k C4 2.2u 1 2 3 4 5 6 7 8 HPVDD HPVss HP-Rout HP-Lout Line-Rout Line-Lout Line-Rin Line-Lin CAP VDD Vss SDA BCK SCL WS DATA C10 16 15 14 13 12 11 10 9 47u SDA SCL R9 24k C11 361 C12 30 MS6335 R1 C224k 1u R5 24k R6 1k J2 Text C6 361 C9 U1 47u C5 30 100u C8 1 BCK 2 WS 3 DATA 4 L1 R7 1k R8 1k Audio format REV 5 20/20 www.mosanalog.com