[AKD5374-A] AKD5374-A Evaluation board Rev.2 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(AK6508CT) USB B-type Connector +3.3V GND Regulator +3.3V +5V USB1 USB D+ D- Connector R-ch MIC L-ch MIC AK5374 AK6508CT Micro EEPROM Controller +3.3V USB2 USB Connector +5V Regulator Figure 1. AKD5374-A Block Diagram * Circuit diagram and PCB layout are attached at the end of this manual [KM101602] 2012/10 -1- [AKD5374-A] BOARD OUTLINE CHART Outline Chart MCKI USB1 GND VDD3.3 V 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. [KM101602] 2012/10 -2- [AKD5374-A] Evaluation Board Manual Operation sequence 1) Set up the jumper pins as the followings. JP21 JP23 JP19 JP27 AVDD DVDD VDD REGMODE +3.3V REG 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)”. [KM101602] 2012/10 -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 DVDD SK EPAO EPAI 1.5kΩ PMMP MPWR INT MIC MICLP DP 18Ω VREF Control Decode USB SIE MICRN EXT MIC DN PMADL 18Ω PMADL or PMADR MICLN MICRP USB Tx/Rx Gain: 0/+6/+12/+18/+24/+30/+36dB DVOL MUTE 24bit ADC Audio Stream Control PMADR PLL (System/Audio) CKM = “H” CLKO XTE = “H” XTI LMUTEN RMUTEN XTO CLKDRV 24MHz Figure 5. Internal ADC Streaming Mode [KM101602] 2012/10 -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 [KM101602] 2012/10 -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. [KM101602] 2012/10 -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. [KM101602] 2012/10 -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. [KM101602] 2012/10 -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. [KM101602] 2012/10 -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. [KM101602] 2012/10 - 10 - [AKD5374-A] 5) Register setting file <Default> Figure 13. Register Setting File (Text) [KM101602] 2012/10 - 11 - [AKD5374-A] 6) EEPROM Image File (Text output) <Default> Figure 14. EEPROM Image File (Text) [KM101602] 2012/10 - 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 JP20 PC-SK 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” [KM101602] 2012/10 - 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. [KM101602] 2012/10 - 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 2012/10/15 KM101602 2 Page Contents 8 Explanation for “Set All” button was added. Title: Evaluation board Rev.1 → Rev.2 AK6506CT → AK6508CT Change 1 Change 1 IMPORTANT NOTICE 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. 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. 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. 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. 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. [KM101602] 2012/10 - 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 TESTM3 22 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 Title <Title> 10 8 SUSN 7 4 3 2 6 - 16 - LMUTEN RMUTEN CN101 TP115 9 TP109 5 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 MCKI CKM 4 TESTM3 MGAIN0 MGAIN1 MGAIN2 DP 5 DN NO M'T TP32 (open) (open) (open) C9 C10 TP30 TP29 TP28 21 22 23 TP26 (open) DN A SL1 AGND (open) 2 DGND (open) R15 (open) X1 R1 (open) 24 TP27 (open) 1 TP31 40pin_3 CLKDRV TESTM3 MGAIN0 MGAIN1 MGAIN2 DP (open) (open) (open) (open) (open) DVDD R51 TP33 MCKI (open) 25 26 27 28 29 30 CN3 A CLKS JP1 (open) JP10 XTE (open) MCKI XTAL CN2 TP17 VSS2 (open) R21 R23 (open)R22 (open) 20 DVDD 32 37 C4 TP38(open) 33 VREF TP40(open) MPW R 34 C3 + (open) 39 TP39(open) VCOM TP2 40 C6 + (open) AVDD (open) 35 TP3 C2 R4 VSS3 (open) (open) (open) C5 (open) 42 C1 43 (open) 44 + 36 45 TP4 (open) MICRN R5 (open) 46 37 MICRP (open) 25 DN 26 27 DP MGAIN2 29 28 MGAIN1 MGAIN0 31 30 TESTM3 CLKDRV 33 32 XTE DVDD VCOM TESTM2 MPWR CSN AK5373 AVDD NC SK EPAO (OPEN) VSS3 EPAI MICRN NC MICRP VSS1 NC NC NC TESTM1 24 23 C7 (open) C8 (open) 17 TESTM2 22 16 CSN 21 15 SK 14 EPAO (open) TP21 SK (open) R33 20 (open)R34 19 TP22 (open)R35 18 EPAO (open) (open) R36 17 16 (open) TP41 VSS1 (open) 15 B TP20 CSN TP23 EPAI (open) EPAI 13 TP24 TESTM1 14 13 (open) 12 TESTM1 11 TESTM0 TP25 (open) 12 40pin_2 C C15 (open) 40 (open) 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 SUSN 8 MCLK 10 (open) (open) TP13 TP14 9 (open) TP12 7 LMUTEN RMUTEN SDTI (open) TP11 6 (open) TP10 5 (open) TP9 4 (open) TP8 3 R2 (open) 2 40pin_4 DVDD RSTN SUSN 11 10 MCLK TESTM0 LRCK 9 8 BICK SDTI SDTO 7 (open) C14 RMUTEN C13 6 TP7 MICLP (open) (open) 5 JP14 MICLP(open) 4 TP6 (open) MICLN 18 TP19 TESTM2 (open) TESTM0 LMUTEN 39 VREF MICLP MICLN NC 3 38 48 MICRP C12 VSS2 2 MICRP 47 JP12 TP5 MICLP C11 (open) TP18 DVDD (open) ATIO 1 MICRN 41 19 (open) NC MICLN AVDD 38 (open) 1 ATIO 34 35 TP1 ATIO (open) XTI/MCKI 31 XTO CKM NC U1 + 36 CN4 B C 3 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 2 AK5374 Monday, October 15, 2012 Sheet 1 of 2 2 MCKI 3 J1 1 MCKI 2 1 1 R37 JP16 EXT JP19 JP20 VDD DN CKM C30 (open) R38 C31 (open) 0 JP9 CKM (open) REG GND ATIO AVDD 2 C32 1 2 3 4 CSN EPAI CS VCC SO HOLD WP SCK GND SI + TESTM1 8 7 6 5 C35 C33 10u 0.1uF IN 3 + 0.1uF A D- 1 C34 VUSB C36 USB(B type) 10u TESTM2 TESTM3 AK6508CT 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 DVDD OUT TESTM0 0.1u U4 DVDD USB1 D+ 2 1 AVDD JP23 3 REG2 LM1117-3.3V REG JP21 GND +3.3V 4 PC-EPAO 100k LED D1 2 100K B D DP 100k PC-SK PC-SK 5 PC-EPAO A B R43 470 Q1 2.2k DTC123 3 MICRN TP35 MICRN 2 RSTN 1 MICRP 4 3 H DVDD L + RSTN MICRP C23 0.1uF C24 0.1uF SILK-SCREEN 1: VDD 2: MCLR 3: PGD 4: PGC 5: GND C25 10u R-ch MIC 6 MICLN USB-RST LMUTEN RMUTEN MICLN MICLP 4 3 L-ch MIC TP37 MICLP R24 R49 C19 0.1uF 100k JP25 MICLG 18 12 13 33 34 100k R47 DVDD NC/ICCK/ICPGC NC/ICDT/ICPGD NC/ICRST_N/ICVpp NC/ICPORTS 1 1 XTI XTO RMUTEN C22 22pF 30 31 X2 20MHz 2 25 26 27 R99 OSC1/CLKI OSC2/CLKO/RA6 C20 MCLK 1 BICK 3 LRCK 5 SDTI 7 DVDD 9 MCLK BICK LRCK SDTI DVDD R48 (open) SDTO DSP (OPEN) 29 6 PIC18F4550 TQFP 44-PIN RE0/AN5/CK1SPP RE1/AN6/CK2SPP RE2/AN7/OESPP (open) PORT6 2 GND 4 GND 6 GND 8 GND 10 SDTO VSS1 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 1 2 3 4 5 17 16 15 14 11 10 9 8 HEADER 5 C C21 22pF SW 3 LMUTEN PORT3 MCLR_N/Vpp/RE3 100k SW 2 VSS0 TP36 VDD1 VDD0 U3 7 4.7k 28 R25 JP24 MICRG J3 SUSN 2.2k PC-EPAI R26 470nF 51 37 19 20 21 22 23 24 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 RC2/CCP1/P1A RC4/D-/VM RC5/D+/VP RC6/TX/CK RC7/RX/DT/SDO R27 R28 R29 51 51 51 3 PC-EPAO + PC-CSN VUSB RA0/AN0 RA1/AN1 RA2/AN2/Vref-/CVref RA3/AN3/Vref+ RA4/T0CKI/C1OUT/RCV RA5/AN4/SS_N/HLVDIN/C2OUT REG1 LM1117-3.3V PC-SK C27 C26 10u 0.1uF IN GND 6 SW 1 USB-VDD OUT 2 C28 1 TP34 J2 2 C 3 2 1 PC-CSN JP18 PC-CSN MGAIN (open) RP1 PC-EPAI 4 DVDD DVDD 2 4 6 R14 JP15 51 JP17PC-EPAI REG PORT4 1 3 5 MGAIN0 MGAIN1 MGAIN2 5 1 TJ-563 BLK GND1 5 TJ-563 RED +3.3V1 + 0.1uF 32 35 36 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 2 others Monday, October 15, 2012 Sheet 2 of 2 AKD5374-SUB L1 Silk Layout - 19 - AKD5374-SUB L2 Silk Layout - 20 - AKD5374-SUB L1 Pattern Layout - 21 - AKD5374-SUB L2 Pattern Layout - 22 - AKD5374-MAIN L1 Silk Layout - 23 - AKD5374-MAIN L2 Silk Layout - 24 - AKD5374-MAIN L1 Pattern Layout - 25 - AKD5374-MAIN L2 Pattern Layout - 26 -