ASAHI KASEI [AKD4112B] AKD4112B AK4112B Evaluation Board Rev.A GENERAL DESCRIPTION AKD4112B is the evaluation board for AK4112B, 96kHz digital audio transceiver. This has optical and BNC connector to interface with other digital audio equipment. The AKD4112B is also available to output analog data via on-board DAC, AK4394. n Ordering guide AKD4112B --- Evaluation board for AK4112B (A cable for connecting with printer port of IBM-AT compatible PC and a control software are packed with this.) FUNCTION o Digital interface -S/PDIF : 4 channel input ( optical or BNC) 1 channel output ( optical or BNC) - Serial audio data I/F : 1 output ( for DIR data output. 10-pin port) o Analog interface -DAC output : Differential stereo output (Lch/Rch) o 10pin header for serial control interface 3.3V GND Control 5V GND DAC(AK4394) +12V -12V Analog Buffer Opt AK4112B RX0 Serial Data out Fig 1. AKD4112B Block Diagram *Circuit diagram and PCB layout are attached at the end of this manual. <KM065901> 2002/12 -1- ASAHI KASEI [AKD4112B] n Evaluation modes (1) Evaluation for DIR (Digital output) S/PDIF in(optical or BNC) – AK4112B – Serial Data out(10pin port) (2) Evaluation for DIR(analog output via DAC) S/PDIF in(optical or BNC) – AK4112B – DAC(AK4394) – Analog out(Balance XLR) n Operating sequence (1) Set up the power supply lines. [-12V] (Blue) = -12 ~ -15V [+12V] (Orange) = +12 ~ +15V [Analog 5V] (Red) = 5V : Open when the JP15(REG5V) is short. [AGND] (Black) = 0V [Digital 5V] (Red) = 5V [DGND] (Black) = 0V [Analog 3V] (Green) = 3.3V : Open when the JP13(REG3V) is short. [AGND2] (Black) = 0V [Digital 3V] (Green) = 3.3V Each supply line should be distributed from the power supply unit. (2) Set up the evaluation mode and jumper pins. (See p.3.) (3) Connect cables. (4) Power on. The AK4112B and AK4394 should be reset once bringing PDN(SW3) “L” upon power-up. (5) Set up software. Both the serial and parallel mode are available for AK4112B. AK4394 is fixed to serial control mode. In the serial mode, The IBM-AT compatible PC can control both AK4112B and AK4394 by using the printer port and PORT2 on the AKD4112B. Connect PORT2 (uP-I/F) with PC by 10-line flat cable packed with the AKD4112B. 10 PORT2 uP-I/F 9 CSN CCLK CDTI CDTO 2 Take care of the direction of connector. There is a mark at pin#1. The pin layout of PORT2 is as Figure 2. 1 Figure 2. PORT2 pin layout n Connection of PORT2 CSN CCLK/SCL Connect CDTI/SDA AKD4114 PC CDTO/ACK 10 wire flat cable 10 pin Connector 10 pin Header <KM065901> 2002/12 -2- ASAHI KASEI [AKD4112B] n Jumper set up. (See the datasheet of AK4112B) No. Jumper Name Function RX0 input circuit set-up. OPT : Optical (default) 1 RX0 BNC : BNC SDA/CDTO pin set-up 2 SDA/CDTO Serial mode : Short both “SDA” and “CDTO/CM0=L”. (default) Parallel mode : Select CM0=”H” or CM0=”L” to set CM0 3 Don’t care 5,6,8 RX4-7 Don’t care 4 DIT MCLK Don’t care MCKO set-up for PORT4(DIR; DAC) MCKO1 : MCKO1 of AK4112B (default) 7 DIR MCLK , MCKO2 : MCKO2 of AK4112B 9 TX0 Don’t care Don’t care 10 TX1 11 BNC 12 4112B VD 13 REG3V 14 4395_DVDD 15 REG5V 16 AGND2/DGND 17 AGND2/DGND Don’t care Power supply source set-up for DVDD of AK4112B. D3V : from Digital 3V Jack (default) A3V : from Analog 3V Jack. Power supply source set-up for AVDD of AK4112B. Open : from Analog 3V Jack (default) Short : from the regulator. Do not connect anything the Analog 3V Jack. Power supply source set-up for DVDD of AK4394. D5V : from Digital 5V Jack (default) A5V : from Analog 5V Jack Power supply source set-up for AVDD of AK4394. Open : from Analog 5V Jack (default) Short : from the regulator. Do not connect anything the Analog 5V Jack. Connection of AGND2(AK4112B AVSS) and DGND(AK4112B DVSS) Open : Separate two grounds. Short : Connect two grounds. (default) Connection of AGND(AK4394 AVSS) and DGND(AK4112B DVSS) Open : Separate two grounds. (default) Short : Connect two grounds. <KM065901> 2002/12 -3- ASAHI KASEI [AKD4112B] n DIP switch(SW1) set-up : -off- means “L” No. Switch Name Function 1 IPS0 Don’t care 2 DIF0 DIF0 pin set-up (for parallel mode) 3 DIF1 DIF1 pin set-up (for parallel mode) 4 DIF2 DIF2 pin set-up (for parallel mode) 5 IPS1/IIC Don’t care P/SN pin set-up. “H”: parallel mode, “L”: serial mode. 6 P/SN 7 XTL0 Don’t care 8 XTL1 Don’t care n DIP switch(SW2) set-up : -off- means “L” No. Switch Name Function 1 CM1 CM1 pin set-up (for parallel mode) 2 OCKS1 OCKS1 pin set-up (for parallel mode) 3 OCKS0 OCKS0 pin set-up (for parallel mode) 4 TEST1 Don’t care 5 (reserved) 6 - (reserved) 7 8 - (reserved) (reserved) n Toggle switch set-up 3 Reset switch for AK4112B and AK4394. Set to “H” during operation. Bring to “L” once after the power is supplied. PDN n LED indication 1 INT0 2 INT1 Bright when ERF pin goes to “H”. Bright when FS96 pin goes to “H”. n Set-up of AK4394 (for the evaluation via DAC. Refer the AK4394 datasheet) In case of evaluating via DAC(AK4394), the AK4394 needs to be controlled by serial control. The default set-up of AK4394 audio format is 16bit right justified, but AK4112B is left justified slave mode. Please adjust those two audio formats. In detail, please refer those datasheets. n Set-up of AK4112B (Refer the AK4394 datasheet) 1. MCKO1/2 output No. 0 1 2 3 OCKS1 0 0 1 1 OCKS0 MCKO1 MCKO2 X’tal 0 256fs 256fs 256fs 1 256fs 128fs 256fs 0 512fs 256fs 512fs 1 Test Mode Table 1. Master Clock Frequency Select <KM065901> fs (kHz) 32, 44.1, 48, 96 32, 44.1, 48, 96 32, 44.1, 48 Default 2002/12 -4- ASAHI KASEI [AKD4112B] 2. Clock operation mode Mode CM1 CM0 0 1 0 0 0 1 2 1 0 3 1 1 UNLOCK PLL X'tal Clock source SDTO ON ON(Note) PLL RX OFF ON X'tal DAUX 0 ON ON PLL RX 1 ON ON X'tal DAUX ON ON X'tal DAUX ON: Oscillation (Power-up), OFF: STOP (Power-down) Default Table 2. Clock Operation Mode select 3. Audio interface format DIF2 DIF1 DIF0 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 DAUX 24bit, Left justified 24bit, Left justified 24bit, Left justified 24bit, Left justified 24bit, Left justified 24bit, I2S 24bit, Left justified 24bit, I2S LRCK I/O 16bit, Right justified H/L O 18bit, Right justified H/L O 20bit, Right justified H/L O 24bit, Right justified H/L O 24bit, Left justified H/L O 24bit, I2S L/H O 24bit, Left justified H/L I 24bit, I2S L/H I Table3. Audio Data Format SDTO <KM065901> BICK 64fs 64fs 64fs 64fs 64fs 64fs 64-128fs 64-128fs I/O O O O O O O I I Default 2002/12 -5- ASAHI KASEI [AKD4112B] AKD4112B Control Program operation manual n Set-up of evaluation board and control software 1. Set up the AKD4112B according to previous term. 2. Connect IBM-AT compatible PC with AKD4112B by 10-line type flat cable (packed with AKD4112B). Take care of the direction of 10pin header. (Please install the driver in the floppy-disk 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 “AK4112B Evaluation Kit” into the CD-ROM drive. 4. Access the CD-ROM drive and double-click the icon of “akd4112B”to set up the control program. 5. Then please evaluate according to the follows. n Operation flow Keep the following flow. 1. Set up the control program according to explanation above. 2. Click “Port Setup” button. 3. Then set up the dialog and input data. n Explanation of each buttons 1. [Port Setup] : set up the printer port. 2. [Write default] : initialize the register of AK4112B. 3. [All read] : read all registers. 4. [Read] : read data from each register. 5. [Write] : write data to each register. If you want to write the input data to AK4112B, click “OK” button. If not, click “Cancel” button. n 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. End. <KM065901> 2002/12 -6- ASAHI KASEI [AKD4112B] AK4394 Control Program ver 1.0 operation manual 1. Connect IBM-AT compatible PC with AKD4112B by 10-line type flat cable (packed with AKD4112B). Take care of the direction of 10pin header. (Please install the driver in the floppy-disk 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.) 2. Insert the CD-ROM labeled “AK4112B Evaluation Kit” into the CD-ROM drive. 3. Access the CD-ROM drive and double-click the icon of “ak4394.exe” to set up the control program. 4. Then follow the displayed comment (See the following). ==================== <<Operating flow>> ===================== Display register map à Write data / Reset etc.à loop ========================================================= At first the following default data and register map are displayed: ****** AK4394 Control Program ver 2.0 , '02/12 ****** Copyright(c) 2002, Asahi Kasei Microsystems co.,ltd. All rights reserved. ----------------------------------------------------------------------------ADDR = 00 : 01 <Control 1> ( 0 CKS2 CKS1 CKS0 DIF2 DIF1 DIF0 RSTN ) ADDR = 01 : 00 <Control 2> ( DZFE DZFM SLOW DFS1 DFS0 DEM1 DEM0 SMUTE) ADDR = 02 : 00 <TEST> ( GA1 GA0 TEST5 TEST4 TEST3 TEST2 TEST1 TEST0) Input 1(Write), R(Reset) or S(Stop) : 1) If you input “1”, you can write data to AK4394. The following message is displayed: You can write data to AK4394 Input Register Address(2 figure, hex)(00-02) = Input register address in 2 figures of hexadecimal. (Significant figure can be omitted if it is “0”.) Then current data of this address is displayed: ADDR = 00 : 01 <Control 1> ( 0 CKS2 CKS1 CKS0 DIF2 DIF1 DIF0 0 0 0 0 0 0 0 Input Register Data (2 figure, hex)(00-FF) = Input control data in 2 figures of hexadecimal. Then the data written to this address is displayed. ADDR = 00 : 01 <Control 1> ( 0 CKS2 CKS1 CKS0 DIF2 DIF1 DIF0 0 0 0 1 0 1 0 RSTN ) 1 RSTN ) 1 2) If you input “R” or “r”, this program writes default data to all register addresses. 3) If you input “S” or “s”, this program is terminated. End. <KM065901> 2002/12 -7- ASAHI KASEI [AKD4112B] 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. <KM065901> 2002/12 -8- 1 2 3 4 J10 TX1 J9 TX0 3 J11 XLIN 3 J7 BNC J5 BNC J3 BNC J1 BNC 2 2 JP11 BNC 1:1 T2 DA02-F 1:1 T1 DA02-F 4 3 2 1 J8 BNC J6 BNC J4 BNC J2 BNC PORT5 5 5 IN VCC IF 6 6 GND TOTX176 R24 75 R21 75 R18 75 R12 75 4 3 2 1 E E R33 1k +C5 10u R44 150 R36 150 R28 75 R22 75 R20 75 R15 75 JP10 TX0 BNC XLR 240 R42 240 R34 C21 0.1u VD 0.1u C15 0.1u C13 0.1u C6 0.1u C4 RX6 VIN JP9 TX0 BNC OPT 0.1u BNC OPT DIF2 DIF0 JP8 RX7 RX7 DIF2 0.1u C14 0.1u C11 JP1 RX0 C16 IPS0 RX4 JP6 RX6 DIF1 DIF0 IPS0 0.1u C10 VD JP3 RX4 470 R6 0.1u C8 L1 10u DIF0 RX5 VD D 47k RP1 JP5 RX5 D 1 2 3 4 5 6 7 8 9 10k BCUV R73 1 2 3 4 5 PORT6 10 9 8 7 6 IPS1/IIC P/SN XTL0 XTL1 VIN INT1 LE2 INT0 LE1 IPS0 DIF0 DIF1 DIF2 IPS1/IIC P/SN XTL0 XTL1 BOUT COUT UOUT VOUT VIN VD 1 2 3 4 5 6 7 8 SW1 R35 R37 R38 R39 R40 C17 10u U1D 74HCT14 8 6 16 15 14 13 12 11 10 9 100 100 100 100 100 C18 0.1u + IPS0/RX4 AVSS DIF0/RX5 TEST2 DIF1/RX6 AVSS DIF2/RX7 IPS1/IIC P/SN XTL0 XTL1 VIN TEST1 1 2 3 4 5 6 7 8 9 10 11 12 1k R7 1k R1 U1C 74HCT14 A3V 9 5 C IPS0 DIF0 DIF1 DIF2 IPS1/IIC P/SN XTL0 XTL1 VD VIN C 47k RP2 D3V C19 0.1u C20 10u 1 2 3 4 5 6 7 8 9 36 35 34 33 32 31 30 29 28 27 26 25 R16 18k C12 0.47u C9 0.1u C7 10u INT0 OCKS0/CSN OCKS1/CCLK CM1/CDTI CM0/CDTO PDN XTI U4 XTO DAUX AK4114 MCKO2 BICK SDTO 48 47 46 45 44 43 42 41 40 39 38 37 RX3 AVSS RX2 TEST1 RX1 AVSS RX0 AVSS VCOM R AVDD INT1 TVDD DVSS TX0 TX1 BOUT COUT UOUT VOUT DVDD DVSS MCKO1 LRCK 13 14 15 16 17 18 19 20 21 22 23 24 + PORT1 6 6 GND VCC 5 5 GND OUT TORX176 1 + 1 uP-I/F 5p CM1 OCKS1 OCKS0 TEST1 5p C23 C22 R31 R32 CSN CCLK CDTI CDTO PDN XTI XTO R25 R26 R27 R29 1 2 3 4 5 R9 R5 R3 100 100 100 100 100 100 1 2 3 4 5 6 7 8 SW2 MCKO1 MCKO2 XTI 16 15 14 13 12 11 10 9 CM1 VD B SW3 PDN H L D3V 1 15 2 3 5 6 11 10 14 13 VD D1 1S1588 SDA/CDTO JP2 P/SN (Reserved) CM1 OCKS1 OCKS0 TEST1 MCKO1 MCKO2 JP7 DIR MCLK XTO 11.2896MHz X1 10k B 470 OCKS0 470 OCKS1 470 SDA CDTO/CM0=H CM0=L JP4 DIT MCLK D3V R13 CSN SCL/CCLK R10 SDA/CDTI 51 SDA(ACK)/CDTO 10k R8 PORT2 10 9 8 7 6 10k 10k R2 R4 VD 2 1 + 4Y 3Y 2Y 1Y 1 12 9 7 4 U1A 100 R19 Date: A3 Size Title 1 3 1 2 3 4 5 1 2 3 4 5 100 R43 AK4114 A VD 1 PDN 10k R30 AKD4114 4 DIR GND GND NC NC NC 10k of 2 PDN CDTO CDTI CCLK CSN VD GND GND NC NC NC R23 PORT4 10 9 8 7 6 DIT PORT3 10 9 8 7 6 100 100 100 74HCT14 U1B MCLK BICK LRCK SDTO MCLK BICK LRCK DAUX R17 R14 R11 C1 C2 C3 0.1u 0.1u 0.1u For U1,U2,U3 Sheet Wednesday, December 06, 2000 Document Number 2 10k R74 74LS07 U3A 2 MCLK BICK LRCK SDTO C24 74HCT14 0.1u R41 10k 10k R100 A/B G 74HCT157 U2 1A 1B 2A 2B 3A 3B 4A 4B VD A A Rev 1 2 3 4 A B C D 47u C25 LRCK SDTO BICK MCLK + 10u L2 R60 R57 R56 R54 5 100 100 100 100 D3V 3 1 D3V A3V 4114 VD JP12 2 5.1 R45 CCLK CDTI CSN PDN 47u C26 + 0.1u C53 Analog 3V 1 2 3 4 5 6 7 8 9 10 11 12 13 14 REG 3V JP13 VD A3V U6 DVSS ACKS/DZFR DVDD CKS1/CAD1 MCLK CKS0/DZFL PDN P/S BICK VCOM SDATA AOUTL+ LRCK AOUTLSMUTE/CSN AOUTR+ DFS0/CAD0 AOUTRDEM0/CCLK AVSS DEM1/CDTI AVDD DIF0 VREFH DIF1 VREFL DIF2 BVSS AK4394 10u +C54 10u L3 4 28 27 26 25 24 23 22 21 20 19 18 17 16 15 47u 1 +C37 OUT 0.1u C59 AOUTL1+ AOUTL1AOUTR1+ AOUTR1- 0.1u 3 C55 IN T3 LP2950A 4394 A5V AGND2 10u + C60 +C56 10u JP16 47u C27 + JP17 10u L4 3 AOUTR1+ AOUTR1- AOUTL1+ AOUTL1- AGND VD (short) C51 1 A5V 4395_DVDD JP14 D5V 3 AGND/DGND DGND AGND2/DGND REG 5V Digital 5V 3 2 Digital 3V GND 2 4 (short) C57 + (short) C63 + (short) C65 + 5 (open) R72 300 R70 (open) R64 300 R62 (open) R61 300 R58 (open) 300 6800p C67 300 R71 300 R63 6800p C62 6800p C61 300 R59 300 R48 6800p C50 REG 5V 4394 A5V R47 R49 5.1 R46 47u 6800p C66 6800p C64 6800p C58 6800p C52 3 OUT + C39 3 + 2 - 2 3 3 2 3 + 2 - 1 6 6 6 VOP+ 6 2 NJM5534D U9 VOP- VOP- U8 NJM5534D VOP+ VOP+ U7 NJM5534D VOP- VOP- U5 0.1u C40 47u +C38 180 R69 750 R67 180 R65 180 R55 750 R52 180 R50 Analog 5V 2 NJM5534D VOP+ IN T4 NJM78M05FA JP15 REG 5V 10u L5 + + GND 2 7 4 + 4 7 Date: A3 Size Title R68 R66 R53 100 100 100 100 10u L7 10u L6 for NJM5534D x 4 C29 C30 C31 C32 C33 C34 C35 C36 + + + 3 3 2 3 1 Sheet Wednesday, December 06, 2000 AK4394 AKD4114 2 3 AOUTR(CANNON_M) J13 2 J12 2 AOUTL(CANNON_M) 2 10u 0.1u 10u 0.1u 10u 0.1u 10u 0.1u + C42 C43 C44 C45 C46 C47 C48 C49 for NJM5534D x 4 10u 0.1u 10u 0.1u 10u 0.1u 10u 0.1u Document Number + +12V R51 47u C41 47u C28 -12V 1 1 1 1 1 + 7 + 4 + 4 + 7 + of 2 VOP+ VOP- A Rev A B C D A B C 5 48pin_4 48 47 46 45 44 43 42 41 40 39 38 RX1 AVSS AVDD FS96 36 18k 4 48pin_1 CN1 + C7 10u R1 C6 5p X1 OCKS1/CCLK 34 11.2896MHz TVDD DVSS DVDD C8 0.1u 31 30 PDN V/TX 1 2 3 4 5 6 7 8 9 10 11 12 13 14 C3 0.1u C1 10u 1 2 PDN PDN + ERF C5 5p 1 2 OCKS0/CSN 35 2 1 FS96 1 37 2 CN4 DIF0/RX2 3 DIF1/RX3 5 ERF 28 DAUX C2 10u 2 1 29 C4 0.1u DVDD CM0/CDTO DVSS CM1/CDTI TVDD OCKS1/CCLK V/TX OCKS0/CSN XTI MCKO1 XTO MCKO2 PDN DAUX R BICK AVDD SDTO AVSS LRCK RX1 ERF RX2/DIF0 FS96 RX3/DIF1 P/S RX4/DIF2 AUTO AK4112BVF U1 7 3 28 27 26 25 24 23 22 21 20 19 18 17 16 15 ERF FS96 26 BICK 48pin_3 8 25 CN3 6 27 MCKO2 P/S 9 DIF2/RX4 3 11 SDTO 4 10 D 5 12 + 4 CM0/CDTO 32 CM1/CDTI 33 2 2 TVDD V/TX DVDD DVSS TVDD V/TX AUTO DVDD DVSS MCKO1 LRCK Date: A3 Size Title 48pin_2 13 14 15 16 17 18 19 20 21 22 23 24 CN2 1 Sheet AK4112B Monday, November 27, 2000 Document Number 1 of AKD4112BVF-SUB 1 1 SUB Rev A B C D