[AKD5373-A] AKD5373-A Evaluation board Rev.2 for AK5373 GENERAL DESCRIPTION AKD5373-A is an evaluation board for AK5373, which is a stereo A/D Converter with a USB 2.0 interface. The AK5373 can be tested easily on the AKD5373-A, as the operation of the device is compatible with USB standard audio class. The AKD5373-A has not only an external audio interface, but also an external EEP-ROM that all descriptor contents are stored and customizable. Ordering guide AKD5373-A --- Evaluation board for AK5373 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 USB D+ D- Connector R-ch MIC L-ch MIC AK5373 AK6506CT Micro EEPROM Controller +3.3V USB2 USB Connector +5V Regulator Figure 1. AKD5373-A Block Diagram * Circuit diagram and PCB layout are attached at the end of this manual [KM101503] 2010/08 -1- [AKD5373-A] BOARD OUTLINE CHART Outline Chart MCKI USB1 GND VDD3.3 PORT5 J2 J3 USB2 PORT6 SW3 Figure 2. AKD5373-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 AK5373. (3) USB1 (USB Connector) This is USB B-type connector for evaluation of the AK5373. 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 PORT6 (DSP): This is External serial audio interface. A/D data output and DSP data input are possible via this port. (7) SW3 (Switch) SW3: Reset of AK5373. Keep “H” during normal operation. [KM101503] 2010/08 -2- [AKD5373-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 AKD5373-A to PC with an USB cable. Windows recognizes the AK5373 automatically, and it is not necessary to install any driver. Device manage shows “AK5373” 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 (AK5373)”. [KM101503] 2010/08 -3- [AKD5373-A] Figure 4. USB Audio Device Properties Evaluation mode (1) Internal ADC Streaming Mode Evaluation of using internal ADC of AK5373 USB1 (USB Connector) is used. Nothing should be connected to USB2 (USB Connector) and PORT6 (DSP). EEP-ROM SPI I/F VREFP VCOM AVDD VSS1 RSTN SUSN DVDD VSS2 VSS3 CSN SCK EPSO EPSI PMMP MPWR L-ch MIC MICLP VREF Control Decode USB SIE DP USB Tx/Rx DN PMADL PMADL or PMADR MICLN MICRP Gain: 0/+6/+12/+18/+24/+30/+36dB SDTI Audio Stream Control Digital Volume 24bit ADC SDTO Ext Audio I/F LRCK BICK MCLK MICRN R-ch MIC PMADR SDIN or SDOUT MGAIN0 PLL (System/Audio) MGAIN1 MGAIN2 CKM = “H” CLKO LFLTAD VREFN LMUTE RMUTE LFLTAD CLKDRV XTI XTO 24MHz Figure 5. Internal ADC Streaming Mode [KM101503] 2010/08 -4- [AKD5373-A] (2) External Audio Processing Mode Evaluation of using external digital audio interface of AK5373 USB1 (USB Connector) and PORT6 (DSP) are used. Nothing should be connected to USB2 (USB Connector). EEP-ROM SPI I/F VREFP VCOM AVDD VSS1 RSTN SUSN DVDD VSS2 VSS3 CSN SCK EPSO EPSI PMMP MPWR L-ch MIC VREF Control Decode USB SIE DP USB Tx/Rx DN Audio I/F I2S or MSB justified PMADL MICLP PMADL or PMADR MICLN MICRP Gain: 0/+6/+12/+18/+24/+30/+36dB 24bit ADC SDTI Audio Stream Control Digital Volume SDTO Ext Audio I/F PORT6 LRCK=fs DSP BICK=64fs MCLK= R-ch MIC MICRN 512fs or 256fs PMADR SDIN or SDOUT MGAIN0 PLL (System/Audio) MGAIN1 MGAIN2 CKM = “H” CLKO LFLTAD VREFN LMUTE RMUTE LFLTAD XTI CLKDRV XTO 24MHz Figure 6. External Audio Processing Mode Set up gain of MIC-Amp. The AK5373 has a gain amplifier for microphone inputs. The gain of MIC-Amp can be selected by PORT4 (MGAIN). Default input gain is 0dB PORT4 Pin1, 2 OPEN OPEN OPEN OPEN SHORT SHORT SHORT SHORT PORT4 Pin3, 4 OPEN OPEN SHORT SHORT OPEN OPEN SHORT SHORT PORT4 Pin5, 6 OPEN SHORT OPEN SHORT OPEN SHORT OPEN SHORT MGAIN2 MGAIN1 MGAIN0 Input Gain pin pin pin L L L Follow the EEPROM Setting L L H 0dB L H L +6dB L H H +12dB H L L +18dB H L H +24dB H H L +30dB H H H +36dB (Default) Table 1 Microphone Input Gain [KM101503] 2010/08 -5- [AKD5373-A] Evaluation 1) Runs “sound recorder” program in ‘accessory -> Entertainment’ Figure 7. Sound Recorder 2) Select “Edit” -> “Property”, and then select “USB Audio Device (1)” as “Preferred Device”. Figure 8. Audio Properties [KM101503] 2010/08 -6- [AKD5373-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 AK5373 under Windows. The Mute all check box is displayed. Figure 9. 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 10. Sound Selecion 5) Check the microphone being plugged and volume control adjustment then you can start recording by pressing “Rec” button. [KM101503] 2010/08 -7- [AKD5373-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 AK5373. LED turns off when the AK5373 is on suspend state. [KM101503] 2010/08 -8- [AKD5373-A] Software Manual AK5373MAPPER.exe 1) General description AK5373MAPPER.exe is a tool of creating a register setting file that is written to EEPROM on the AKD5373-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 C D E Figure 11. AK5373MAPPER 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 “AK5373_register.txt”. D: Click this button to output a writing EEPROM file as a text file (.txt) which has a fixed name “AK5373_eeprom.txt”. E: Click this button to output a writing EEPROM file as a binary file (.bin) which has a fixed name “AK5373_eeprom.bin”. F: “Set All” button must be clicked after changing codes or values in edit boxes. [KM101503] 2010/08 -9- [AKD5373-A] 3) The setting of Alternate Set up the register about Alternate here. A B Figure 12. AK5373MAPPER 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 AK5373’s descriptor setting, refer to datasheet of the AK5373. [KM101503] 2010/08 - 10 - [AKD5373-A] 4) The setting of register A Figure 13. AK5373MAPPER Register Setting A: Volume and hold time can be set up by clicking the “Set” button and pressing “ENTER” key after inputting numbers in edit boxes. About the AK5373’s register setting, refer to datasheet of the AK5373. [KM101503] 2010/08 - 11 - [AKD5373-A] 5) Register setting file <Default> Figure 14. Register Setting File (Text) [KM101503] 2010/08 - 12 - [AKD5373-A] 6) EEPROM Image File (Text output) <Default> Figure 15. EEPROM Image File (Text) [KM101503] 2010/08 - 13 - [AKD5373-A] EEPROM Write program for the AK5373: AK5373EEPROM.exe 1) Set up the jumper pins as the followings. JP15 PC-EPAI P17 PC-CSN JP18 JP20 PC-SK PC-EPAO JP27 REGMODE EEP 5373 2) Connect USB2 Port of the AKD5373-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 16. Device Manger “Human Interface Devices” [KM101503] 2010/08 - 14 - [AKD5373-A] 3) Run the program “AK5373EEPROM.exe”. Figure 17. AK5373EEPROM.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 18. AK5373EEPROM Write 4) Click “OK”, and the [EXIT] button of AK5373EEPROM.exe. [KM101503] 2010/08 - 15 - [AKD5373-A] Revision History Date (yy/mm/dd) 2010/01/08 2010/02/22 2010/04/12 2010/08/06 Manual Board Reason Revision Revision KM101500 0 First edition KM101501 1 Board Change KM101502 Device Rev. Change 2 KM101503 Description Addition Page Contents 17, 18 9 Evaluation Board: Rev.0 → Rev.1 AK5373 Revision: Rev.A → Rev.B 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. [KM101503] 2010/08 - 16 - 1 2 3 MCKI CKM 4 TESTM3 MGAIN0 MGAIN1 MGAIN2 DP 5 DN TP32 TP33 A TP31 TP30 TP29 TP28 40pin_3 21 22 23 24 25 26 27 28 29 30 CN3 TP27 TP26 A SL1 MCKI 27p 27p C9 C10 1 CLKDRV TESTM3 MGAIN0 MGAIN1 MGAIN2 DP AGND DVDD R51 DGND 0 24MHz 2 R15 100k X1 R1 0 DN CLKS JP1 JP10 XTE MCKI XTAL CN2 TP17 VSS2 R23 R21 20 DVDD CN4 18 R22 32 C4 TP38 33 VREF TP40 MPWR TP39 C6 VCOM TP2 + 4.7u AVDD 35 C2 R4 MPWR 0.1u 42 AVDD C1 43 NC + 0.1u 25 26 27 DP MGAIN2 29 28 MGAIN1 MGAIN0 31 30 TESTM3 CLKDRV DN 19 EPAO 18 NC 14 NC TESTM1 13 C7 0.1u C8 4.7u 17 TESTM2 16 CSN 15 SK 14 EPAO TP21 SK R33 51 B TP20 CSN R34 51 TP22 R35 51 EPAO R36 51 TP41 VSS1 TP23 EPAI EPAI 13 TP24 TESTM1 12 TESTM1 11 TESTM0 TP25 TESTM0 12 40pin_2 C C15 3300p 40 1u R19 R17 51 40pin_4 DVDD RSTN SUSN MCLK 11 1u C14 LRCK C13 9 1u BICK JP14 MICLP TESTM0 NC 48 SDTO 47 MICRP C12 8 TP7 MICLP MICLP SK JP12 10 C CSN 20 15 7 TP6 MICLN 21 VSS1 6 39 TESTM2 MICRP SDTI MICLN 22 46 RMUTEN 38 DVDD AK5373-48LQFP 5 MICRP 23 16 37 45 24 NC NC 1k VSS3 VSS2 MICRN C11 1u 44 18 TP19 TESTM2 17 R5 TP5 VCOM TP18 DVDD EPAI 4.7u 1k MICRP 40 4 MICRN VREF LMUTEN MICRN 39 41 36 TP4 ATIO MICLP VSS3 NC 38 3 TP3 C5 37 2 AVDD 0.1u MICLN 34 C3 + 4.7u 1 ATIO B 32 33 ATIO XTE XTI/MCKI 35 34 XTO TP1 CKM NC 31 19 18 + 36 1.5k U1 JP11 JP13 MICRN MICLN C16 C17 R16 51 R20 R18 51 51 0 3300p R2 1k 3300p TP16 R3 1k RSTN R50 56k TP14 TP15 SUSN 10 MCLK 9 TP13 LRCK 8 3 2 1 TP12 BICK 7 TP11 SDTO 6 TP10 5 TP9 4 TP8 LMUTEN RMUTEN SDTI CN1 40pin_1 D D LMUTEN RMUTEN SDTI SDTO BICK -17- LRCK MCLK SUSN RSTN Title <Title> Size A3 Date: Document Number <Doc> AKD5373-A-Main Rev 1 AK5373 Monday, February 22, 2010 Sheet 1 of 2 2 MCKI 3 J1 1 MCKI 2 1 1 R37 JP15 JP16 EXT REG JP19 PC-CSN JP18 PC-CSN JP20 VDD R14 DN CKM C30 (open) PC-SK PC-SK DP 100k 3 2 1 JP17PC-EPAI 5 DVDD DVDD 2 4 6 MGAIN RP1 PC-EPAI 51 4 PORT4 1 3 5 MGAIN0 MGAIN1 MGAIN2 R38 C31 (open) 0 JP9 CKM 100k 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 PORT6 R48 (open) SDTO D 2 GND 4 GND 6 GND 8 GND 10 SDTO MCLK 1 BICK 3 LRCK 5 SDTI 7 DVDD 9 DSP 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 100k 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 IN GND 6 SW1 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> AKD5373-A-Main Rev 1 others Monday, February 22, 2010 Sheet 2 of 2 -19- -20- -21- -22- -23- -24-