[AKD5374-A] AKD5374-A Evaluation board Rev.1 for AK5374 GENERAL DESCRIPTION AKD5374-A is an evaluation board for AK5374, which is a stereo A/D Converter with a USB 2.0 interface. The AK5374 can be tested easily on the AKD5374-A, as the operation of the device is compatible with USB standard audio class. The AKD5374-A has not only an external audio interface, but also an external EEP-ROM that all descriptor contents are stored and customizable. Ordering guide AKD5374-A --- Evaluation board for AK5374 FUNCTION Microphone Jack 3.3 volt Regulator (LM1117-3.3V) 8k bit EEPROM(AK6506CT) USB B-type Connector +3.3V GND Regulator +3.3V +5V USB1 R-ch MIC L-ch MIC USB D+ D- AK5374 Connector AK6506CT Micro EEPROM +3.3V Controller USB2 USB Connector +5V Regulator Figure 1. AKD5374-A Block Diagram * Circuit diagram and PCB layout are attached at the end of this manual [KM101601] 2010/08 -1- [AKD5374-A] BOARD OUTLINE CHART Outline Chart MCKI USB1 GND VDD3.3 PORT5 J2 J3 USB2 PORT6 SW3 Figure 2. AKD5374-A top view Comment (1) VDD3.3V, GND These are the power supply connectors. Connect power supply with these pins. As for the detail comments, refer to the setup of power supply on the next page. (2) MCKI (BNC-JACK) This is external clock source for the MCKI/XTI pin of the AK5374. (3) USB1 (USB Connector) This is USB B-type connector for evaluation of the AK5374. Connect this to PC. (4) USB2 (USB Connector) This is USB B-type connector for EEP-ROM write operation. (5) J2, J3 (Mini Jacks) These are analog signal inputs. (6) PORT5, PORT6 (10 pin header) PORT5 (TEST PORT): It is not used except test mode (7) SW3 (Switch) SW3: Reset of AK5374. Keep “H” during normal operation. [KM101601] 2010/08 -2- [AKD5374-A] Evaluation Board Manual Operation sequence 1) Set up the jumper pins as the followings. JP21 AVDD JP23 JP19 VDD DVDD +3.3V REG JP27 REGMODE EEP 5373 2) Connect USB1 port of the AKD5374-A to PC with an USB cable. Windows recognizes the AK5374 automatically, and it is not necessary to install any driver. Device manage shows “AK5374” as an USB Audio Device in “Sound, video and game controllers” if Windows recognizes the device successfully. Figure 3. Device Manager “Sound, video and game controllers” 3) Double click “USB Audio Device”, the window of “USB Audio Device Properties” shows the properties including device type as “Sound, video and game controllers”, Manufacturer as “Generic USB Audio”, and Location as “Location 0 (AK5374)”. [KM101601] 2010/08 -3- [AKD5374-A] Figure 4. USB Audio Device Properties Evaluation mode Internal ADC Streaming Mode Evaluation of using internal ADC of AK5374 USB1 (USB Connector) is used. Nothing should be connected to USB2 (USB Connector) and PORT6 (DSP). EEP-ROM SPI I/F VREF VCOM AVDD VSS1 RSTN SUSN DVDD VSS2 VSS3 CSN 1.5kΩ PMMP MPWR INT MIC MICLP VREF DP 18Ω Control Decode USB SIE EXT MIC MICRN USB Tx/Rx DN PMADL 18Ω PMADL or PMADR MICLN MICRP DVDD SK EPAO EPAI Gain: 0/+6/+12/+18/+24/+30/+36dB DVOL MUTE 24bit ADC Audio Stream Control PMADR PLL (System/Audio) CKM = “H” XTE = “H” CLKO XTI LMUTEN RMUTEN XTO CLKDRV 24MHz Figure 5. Internal ADC Streaming Mode [KM101601] 2010/08 -4- [AKD5374-A] Evaluation 1) Runs “sound recorder” program in ‘accessory -> Entertainment’ Figure 6. Sound Recorder 2) Select “Edit” -> “Property”, and then select “USB Audio Device (1)” as “Preferred Device”. Figure 7. Audio Properties [KM101601] 2010/08 -5- [AKD5374-A] 3) When the icon or Volume in the Sound Recording block is clicked, the volume slider window appears. The top points value means the maximum value of the AK5374 under Windows. The Mute all check box is displayed. Figure 8. Volume Control 4) Select “File” -> “Property”, and then click “convert now.” button in the Property window. Then select “44100Hz 16bit Mono” or “44100Hz 16bit Stereo” as attribute on the Sound Recorder Figure 9. Sound Selecion 5) Check the microphone being plugged and volume control adjustment then you can start recording by pressing “Rec” button. [KM101601] 2010/08 -6- [AKD5374-A] Other jumper pins set up 1. JP24, JP25 (GND) : These jumper pins should be OPEN on normal operation. <Default> 2. JP11 (MICRN) : Connection of microphone power. OPEN: Microphone power is not connected. SHORT : Microphone power is connected. <Default> 3. JP12 (MICRP) : Connection of microphone power. OPEN: Microphone power is not connected. SHORT : Microphone power is connected. <Default> 4. JP13 (MICLN) : Connection of microphone power. OPEN: Microphone power is not connected. SHORT : Microphone power is connected. <Default> 5. JP14 (MICLP) : Connection of microphone power. OPEN: Microphone power is not connected. SHORT : Microphone power is connected. <Default> 6. JP1 (CLKS) : Selection of external master clock input and crystal oscillator input . XTAL : Select crystal oscillator input . <Default> MCKI : Select external master clock input. 7. JP10 (XTE) : Selection of clock source for the MCKI/XTI pin. OPEN : Select X’tal as the clock source. (XTE pin = “H”) <Default> SHORT : Select external clock as the clock source (XTE pin = “L”) 8. JP16 (EXT) : Selection of external clock input impedance. OPEN : External clock input impedance is High impedance. SHORT : External clock input impedance is 51Ω.<Default> 9. JP9 (CKM) : Selection of reference X’tal frequency. OPEN : 24MHz crystal resonator can be used as the master clock (CKM pin = “H”) <Default> SHORT : 16MHz crystal resonator can be used as the master clock (CKM pin = “L”) The function of the toggle SW [SW2] (LMUTEN): Left channel mute switch. Keep pressing the button if mute is needed. [SW3] (RMUTEN): Right channel mute switch. Keep pressing the button if mute is needed. Indication for LED [D1] (SUSN): Monitor SUSN pin of the AK5374. LED turns off when the AK5374 is on suspend state. [KM101601] 2010/08 -7- [AKD5374-A] Software Manual AK5374MAPPER.exe 1) General description AK5374MAPPER.exe is a tool of creating a register setting file that is written to EEPROM on the AKD5374-A. The program can not only display register settings written from a register setting file, but also change the register settings directly. 2) Explanation of main window When runs the program, the window as shown blow opens. A F B D C E Figure 10. AK5374MAPPER General Setting A: The top menu can be switched by “TAB” key. B: Click this button to open a register setting file(.txt), and display will be changed after reading the file. C: Click this button to save the current register settings as a setting file which has a fixed name “AK5374_register.txt”. D: Click this button to output a writing EEPROM file as a text file (.txt) which has a fixed name “AK5374_eeprom.txt”. E: Click this button to output a writing EEPROM file as a binary file (.bin) which has a fixed name “AK5374_eeprom.bin”. F: “Set All” button must be clicked after changing codes or values in edit boxes. [KM101601] 2010/08 -8- [AKD5374-A] 3) The setting of Alternate Set up the register about Alternate here. A B Figure 11. AK5374MAPPER Alternate Setting A: Choose available frequencies here. If any valid frequency is chosen, valid check mark will be made. B: Choose initial frequency. Only available frequencies can be chosen. About the AK5374’s descriptor setting, refer to datasheet of the AK5374. [KM101601] 2010/08 -9- [AKD5374-A] 4) The setting of register A Figure 12. AK5374MAPPER Register Setting A: Volume and hold time can be set up by clicking the “Set” button or pressing “ENTER” key after inputting numbers in edit boxes. About the AK5374’s register setting, refer to datasheet of the AK5374. [KM101601] 2010/08 - 10 - [AKD5374-A] 5) Register setting file <Default> Figure 13. Register Setting File (Text) [KM101601] 2010/08 - 11 - [AKD5374-A] 6) EEPROM Image File (Text output) <Default> Figure 14. EEPROM Image File (Text) [KM101601] 2010/08 - 12 - [AKD5374-A] EEPROM Write program for the AK5374: AK5374EEPROM.exe 1) Set up the jumper pins as the followings. JP15 PC-EPAI P17 PC-CSN JP18 PC-SK JP20 PC-EPAO JP27 REGMODE EEP 5373 2) Connect USB2 Port of the AKD5374-A to PC with an USB cable. Windows recognizes the mirco controller device automatically. Device manage shows “PICkit2 Microcontroller Programmer” in “Human Interface Devices” if Windows recognizes the device successfully. Figure 15. Device Manger “Human Interface Devices” [KM101601] 2010/08 - 13 - [AKD5374-A] 3) Run the program “AK5374EEPROM.exe”. Figure 16. AK5374EEPROM.exe [Open]: Click this button to open a test file(.txt) or a binary file(.bin, .dat) and write it. [Write]: Click this button to verify the file Written to EEPROM. “Write complete” is displayed if the write succeeds, while “Verify failed” if not. It takes only one second to write a file to EEPROM. Figure 17. AK5374EEPROM Write 4) Click “OK”, and the [EXIT] button of AK5374EEPROM.exe. [KM101601] 2010/08 - 14 - [AKD5374-A] Revision History Date (yy/mm/dd) 2010/05/27 2010/08/06 Manual Board Reason Revision Revision KM101600 First edition 1 KM101601 Description Addition Page Contents 8 Explanation for “Set All” button was added. IMPORTANT NOTICE z These products and their specifications are subject to change without notice. When you consider any use or application of these products, please make inquiries the sales office of Asahi Kasei Microdevices Corporation (AKM) or authorized distributors as to current status of the products. z Descriptions of external circuits, application circuits, software and other related information contained in this document are provided only to illustrate the operation and application examples of the semiconductor products. You are fully responsible for the incorporation of these external circuits, application circuits, software and other related information in the design of your equipments. AKM assumes no responsibility for any losses incurred by you or third parties arising from the use of these information herein. AKM assumes no liability for infringement of any patent, intellectual property, or other rights in the application or use of such information contained herein. z Any export of these products, or devices or systems containing them, may require an export license or other official approval under the law and regulations of the country of export pertaining to customs and tariffs, currency exchange, or strategic materials. z AKM products are neither intended nor authorized for use as critical componentsNote1) in any safety, life support, or other hazard related device or systemNote2), and AKM assumes no responsibility for such use, except for the use approved with the express written consent by Representative Director of AKM. As used here: Note1) A critical component is one whose failure to function or perform may reasonably be expected to result, whether directly or indirectly, in the loss of the safety or effectiveness of the device or system containing it, and which must therefore meet very high standards of performance and reliability. Note2) A hazard related device or system is one designed or intended for life support or maintenance of safety or for applications in medicine, aerospace, nuclear energy, or other fields, in which its failure to function or perform may reasonably be expected to result in loss of life or in significant injury or damage to person or property. z It is the responsibility of the buyer or distributor of AKM products, who distributes, disposes of, or otherwise places the product with a third party, to notify such third party in advance of the above content and conditions, and the buyer or distributor agrees to assume any and all responsibility and liability for and hold AKM harmless from any and all claims arising from the use of said product in the absence of such notification. [KM101601] 2010/08 - 15 - 1 2 3 4 5 40pin_3 21 22 23 24 25 26 27 28 29 30 CN103 TP133 MCKI TP127 DVDD R115 A 27p C109 DN JP131 R123 DPPV 1.5k DVDD CLKDRV 27p TP131 R151 24MHz C110 1 2 1 CN105 DP TP132 100k TP126 TESTM3 0 R121 R122 18 18 A SL101 AGND DGND X101 1pin MCKI JP110 XTI CLKS JP101 XTE 1 CN106 31 4.7u C103 + B 28 C104 TP101 ATIO CN102 19 20 TP117 VSS2 DN DP 21 NC 22 TESTM3 23 CLKDRV 24 XTE XTI 25 26 XTO CKM CN104 ATIO 20 VSS2 18 19 TP138 0.1u C107 0.1u VREF 29 32 VREF DVDD C108 4.7u TP118 DVDD + U101 27 1pin 17 4.7u TP140 C106 TP119 TESTM2 VCOM 0.1u + 33 30 VCOM TESTM2 16 17 C105 TP120 MPWR 31 34 MPWR CSN R133 15 AVDD 32 35 R104 1k VSS3 36 16 0.1u C102 33 EPAO TP122 R135 13 34 MICRN EPAI EPAO 14 MICRP MICRP VSS1 EPAI 13 51 TP141 35 JP114 MICLP TP123 R136 12 1u C112 38 11 TP124 TESTM1 VSS1 12 1u TP125 TESTM0 R102 1k 1u C 11 NC RSTN SUSN 10 40pin_2 9 1u 8 C113 7 C114 6 MICLN 5 JP113 MICRN 2 JP111 1 40 MICLP MICLN MICLP TESTM0 TESTM1 NC NC TP107 RMUTEN 36 39 40pin_4 15 51 VSS3 4 MICRP SK 51 JP112 TP105 C 14 C111 37 MICLN SK TP121 R134 R105 1k TP106 AK5374 36QFN AVDD C101 + LMUTEN MICRN 4.7u 3 TP104 CSN 51 TP102 TP103 B 18 TP139 R103 1k C115 3300p TP116 C116 3300p RSTN 3300p D R150 56k -16- Title <Title> 10 8 SUSN 7 5 4 3 2 LMUTEN RMUTEN CN101 TP115 9 TP109 6 TP108 1 D C117 40pin_1 Size A3 Date: AKD5374-ASUB-36QFN Document Number <Doc> Thursday, November 12, 2009 Rev 0 Sheet 1 of 1 1 2 3 MCKI CKM 4 TESTM3 MGAIN0 MGAIN1 MGAIN2 DP 5 DN NO M'T A TP32 (open) TP33 MCKI (open) (open) (open) C9 C10 TP29 TP28 21 22 23 24 TP30 40pin_3 TP27 TP26 A DN SL1 (open) AGND (open) DGND (open) R15 2 (open) X1 R1 (open) TP31 CLKDRV TESTM3 MGAIN0 MGAIN1 MGAIN2 DP (open) (open) (open) (open) (open) DVDD R51 (open) 1 25 26 27 28 29 30 CN3 CLKS JP1 (open) JP10 XTE (open) MCKI XTAL CN2 TP17 VSS2 (open) R21 R23 (open)R22 (open) 20 DVDD 32 C4 TP38(open) 33 VREF TP40(open) MPWR 34 C3 + (open) TP39(open) VCOM TP2 C6 + (open) AVDD (open) 35 TP3 C2 R4 VSS3 (open) (open) (open) C5 AVDD C1 43 NC + (open) MICRN 46 MICRP 47 NC 48 25 26 27 DN DP MGAIN2 29 28 MGAIN1 MGAIN0 31 30 TESTM3 CLKDRV 33 32 XTE NC 24 NC 23 DVDD 22 TESTM2 21 CSN 20 SK 19 EPAO 18 EPAI 17 NC 16 VSS1 15 NC 14 TESTM1 DVDD C8 (open) 17 TESTM2 16 CSN 15 SK 14 EPAO B TP20 CSN (open) TP21 SK (open) R33 (open)R34 TP22 (open)R35 EPAO (open) (open) R36 (open) TP41 VSS1 (open) TP23 EPAI (open) EPAI 13 TP24 TESTM1 (open) 12 TESTM1 11 TESTM0 TP25 13 RSTN (open) 40pin_2 C C15 (open) 40 (open) 40pin_4 C7 (open) 12 11 10 SUSN MCLK TESTM0 LRCK 9 8 BICK SDTO 7 SDTI 6 (open) C14 RMUTEN C13 5 (open) 4 JP14 MICLP(open) TP7 MICLP (open) MICLP 45 VSS2 18 TP19 TESTM2 (open) TESTM0 TP6 (open) MICLN C VSS3 LMUTEN 39 MICRP C12 TP18 DVDD (open) (OPEN) 44 19 (open) AK5373 MICLP MICLN VCOM 3 38 40 MPWR JP12 MICRP (open) MICRP VREF 42 37 TP5 39 (open) C11 (open) (open) ATIO 2 MICRN R5 NC 38 41 36 TP4 (open) MICRN 37 MICLN AVDD (open) 1 ATIO B 34 35 TP1 ATIO (open) XTI/MCKI 31 XTO CKM NC U1 + 36 CN4 R19 JP11 (open) JP13 (open) MICRN MICLN R17 R16 (open) (open) R20 C16 (open) R18 (open) (open) C17 (open) (open) (open) TP16 RSTN R3 (open) SDTO BICK LRCK R50 (open) (open) TP15 MCLK SUSN 10 (open) (open) TP13 TP14 9 (open) TP12 8 3 2 1 LMUTEN RMUTEN SDTI (open) TP11 7 (open) TP10 6 (open) TP9 5 (open) TP8 4 R2 (open) CN1 40pin_1 D D LMUTEN RMUTEN SDTI SDTO BICK -17- LRCK MCLK SUSN RSTN Title <Title> Size A3 Date: Document Number <Doc> AKD5374-A-Main Rev 1 AK5374 Friday, April 16, 2010 Sheet 1 of 2 2 MCKI 3 J1 1 MCKI 2 1 1 R37 JP15 3 2 1 JP17PC-EPAI JP16 EXT REG JP19 PC-CSN JP18 PC-CSN JP20 VDD R14 DP 100k DN CKM C30 (open) PC-SK PC-SK 5 DVDD DVDD 2 4 6 MGAIN (open) RP1 PC-EPAI 51 4 PORT4 1 3 5 MGAIN0 MGAIN1 MGAIN2 R38 C31 (open) 0 JP9 CKM (open) PC-EPAO +3.3V PC-EPAO REG REG2 LM1117-3.3V REG ATIO AVDD C32 DVDD 0.1u U4 DVDD 1 2 3 4 CSN EPAI 2 TESTM0 CS VCC SO HOLD WP SCK GND SI + TESTM1 8 7 6 5 C35 10u OUT C33 IN 3 0.1uF 4 GND 3 D+ 2 D- 1 C34 VUSB C36 + 0.1uF A USB(B type) 10u TESTM2 TESTM3 AK6506CT R39100k PORT5 EPAO 2 4 6 8 10 R40100k SK R41 RP2 100k R42 3 2 1 R44 100k 5373 REG 1 3 5 7 9 REGMODE JP27 EEP DVDD TESTPORT REG 1 AVDD JP23 1 JP21 GND A USB1 5 1 TJ-563 BLK GND1 5 TJ-563 RED +3.3V1 100k LED D1 B B 2 100K R43 470 Q1 2.2k DTC123 MICRN TP35 MICRN 2 RSTN 1 MICRP 4 3 H 3 DVDD L SILK-SCREEN 1: VDD 2: MCLR 3: PGD 4: PGC 5: GND + RSTN MICRP C23 0.1uF C24 0.1uF C25 10u R-ch MIC 6 MICLN C USB-RST LMUTEN RMUTEN MICLN MICLP 4 3 L-ch MIC TP37 MICLP R24 R49 C19 0.1uF 100k JP25 MICLG 100k R47 DVDD 18 12 13 33 34 NC/ICCK/ICPGC NC/ICDT/ICPGD NC/ICRST_N/ICVpp NC/ICPORTS 30 31 OSC1/CLKI OSC2/CLKO/RA6 1 1 XTI XTO C22 22pF 2 2 RMUTEN X2 20MHz 25 26 27 R99 C20 MCLK 1 BICK 3 LRCK 5 SDTI 7 DVDD 9 R48 (open) SDTO D PORT6 2 GND 4 GND 6 GND 8 GND 10 SDTO DSP (OPEN) 6 29 VSS1 28 PIC18F4550 TQFP 44-PIN 1 2 3 4 5 17 16 15 14 11 10 9 8 RD0/SPP0 RD1/SPP1 RD2/SPP2 RD3/SPP3 RD4/SPP4 RD5/SPP5/P1B RD6/SPP6/P1C RD7/SPP7/P1D 38 39 40 41 2 3 4 5 RC0/T1OSO/T13CKI RC1/T1OSI/CCP2/UOE_N RA0/AN0 RC2/CCP1/P1A RA1/AN1 RA2/AN2/Vref-/CVref RA3/AN3/Vref+ RA4/T0CKI/C1OUT/RCV RC4/D-/VM RA5/AN4/SS_N/HLVDIN/C2OUT RC5/D+/VP RC6/TX/CK RC7/RX/DT/SDO 32 35 36 RE0/AN5/CK1SPP RE1/AN6/CK2SPP RE2/AN7/OESPP (open) MCLK BICK LRCK SDTI DVDD RB7/KBI3/PGD RB6/KBI2/PGC RB5/KBI1/PGM RB4/AN11/KBI0/CSSPP RB3/AN9/CPP2/VPO RB2/AN8/INT2/VMO RB1/AN10/INT1/SCK/SCL RB0/AN12/INT0/FLT0/SDI/SDA HEADER 5 C C21 22pF SW3 LMUTEN PORT3 MCLR_N/Vpp/RE3 100k SW2 VSS0 VDD0 U3 TP36 VDD1 4.7k 7 R25 JP24 MICRG J3 SUSN 2.2k PC-EPAI R26 470nF 51 37 19 20 21 22 23 24 VUSB REG1 LM1117-3.3V PC-SK R27 R28 R29 51 51 51 3 PC-EPAO + PC-CSN C27 C26 10u 0.1uF GND 6 SW1 IN OUT 2 C28 1 TP34 J2 USB-VDD + 0.1uF C29 10u USB2 VUSB DD+ GND 42 43 44 1 1 2 3 4 VUSB DD+ GND USB(B type) D PIC18F4550 -18- Title <Title> Size A3 Date: Document Number <Doc> AKD5374-A-Main Rev 1 others Friday, April 16, 2010 Sheet 2 of 2 -19- -20- -21- -22- -23- -24- -25- -26- -27- -28-