DE10-Standard
User Manual
34
www.terasic.com
January 19, 2017
3.6.5
24-bit Audio CODEC
The DE10-Standard board offers high-quality 24-bit audio via the Wolfson WM8731 audio CODEC
(Encoder/Decoder). This chip supports microphone-in, line-in, and line-out ports, with adjustable
sample rate from 8 kHz to 96 kHz. The WM8731 is controlled via serial I2C bus, which is
connected to HPS or Cyclone V SoC FPGA through an I2C multiplexer. The connection of the
audio circuitry to the FPGA is shown in
Figure 3-20
, and the associated pin assignment to the
FPGA is listed in
Table 3-14
. More information about the WM8731 codec is available in its
datasheet, which can be found on the manufacturer’s website, or in the directory “\datasheets\Audio
CODEC” of DE10-Standard System CD.
Figure 3-20 Connections between the FPGA and audio CODEC
Table 3-14 Pin Assignment of Audio CODEC
Signal Name
FPGA Pin No.
Description
I/O Standard
AUD_ADCLRCK
PIN_AH29
Audio CODEC ADC LR Clock
3.3V
AUD_ADCDAT
PIN_AJ29
Audio CODEC ADC Data
3.3V
AUD_DACLRCK
PIN_AG30
Audio CODEC DAC LR Clock
3.3V
AUD_DACDAT
PIN_AF29
Audio CODEC DAC Data
3.3V
AUD_XCK
PIN_AH30
Audio CODEC Chip Clock
3.3V
AUD_BCLK
PIN_AF30
Audio CODEC Bit-stream Clock
3.3V
I2C_SCLK
PIN_Y24 or PIN_E23
I2C Clock
3.3V
I2C_SDAT
PIN_Y23 or PIN_C24
I2C Data
3.3V
3.6.6
I2C Multiplexer
The DE10-Standard board implements an I2C multiplexer for HPS to access the I2C bus originally
owned by FPGA.
Figure 3-21
shows the connection of I2C multiplexer to the FPGA and HPS. HPS
can access Audio CODEC and TV Decoder if and only if the HPS_I2C_CONTROL signal is set to