ASAHI KASEI [AKD4117-B] AKD4117-B AK4117 Evaluation Board Rev.0 GENERAL DESCRIPTION AKD4117-B is the evaluation board for AK4117, 192kHz digital audio receiver. This board has optical connector and BNC connector to interface with other digital audio equipment. Ordering guide AKD4117-B --- Evaluation board for AK4117 (A cable for connecting with printer port of IBM-AT compatible PC and a control software are packed with this. The control software does not operate on Windows NT.) FUNCTION Digital interface -S/PDIF : 8 channel input (optical or BNC) - Serial audio data I/F : 1 output (for DIR data output. 10-pin port) -U bit : -Serial control data I/F 1 input/output port (10-pin port) 5V GND REG Control 3.3V Opt RX0 AK4117 RX1 Serial Data out (From DIR) Figure 1. AKD4117-B Block Diagram *Circuit diagram and PCB layout are attached at the end of this manual. <KM077200> 2004/12 -1- ASAHI KASEI [AKD4117-B] Evaluation Board Manual Operating sequence (1) Set up the power supply lines. [+ 5V] (Red) = 5V [GND] (Black) = 0V (2) Set up the evaluation mode and jumper pins. (Refer to the following item.) (3) Connect cables. (Refer to the following item.) (4) Power on. The AK4117 should be reset once bringing PDN(SW2) “L” upon power-up. Evaluation modes (1) Evaluation for DIR S/PDIF Optical or BNC connector AK4117 (DIR) MCLK BICK LRCK SDTO PORT2 (10pin Header) MCLK BICK LRCK SDTO DAC AKD4117-B The DIR generates MCLK, BICK, LRCK and SDATA from the received data through optical connector(PORT1: TORX176) or BNC connector . The AKD4117-B can be connected with the AKM’s DAC evaluation board via 10-line cable. a. Set-up of Bi-phase Input RX0 and RX1 should not select BNC at the same time. a-1. RX0 Connector JP2(RX0) Optical (PORT1) OPT BNC (J2) BNC Table 1. Set-up of RX0 When S/PDIF signal is inputted from PORT1 (optical), JP19 should be short. a-2. RX1 can be inputted from a BNC (J2) connector only. Input RX1 JP4 JP Short Table 2. Set-up of RX1 <KM077200> 2004/12 -2- ASAHI KASEI [AKD4117-B] a-3. Set-up of AK4117 input path IPS bit Input data 0 RX0 1 RX1 Default Table 3. Recovery Data Select b. Set-up of clock input and output SDTO DAUX NC GND BICK LRCK GND 10 GND 1 GND PORT2 DIR MCLK The signal level outputted/inputted from PORT2 is 3.3V. 5 6 Figure 2. PORT2 pin layout b-1. MCKO1/MCKO2 The AK4117 has a master clock output pin, MCKO. In PLL mode, PCKS1-0 bits select the MCKO frequency as shown in Table 4. When MCKO=512fs, MCKO goes to “L” when fs=96kHz and 192kHz. When MCKO=256fs, MCKO goes to “L” when fs=192kHz. When LP bit is set to “1”, the AK4117 is in low power mode (default). In low power mode, PLL lock range is up to 48kHz and the MCKO frequency is fixed to 256fs. In the X’tal mode, XCKS1-0 bits select the ratio of the X’tal frequency to fs (sampling frequency). The DIV bit selects the ratio (x1 or x1/2) of the MCKO frequency to the X’tal frequency (Table 5). LP 0 1 PCKS1 0 0 1 1 x PCKS0 0 1 0 1 x MCKO 512fs 256fs 128fs N/A 256fs fs [kHz] 32 ∼ 48 32 ∼ 96 32 ∼ 192 N/A 32 ∼ 48 Default Table 4. Master Clock Frequency Select (PLL mode: Clock operation mode 0, 2(UNLCK=0)) XCKS1 XCKS0 X’tal or EXT 0 0 1 1 0 1 0 1 128fs 256fs 512fs 1024fs MCKO DIV=0 128fs 256fs 512fs 1024fs DIV=1 64fs 128fs 256fs 512fs fs [kHz] EXTCLK [MHz] X’tal [MHz] 2.048 4.096 8.192 11.2896 12.288 24.576 16 32 64 88.2 96 192 8 16 32 44.1 48 96 N/A 8 16 N/A N/A 48 N/A N/A 8 N/A N/A N/A Default Table 5. Master Clock Frequency Select (X’tal mode: Clock operation mode 1, 2(UNLCK=1), 3) <KM077200> 2004/12 -3- ASAHI KASEI c. [AKD4117-B] Set-up of Audio format Please set up DIF2-0 bit. Mode 0 1 2 3 4 5 6 7 DIF2 bit 0 0 0 0 1 1 1 1 DIF1 bit 0 0 1 1 0 0 1 1 DIF0 bit 0 1 0 1 0 1 0 1 DAUX SDTO 24bit, Left justified 24bit, Left justified 24bit, Left justified 24bit, Left justified 24bit, Left justified 24bit, I2S 16bit, Right justified 18bit, Right justified 20bit, Right justified 24bit, Right justified 24bit, Left justified 24bit, I2S LRCK I/O H/L O H/L O H/L O H/L O H/L O L/H O Default Reserved Table 6. Audio format d. Set-up of CM1 and CM0 The operation mode of PLL is selected by CM1 and CM0. It can be selected by CM1-0 bits. SDTO CM1 bit CM0 bit (UNLOCK) PLL X'tal Clock source 0 0 - ON ON(Note 1) PLL(RX) RX 0 1 1 0 1 1 source - OFF ON X'tal DAUX 0 ON ON PLL(RX) RX 1 ON ON X'tal DAUX - ON ON X'tal DAUX Default ON: Oscillation (Power-up), OFF: STOP (Power-Down) Note: When the X’tal is not used as clock comparison for fs detection (XTL0, 1= “1,1”), the X’tal is OFF. Table 7. Clock Operation Mode Select <KM077200> 2004/12 -4- ASAHI KASEI [AKD4117-B] U output U(user data) can be monitored by TP1: U. Serial control GND GND CCLK CSN GND GND CDTI 1 NC 2 CDTO PORT6 uP I/F GND The AK4117 can be controlled via the printer port (parallel port) of IBM-AT compatible PC. Connect PORT6 (uP-I/F) with PC by 10-line flat cable packed with the AKD4117-B. Take care of the direction of connector. There is a mark at pin#1. The pin layout of PORT6 is as Figure 3. 10 9 Figure 3. PORT6 pin layout This evaluation board encloses control software. A software operation procedure is included in an evaluation board manual. <KM077200> 2004/12 -5- ASAHI KASEI [AKD4117-B] Toggle switch set-up SW2 Reset switch for AK4117. Set to “H” during normal operation. Bring to “L” once after the power is supplied. PDN LED indication LE1 INT0 LE2 INT1 Bright when INT0 pin goes to “H”. Bright when INT1 pin goes to “H”. Set-up of XTL1 and XTL0 SW3_6 XTL1 0 0 1 1 SW3_5 X’tal Frequency XTL0 X’tal #1 0 11.2896MHz 1 12.288MHz 0 24.576MHz 1 (Use channel status) Table 8. Reference X’tal frequency Jumper set up. No. Jumper Name 2 RX0 4 RX1 Default Function Set-up of RX0 input circuit. OPT : Optical (default) BNC : BNC Set-up of RX1 input circuit. <KM077200> 2004/12 -6- ASAHI KASEI [AKD4117-B] Control Software Manual Set-up of evaluation board and control software 1. Set up the AKD4117-B according to previous term. 2. Connect IBM-AT compatible PC with AKD4117-B by 10-line type flat cable (packed with AKD4117-B). Take care of the direction of 10pin header. (Please install the driver in the CD-ROM when this control software is used on Windows 2000/XP. Please refer “Installation Manual of Control Software Driver by AKM device control software”. In case of Windows95/98/ME, this installation is not needed. This control software does not operate on Windows NT.) 3. Insert the CD-ROM labeled “AKD4117-B Evaluation Kit” into the CD-ROM drive. 4. Access the CD-ROM drive and double-click the icon of “akd4117-b0.exe” to set up the control program. 5. Then please evaluate according to the follows. Operation flow Keep the following flow. 1. Set up the control program according to explanation above. 2. Click “Write default” button. 3. Then set up the dialog and input data. Explanation of each buttons 1. [Port Setup] : 2. [Write default] : 3. [All Write] : 4. [Read All] : 5. [Function1] : 6. [F3] : 7. [SAVE] : 8. [OPEN] : 9. [Write] : 10. [Read] : Set up the printer port. Initialize the register of AK4117. Write all registers that is currently displayed. All the registers of AK4117 are read. Dialog to write data by keyboard operation. Dialog of sequential writing. Save the current register setting. Write the saved values to all register. Dialog to write data by mouse operation. The data corresponding to each register is read. <KM077200> 2004/12 -7- ASAHI KASEI [AKD4117-B] Explanation of each dialog 1. [Function1 Dialog] : Dialog to write data by keyboard operation Address Box: Data Box: Input register address in 2 figures of hexadecimal. Input register data in 2 figures of hexadecimal. If you want to write the input data to AK4117, click “OK” button. If not, click “Cancel” button. 2. [Write Dialog] : Dialog to write data by mouse operation There are dialogs corresponding to each register. Click the “Write” button corresponding to each register to set up the dialog. If you check the check box, data becomes “H” or “1”. If not, “L” or “0”. If you want to write the input data to AK4117, click “OK” button. If not, click “Cancel” button. Indication of data Input data is indicated on the register map. Red letter indicates “H” or “1” and blue one indicates “L” or “0”. Blank is the part that is not defined in the datasheet. Attention on the operation If you set up Function1 dialog, input data to all boxes. Attention dialog is indicated if you input data or address that is not specified in the datasheet or you click “OK” button before you input data. In that case set up the dialog and input data once more again. These operations does not need if you click “Cancel” button or check the check box. <KM077200> 2004/12 -8- ASAHI KASEI [AKD4117-B] Revision History Date (YY/MM/DD) 04/12/21 Manual Board Revision Revision KM077200 0 Reason Contents First edition IMPORTANT NOTICE • These products and their specifications are subject to change without notice. Before considering any use or application, consult the Asahi Kasei Microsystems Co., Ltd. (AKM) sales office or authorized distributor concerning their current status. • AKM assumes no liability for infringement of any patent, intellectual property, or other right in the application or use of any 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 components in any safety, life support, or other hazard related device or system, and AKM assumes no responsibility relating to any such use, except with the express written consent of the Representative Director of AKM. As used here: (a) 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. (b) 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. • It is the responsibility of the buyer or distributor of an AKM product who distributes, disposes of, or otherwise places the product with a third party to notify that 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. <KM077200> 2004/12 -9- 5 4 3 2 1 33 34 35 INT0 36 INT1 37 CDTO 38 CDTI 39 CCLK 40 CSN 41 42 43 44 45 46 47 48 CN5 D D CN6 CN7 32 49 31 U7 50 R61 30 51 10u AVSS 24 2 AVDD PDN 23 3 RX1 INT0 22 29 C20 0.1u + AVDD R 13k C19 52 1 PDN 28 C 53 C 27 54 4 NC INT1 21 55 5 RX0 CSN 20 6 DVDD CCLK 19 7 DVSS CDTI 18 8 XTI CDTO 17 9 XTO UOUT 16 NC 15 26 25 56 RX0 R62 1k C21 RX1 24 C22 0.1u JP19 JMP 23 C23 2 58 + 10u 57 5p X1 11.2896MHz 1 C24 59 22 5p B 21 10 60 LRCK B 20 61 11 BICK MCKO 14 62 12 SDTO DAUX 13 U 19 18 63 AK4117 17 64 LRCK A 16 SDTO 15 14 BICK 13 12 11 10 MCKO 9 8 7 DVDD 6 5 PDN 4 3 2 1 DAUX PDN A Title CN8 Size A3 Date: 5 4 3 2 AKD4117 Document Number R ev SUB Tuesday, December 21, 2004 A Sheet 1 3 of 3 5 4 3 2 1 CN4 PORT1 6 6 D3V 5 5 L1 4 3 2 1 GND VCC GND OUT C7 TORX176 C2 C3 C4 C5 0.1u0.1u0.1u 0.1u 0.1u 0.1u C6 49 10u 1 1 For U3, U4 D3V 2 VD 50 C8 + 2 For U1, U2, U5 D3V R1 10u 51 JP2 OPT 1 XLR 3 B NC 5 470 D 2 4 6 AVDD AVDD 52 D 53 T2 LP2950A 54 +5V R4 1 OUT C11 47u IN 55 3 VD RX0 short 57 J2 C13 RX0 2 3 4 5 T3 TA48M033F OUT 1 IN + 3 C14 47u R5 0.1u 75 58 JP4 1 2 59 1 2 2 + RX1 1 1 2 short GND R6 DVDD 56 2 + 2 short 1 AVDD GND R3 60 C15 47u 61 C R8 62 short 63 C D3V 64 CN1 1 2 3 PDN 5 D3V 100 R12 K EMCK2 H 1 DAUX2 6 7 R10 DAUX2 DAUX 8 100 C16 SW2 PDN 3 L U2B 74HC14 4 7 12 R11 14 4Y 100 A 9 DVDD B U2A 74HC14 2 3 7 3Y 1 G A/B 2Y D3V 10k D1 1S1588 14 16 15 1 4 7 100 1Y DVDD 9 0.1u MCKO1 2 R83 10k EMCK1 1A 1B 2A 2B 3A 3B 4A 4B D3V R82 R9 D3V 2 3 5 6 11 10 14 13 GND U1 B 4 10 8 74LVC157 11 12 100 D3V 1 2 3 4 5 100 100 100 100 DIR U3 18 17 16 15 14 13 12 11 B0 B1 B2 B3 B4 B5 B6 B7 GND A R15 R16 R18 R20 13 20 MCLK BICK LRCK SDTO DAUX D3V/VD PORT2 G ND 10 G ND 9 G ND 8 G ND 7 G ND 6 R13 A0 A1 A2 A3 A4 A5 A6 A7 2 3 4 5 6 7 8 9 DIR OE 1 19 47k 47k 47k 47k 47k 47k R76 R77 R78 R79 R80 R81 100 R17 BICK 100 100 R19 R21 SDTO LRCK 14 15 A 16 10 74AC245 Title Size A3 Date: 5 4 3 2 AKD4117-B Document Number R ev MAIN Friday, December 24, 2004 0 Sheet 1 1 of 2 5 4 3 2 1 CN2 GND +5V T45_BK T45_BK 17 18 1 1 TP1 U U 19 +5V 20 D D 21 22 23 24 25 26 27 28 29 30 C C 31 14 32 LE1 A CN3 U2C R45 K 6 33 5 1k INT0 34 14 7 74HC14 INT1 9 D3V 1k 10k R49 470 R51 10k R52 470 R54 10k R55 470 14 VD U2E B 11 10 PORT6 10 8 6 4 2 14 7 74HC14 U2F 35 9 7 5 3 1 CSN R56 SCL/CCLK 51 SDA/CDTI SDA(ACK)/CDTO 2 3 5 6 11 10 14 13 1A 1B 2A 2B 3A 3B 4A 4B 15 1 G A/B CM0/CDTO/CAD1 1Y 4 2Y 7 3Y 9 4Y 12 37 R50 CM1/CDTI/SDA 100 R53 38 B 100 OCKS1/CCLK/SCL OCKS0/CSN/CAD0 39 40 41 74LVC157 12 36 8 13 U5 R48 74HC14 16 8 7 INT1 U2D R47 K D3V A GND LE2 D3V INT0 uP-I/F 42 7 74HC14 R58 R59 D3V R60 43 100 10k 44 100 45 46 47 A A 48 Title Size A3 Date: 5 4 3 2 AKD4117-B Document Number R ev MAIN Wednesday, December 22, 2004 0 Sheet 1 2 of 2