86
o Button_Switch Control: display the status of button and switches
o Hot-plug: Reconnect
Figure 6-6 illustrates the setup for this demonstration.
Figure 6-6 Setup for the USB device demonstration
6
6
.
.
5
5
A
A
K
K
a
a
r
r
a
a
o
o
k
k
e
e
M
M
a
a
c
c
h
h
i
i
n
n
e
e
This demonstration uses the microphone-in, line-in, and line-out ports on the DE2-115 board to
create a Karaoke Machine application. The Wolfson WM8731 audio CODEC is configured in the
master mode, with which the audio CODEC generates AD/DA serial bit clock (BCK) and the
left/right channel clock (LRCK) automatically. As indicated in Figure 6-7, the I2C interface is used
to configure the Audio CODEC. The sample rate and gain of the CODEC are set in this manner, and
Comments to this Manuals