xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform Hardware Manual IN THIS DOCUMENT · Features · xCORE-AUDIO processor device · Analog audio output · Digital audio output · Audio clocking · USB Connectivity · General purpose user interface · Quad SPI Flash Memory · Power connector · Operating requirements · Dimensions · xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform schematics · RoHS and REACH The xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform is a complete hardware and reference software platform targeted at high resolution stereo DAC and Headphone Amplifier applications. The platform hardware is based around the XHRA-2HPA xCORE-AUDIO processor; an xCORE-AUDIO device with an integrated High Speed USB 2.0 PHY. The xCOREAUDIO HiRes-2 DAC/HPA platform supports a high speed USB interface, streaming 2 output channels of bit-perfect audio at up to 384kHz. Ideal for high resolution stereo DAC and headphone amplifier applications. Publication Date: 2015/7/9 XMOS © 2015, All Rights Reserved Document Number: XM008625C xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform Hardware Manual 1 2/12 Features The diagram below shows the key features of the xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform: G QUAD SPI FLASH C I2S/ DSD A E Figure 1: xCOREAUDIO HiRes-2 DAC/HPA Reference Platform block diagram RESET XHRA-2HPA xCORE-AUDIO HiRes-2 USB MICRO USB DAC/ HPA I2C B S/ PDIF STEREO HP JACK MCLK 24M F D CLOCK GEN XTAL I2C Si5351A H Q MCLK_DAC D · A: xCORE-AUDIO (XHRA-2HPA) audio processing device · B: Combined S/PDIF / stereo 3.5mm output jack · C: 384kHz 32b audio DAC · D: An ultra low-jitter programmable audio phase lock loop · E: USB 2.0 micro-B jack · F: Two general purpose LEDs · G: 2MB Quad SPI flash memory · H: 24MHz Oscillator XM008625C xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform Hardware Manual 2 3/12 xCORE-AUDIO processor device xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform is based on an xCORE-AUDIO device (XHRA-2HPA). The xCORE-AUDIO HiRes family includes 2-channel, 5.1 and 7.1 USB audio high resolution interfaces. Audio data from PC, Mac, smartphones and tablets can be streamed through the device to I2S, DSD and/or S/PDIF interfaces. Sample rates of up to 384kHz, and sample depths of up to 32 bits are supported. For information on xCORE-AUDIO processors see the xCORE-AUDIO High Resolution Audio for Consumer Products1 . PC MAC USB USB iOS Android USB PHY GPI Figure 2: xCOREAUDIO device Isochronous Endpoint Handler Control Endpoint Handler GPIO Control I2C GPIO I2C 1 https://www.xmos.com/products/silicon/xcore-audio XM008625C I2S generation DSD generation dev ctrl S/PDIF generation P I N M U X I2S DSD S/PDIF xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform Hardware Manual 3 4/12 Analog audio output Two single-ended analog output channels are provided. Each is fed from an ESS 9018Q2C DAC. The analog output uses a combined DLT13M1 connector. J2: DLT13M1 Figure 3: Analog audio output 4 U5: 9018Q2C Digital audio output An optical digital audio transmitter is provided to enable digital audio output in IEC60958 consumer mode (S/PDIF). The data stream from the xCORE-AUDIO is re-clocked using the external master clock to synchronize the data into the audio clock domain. This is achieved using a simple external D-type flip-flop. The optical output uses a combined DLT13M1 connector. X1: FA238 U4: 74AHC1G79 Figure 4: Optical audio output XM008625C U5: 9018Q2C J2: DLT13M1 xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform Hardware Manual 5 5/12 Audio clocking A flexible clocking scheme is used for the xCORE-AUDIO processor and audio paths. X1: FA238 Figure 5: Clocking circuit U3: Si5351 To accommodate a multitude of clocking options, the low-jitter master clock is generated locally using a frequency multiplier PLL chip. The chip used is a Silabs 5351A, which is pre-programmed to provide a 24MHz clock as a main processor clock to the xCORE-AUDIO device, and either a 24.576 MHz or 22.5792MHz for the audio path. The Silabs 5351A device is controlled using I2C interface operating at 100KHz. See the XHRA-2HPA datasheet for further information on the I2C bus. 6 USB Connectivity The xCORE-AUDIO HiRes-2 DAC/HPA platform includes a micro-USB Type B connector for digital connections to devices running Windows, Mac OS X, iOS and Android. The figure below shows the layout of the USB subsection: J1: MICRO USB TYPE B Figure 6: USB section The connector is connected to the XHRA-2HPA device, which incorporates a dedicated USB 2.0 PHY device. XM008625C xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform Hardware Manual 7 6/12 General purpose user interface Two green LEDs are provided for general purpose user interfacing. See the XHRA-2HPA datasheet for further information on accessing user GPIO. The default firmware of this hardware platform uses D3 LED for USB connected status and D2 LED for audio stream active status. Figure 7: User LEDs 8 D2: LED D3: LED Quad SPI Flash Memory A 2MByte Quad SPI flash memory is provided to store xCORE-AUDIO device firmware binary and configuration information. Configuration information includes the USB Vendor and Product Identification (VID/PID), serial number, and GPIO and I2C control commands. See Appendix A.2 of the XHRA-2HPA datasheet for further information. U2: IS25LQ016B Figure 8: Quad SPI Flash 9 Power connector The xCORE-AUDIO HiRes-2 DAC/HPA Platform has a 5V power source input via the micro-USB cable. The voltage is converted by the on-board regulator to the 1V and 3V3 supplies used by the components. A separate ultra low-noise 3V3 voltage regulator is used to power up the analog part of the DAC. XM008625C xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform Hardware Manual 10 7/12 Operating requirements A USB 2.0 high-speed compliant cable of less than 3m in length should be used when operating the xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform. XMOS cannot guarantee correct operation of the xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform should any other cable be used. This product is, like most electronic equipment, sensitive to Electrostatic Discharge (ESD) events. Users should operate the xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform with appropriate ESD precautions in place. 11 Dimensions The xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform dimensions are 20x75mm. The mounting holes are 2mm in diameter. XM008625C XM008625C COC18 C18 PIC1702 PIC1802 100N GND 100N PIC170 PIC180 COC17 C17 3V3 PIC401 PIC402 2 PID102 USB_D_N NC IO1 GND IO2 VCC USB_D_N GND 4 PID104 5 PID105 1 PID101 VBUS S1 S2 S3 S4 S5 S6 PIJ10S6 S6 S1 S2 S3 COJ1 J1 PIX102 PIX104 GND 5 4 3 PIU303 2 PIU302 CLK0 CLK1 CLK2 GND XB VDDO VDD XA SDA SCL 7 1 PIU307 10 8 3V3 GND PIU308 6 PIU306 9 PIU309 PIU3010 PIU301 PIFB102 MCLK_IN 24M MCLK_DAC 120R 2A PIFB101 COFB1 FB1 USB_D_N USB_D_P GND 100N Si5351A-B04486-GT COU3 U3 PIU304 PIU305 FA-238 25M 3 PIX103 SDA SCL GND 1 VBUS PIJ101 2 DM PIJ102 3 DP PIJ103 4 ID PIJ104 5 GND PIJ105 10118193 S5 PIJ10S5 S4 PIJ10S4 PIJ10S3 PIJ10S2 PIC20 C2 PIC201 COC2 VBUS USB_D_N ON PIN 2 FOR FLOW THROUGH LAYOUT TPD2E001 3 PID103 USB_D_P PIJ10S1 COX1 X1 PIX101 1 GND 1N COC4 C4 Figure 9: xCOREAUDIO HiRes-2 DAC/HPA Reference Platform schematic (1 of 3) 2 4 100N GND PIC302 C3 PIC301 COC3 5V PIC102 PIC10 4R7 COR3 R3 RST_N COC7 C7 COC8 C8 COR6 R6 COR7 R7 PIR701 100N PID201 PID202 PIC802 GND PIR702 1K 1K 100N PIR602 PIC602 PIC702 PIR601 100N COC5 C5 PIC902 GREEN COD2 D2 100N GND PID301 PID302 COC11 C11 GND 100N GREEN 100N MCLK_IN SPDIF_OUT 100N PIC1302 PIC1402 PIC130 PIC140 COC13 C13 NLMCLK0IN MCLK_IN 1 2 CP D 100N COC16 C16 74AHC1G79 PIU402 D COU4 U4 100N COC15 C15 PIC1502 PIC1602 PIU401 100N COC14 C14 PIC150 PIC160 SPI_CS_N SPI_CLK QSPI_D0 QSPI_D1 QSPI_D2 QSPI_D3 GND 65 PIU1065 54 PIU1054 12 PIU1012 15 PIU1015 17 PIU1017 18 PIU1018 19 PIU1019 11 PIU1011 Q GND Q VCC PITP501 I2S_DATA_DSD_R PITP101 I2S_BCLK_DSD_CLKPITP201 I2S_LRCK_DSD_L PITP301 NLLEDA 35 LEDA NLLEDB 36 LEDB PIU1036 37 PIU1037 38 DAC_RST_N PIU1038 5 PIU105 6 PIU106 7 PIU107 8 PIU108 PIU1035 48 PIU1048 46 PIU1046 51 PIU1051 50 PIU1050 PIU1049 PIU1047 47 49 45 PIU1045 43 PIU1043 PIU1028 64 PIU1064 NLSPDIF0OUT SPDIF_OUT 100N COC12 C12 PLLVSS GND SPI_CS_N SPI_CLK QSPI_D0 QSPI_D1 QSPI_D2 QSPI_D3 GPIO_0 GPIO_1 GPIO_2 GPIO_3 GPIO_4 GPIO_5 GPIO_6 GPIO_7 GPI_0 GPI_1 GPI_2 GPI_3 GPI_4 GPI_5 GPI_6 GPI_7 PIC10 2 PIC1 02 PIC120 COC10 C10 2 42 PIU1042 1 PIU101 4 PIU104 PIU102 28 SDA SDATA 29 SCL SCLK PIU1029 MCLK SPDIF DOUT BCLK LRCK PIC10 PIC1 0 PIC120 1V0 COD3 D3 XHRA-2HPA USB_DP USB_DM USB_VBUS USB_RTUNE 100N COC6 C6 GND PIR501 25 26 24 PIU1024 23 PIU1023 PIU1026 PIU1025 COC9 C9 43R2 PIR502 NLUSB0D0N USB_D_N 58 CLK 57 PIU1057 RST_N PIU1058 NC NC NC NC NC NC NC NC NC NC PLLVDD VDD VDD VDD VDD VDD VDD VDD VDD VDD VDD USB_VDD PIC502 GND LEDA LEDB PITP901 63 PIU1063 62 PIU1062 PIU1061 PITP801 PIU1060 PIU1033 33 60 61 32 PIU1032 30 PIU1030 PITP701 NLUSB0D0P USB_D_P COR5 R5 14 21 PIU1021 16 PIU1016 PIU1014 PIU1053 53 9 PIU109 10 PIU1010 20 PIU1020 31 PIU1031 39 PIU1039 40 PIU1040 41 PIU1041 52 PIU1052 56 PIU1056 59 PIU1059 27 PIU1027 55 PIU1055 44 PIU1044 34 PIU1034 USB_VDD33 VDDIO VDDIO VDDIO VDDIO VDDIO COU1 U1 PITP601 NL24M 24M COTP6 TP6 COTP7 TP7 COTP8 TP8 COTP9 TP9 22 13 PIU1013 3 PIU103 PIU1022 PIC501 PIC601 PIC701 PIC801 PIC901 3V3 5V GND 100N COC1 C1 PIR301 PIR302 1V0 1V0 3V3 3 PIR101 PIR102 2K2 COR8 R8 PIR801 3V3 33R PIR802 NLSPI0CS0N SPI_CS_N NLSPI0CLK SPI_CLK PIR401 PIR402 1K COR4 R4 3V3 COU2 U2 COTP17 TP17 COTP16 TP16 SPDIF_TX 100N COC19 C19 GND PIC1902 PIC1901 3V3 GND 4 PIU204 3V3 GND QSPI FLASH IS25LQ016B 16MBIT 6 SCK 1 PIU201 CS_N PIU206 8 PIU208 NLSPDIF0TX SPDIF_TX NLDAC0RST0N DAC_RST_N NLSDA SDA NLSCL SCL NLMCLK0DAC MCLK_DAC GND 100N C49 PIC4901COC49 PIC4902 3V3 NLI2S0BCLK0DSD0CLK I2S_BCLK_DSD_CLK NLI2S0LRCK0DSD0L I2S_LRCK_DSD_L NLI2S0DATA0DSD0R I2S_DATA_DSD_R SI/IO0 VCC SO/IO1 3 PIU203 WP_N/IO2 7 PIU207 HOLD_N/IO3 2 PIU202 PIU205 5 PITP1601 PITP1701 COR2 R2 PIR201 2K2 PIR202 3V3 COR1 R1 3V3 NLQSPI0D0 QSPI_D0 NLQSPI0D1 QSPI_D1 NLQSPI0D2 QSPI_D2 NLQSPI0D3 QSPI_D3 GND PIU403 4 PIU404 5 PIU405 COTP5 TP5 COTP1 TP1 COTP2 TP2 COTP3 TP3 Date Size A3 COTP12 TP12 COTP13 TP13 TP14 COTP14 COTP15 TP15 PITP1401 PITP1501 PITP1301 COTP11 TP11 PITP1001 PITP1201 PITP1101 COFM1 FM1 FIDUCIAL COFM2 FM2 FIDUCIAL COFM3 FM3 FIDUCIAL GND 5V NLRST0N RST_N COTP10 TP10 09-07-2015 Sheet 1 Sheet Name xCORE-AUDIO_.SchDoc of Project Name xCORE-AUDIO Ref Design POR U_Power Power.SchDoc SPDIF_TX RESETB SDA SCL MCLK DATA_CLK DATA1 DATA2 U_DAC_HP DAC_HP.SchDoc 3 Rev 2V1 12 COD1 D1 xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform Hardware Manual 8/12 xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform schematics C34 PIR1501 PIR2301 PIR2401 PIR1502 PIR2302 PIR2402 GND 3V3DAC COR15COR23COR24 GND 2U2 2U2 GND C33 C32 2U2 C36 COU5A COU5B U5A XO XI_MCLK 24 GND 7 PIU507 PIU5024 10 PIU5010 8 PIU508 9 PIU509 21 PIU5021 23 PIU5023 22 PIU5022 PIC3801 PIC3802 GND 22U PIC3901 PIC3902 25 6 19 VREF ANEG PNEG C2 C1 SABRE9018Q2C PIU5019 12 PIU5012 13 PIU5013 15 PIU5015 16 PIU5016 PIU5018 VCCA 18 APOS 17 PIU5017 AVCC_CP 27 PIU5027 AVCC_L AVCC_R U5B PIU506 PIU5025 GND 4U7 COC38 C38COC39 C39 COC37 C37 4U7 PIC3701 PIC3702 3V3A 4R7 PIR902 NC DVDD GND_PAD DGND DGND AGND_L AGND_R AGND_CP AGND AGND 41 C30 4U7 GND 4U7 C31 3V3DAC GND COTP20 PIT201 GND COTP19 PIT190 C22 GND GND 100N PIC2701 PIC270 3V3 GND PIT180 COTP18 TP18 3V3 1 PIC2801 PIC280 Date Size A4 09-07-2015 Sheet Sheet Name DAC_HP.SchDoc 2 of Project Name xCORE-AUDIO Ref Design GND 100N C29 PIC2901 COC29 PIC290 3V3DAC GND 100N C25 OPT TX PIC2501 COC25 PIC2502 3V3 DLT13M1 PIJ201 3 PIJ203 5 PIJ205 4 PIJ204 2 PIJ202 GND 10U C28 120RCOC28 2A COJ2 J2 VCC 8 VIN 6 PIJ206 GND PIJ208 7 PIJ207 GND PIFB201 COFB2 FB2 GND PID501 PID502 PIFB202 COD4 COD5 COC27 C27 100P GND 100P C23 POSPDIF0TX SPDIF_TX PIC2 01 COC22 PIC2301 COC23 PID402 PIC2 0 PIC2302 PID401 PIC30 1 COC30PIC310 COC31 PIC30 2 PIC3102 GND 2N2 PIC2602 GND PIU5041 29 37 PIU5037 PIU5029 PIU5011 11 PIU5014 4 PIU504 PIU505 5 14 26 PIU5026 30 28 PIU5030 PIU5028 20 PIU5020 COC26 C26 PIC2601 806R COR14 R14 PIR1402 PIR1401 806R PIR1301 2N2 PIC2402 4R7 PIR1202 2N2 PIC2102 806R PIR1101 806R PIR1001 2N2 PIC2002 COR13 R13 PIR1302 COC24 C24 PIC2401 COR12 R12 PIR1201 COC21 C21 PIC2101 COR11 R11 PIR1102 COR10 R10 PIR1002 DVCC DMODE = 0 => NORMAL SERIAL MODE ADDR = 0 => I2C SLAVE ADDRESS = 7'b1001000 = 0x48 GPIO2 = 0 => DISABLE WEAK CHARGE PUMP IN RESET SABRE9018Q2C 3 PIU503 PIU502 2 36 PIU5036 40 AUX_L AUX_R INR ADDR PIU5040 38 39 PIU5039 RESETB INBR SCL SDA OUTR INL PIU5038 PIU5031 GPIO1 GPIO2 DMODE INBL OUTL PIU5032 32 31 1 PIU501 35 PIU5035 DATA_CLK 34 PIU5034 DATA1 33 PIU5033 DATA2 GND 10U GND 10U C35 PIC3201 COC32 PIC3 01 COC33 PIC3401 COC34COC35COC36 PIC3501 PIC3601 PIC320 PIC3 02 PIC3402 PIC3502 PIC3602 3V3A POMCLK MCLK PORESETB RESETB POSCL SCL POSDA SDA PODATA1 DATA1 PODATA2 DATA2 PODATA0CLK DATA_CLK 10K 10K 10K R15 R23 R24 TP19 TP20 COC20 C20 PIC2001 D4 XM008625C ESD9B5.0ST5G D5 Figure 10: xCOREAUDIO HiRes-2 DAC/HPA Reference Platform schematic (2 of 3) ESD9B5.0ST5G COR9 R9 PIR901 3 Rev 2V1 xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform Hardware Manual 9/12 XM008625C PIC4301 PIC4302 5V GND 4U7 COC43 C43 5V 4R7 PIC4701 PIC4702 GND 2U2 COC47 C47 PIR2202 COR22 R22 PIR2201 GND EN VIN 1 NC 5 4 PIC4 01 PIC4 02 PIR1802 GND PIR2101 PIR2102 PIR1801 10K GND 2U2 C48 PIC4801 COC48 PIC4802 3V3A R19 330R GND 10U GND COR21 R21 GND 330P C45 1V0 COTP23 TP23 COTP22 TP22 COTP21 TP21 PIR1902 PIC4501 COC45 COR19 PIC4502 PIR1901 GND 2U2 C41 PIC410 COC41 PIC4102 3V3 COC44 C44 COR18 R18 10K 4 PIU604 5 PIU605 GND PIU1004 PIU1005 2U2 VOUT LP5907MFX-3.3 GND PIU1002 2 EN VIN PIU1003 3 4 PIU804 PIL102 NC VOUT COL1 L1 5 PIU805 PIL101 COU10 U10 FB SW GND EN TLV70233 PIU602 2 3 PIU603 VIN COU6 U6 1 PIU601 GND PIU1001 GND 5V LM3674-ADJ 2 PIU802 PIU803 3 GND 1U PIC40 1 PIC40 2 COU8 U8 1 PIU801 GND PG_3V3 Figure 11: xCOREAUDIO HiRes-2 DAC/HPA Reference Platform schematic (3 of 3) COC40 C40 5V PITP2301 PITP2201 PITP2101 GND PIR20 1 PIR20 2 PIR1701 PIR1702 1V0 10K COR20 R20 COR17 R17 3K9 1V0 100N PIC4601 PIC4602 3V3A 5 1 CEXT ENIN ADM1085 PIU905 PIU901 VIN COU9 U9 3 PIU903 GND 2N2 COC46 C46 3V3 OUT_N STM1061N28WX VSS PG_3V3 GND 2 PIU702 VCC COU7 U7 3 PIU703 3V3 COC42 C42 GND PIC4201 PIC420 3V3 GND ENOUT VCC 1 PIU701 PIR1601 PIR1602 Date Size A4 2 4 POPOR POR 09-07-2015 Sheet Sheet Name Power.SchDoc 3 of Project Name xCORE-AUDIO Ref Design GND PIU902 PIU904 6 PIU906 3V3 NLPG03V3 PG_3V3 COR16 R16 10K 3V3 3 Rev 2V1 xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform Hardware Manual 10/12 xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform Hardware Manual 13 11/12 RoHS and REACH The xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform complies with appropriate RoHS2 and REACH regulations and is a Pb-free product. The xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform is subject to the European Union WEEE directive and should not be disposed of in household waste. Alternative requirements may apply outside of the EU. XM008625C xCORE-AUDIO HiRes-2 DAC/HPA Reference Platform Hardware Manual 12/12 Copyright © 2015, All Rights Reserved. Xmos Ltd. is the owner or licensee of this design, code, or Information (collectively, the “Information”) and is providing it to you “AS IS” with no warranty of any kind, express or implied and shall have no liability in relation to its use. Xmos Ltd. makes no representation that the Information, or any particular implementation thereof, is or will be free from any claims of infringement and again, shall have no liability in relation to any such claims. XM008625C