
DECA User Manual
113
www.terasic.com
May 22, 2015
Figure 7-23 Block diagram of Audio
The audio chip is programmed through I2C protocol which is implemented in the C code. The I2C pins
from audio chip are connected to Qsys System Interconnect Fabric through PIO controllers. In this
example, the audio chip is configured in Master Mode. The audio interface is configured as I2Sand
16-bit mode. 49.152MHz clock generated by the PLL is connected to the MCLK pin of the audio chip.
Demonstration File Locations
Hardware Project directory: DECA_Audio
Bit stream used: DECA_Audio.sof
Software Project directory: DECA_Audio \software
Demonstration Setup and Instructions
Connect an audio source to the LINE-IN port of the DECA board.
Connect a speaker or headset to LINE-OUT port on the DECA board.
Load the bit stream into FPGA.
Load the software execution file into FPGA.
Configure audio with the slide switches as shown in
Table 7-2
.
Push up SW0 on the DECA board to start audio playing from LINE-IN
Push down SW0 on the DECA board to start audio playing from Beep Generation