DE1 User Manual
5.4 SD Card Music Player
Many commercial media/audio players use a large external storage device, such as an SD card or
CF card, to store music or video files. Such players may also include high-quality DAC devices so
that good audio quality is produced. The DE1 board provides the hardware and software needed for
SD card access and professional audio performance so that it is possible to design advanced
multimedia products using the DE1 board.
In this demonstration we show how to implement an SD Card Music Player on the DE1 board, in
which the music files are stored in an SD card and the board can play the music files via its
CD-quality audio DAC circuits. We use the Nios II processor to read the music data stored in the
SD Card and use the Wolfson WM8731 audio CODEC to play the music.
The audio CODEC is configured in the slave mode, where external circuitry must provide the
ADC/DAC serial bit clock ( BCK ) and left/right channel clock ( LRCK ) to the audio CODEC. As
shown in Figure 5.11, we provide an Audio DAC Controller to achieve the clock generation and the
data flow control. The Audio DAC Controller is integrated into the Avalon bus architecture, so that
the Nios II processor can control the application.
During operation the Nios II processor will check if the FIFO memory of the Audio DAC Controller
becomes full. If the FIFO is not full, the processor will read a 512-byte sector and send the data to
the FIFO of the Audio DAC Controller via the Avalon bus. The Audio DAC Controller uses a 48
kHz sample rate to send the data and clock signals to the audio CODEC. The design also mixes the
data from microphone-in with line-in for the Karaoke-style effects.
Figure 5.11. Block diagram of the SD music player demonstration.
52
相关PDF资料
P100-001 ADAPTER DB9F TO DB25M 1'
P2041RDB-PA BOARD REFERENCE DESIGN P2041
P25E-060S-EA CONN SOCKET 60POS .050" GOLD
P25E-100S-EA CONN SOCKET 100POS .050" GOLD
P25LE-068S-DA CONN SOCKET 68POS .050" GOLD
P302-06I-R CABLE SPLITTER DB15 M-2F 6"
P302-06I CABLE SPLITTER DB15 M-2F 6"
P402-006-R CABLE SERIAL MODEM DB25F/M 6'
相关代理商/技术参数
P0531961H 制造商:EUDYNA 制造商全称:Eudyna Devices Inc 功能描述:1.9 GHz band Power Amplifier Module
P0531981H 制造商:EUDYNA 制造商全称:Eudyna Devices Inc 功能描述:1.9 GHz band Power Amplifier Module
P0537242 制造商:FCI 功能描述:.112 X 3/4 SCREW
P054-006 功能描述:交流电源线 AC POWER CORD SCHUKO CEE RoHS:否 制造商:Schaffner 地区:North American 插头:NEMA 5-15P 插座:C13 Locking 功率额定值:2500 W 电流额定值:10 A 线规 - 美国线规(AWG):18 电压额定值:250 V 长度:6 ft 屏蔽: 外壳颜色:Black
P054-008 制造商:Tripp Lite 功能描述:8 FT. POWER CORD (IEC-320-C13 TO SCHUKO CEE 7/7) - Bulk
P0544 功能描述:变压器音频和信号 XFMRS SM GATE DRIVE RoHS:否 制造商:Skyworks Solutions, Inc. 频率范围:810 MHz to 960 MHz 初级线圈阻抗: 次级线圈阻抗: 绝缘电压:23 dB 工作温度范围:- 40 C to + 85 C 端接类型:SMD/SMT 尺寸:6 mm L x 4.9 mm W x 1.6 mm H 产品:Splitters and Combiners
P0544NL 功能描述:变压器音频和信号 XFMRS SM GATE DRIVE RoHS:否 制造商:Skyworks Solutions, Inc. 频率范围:810 MHz to 960 MHz 初级线圈阻抗: 次级线圈阻抗: 绝缘电压:23 dB 工作温度范围:- 40 C to + 85 C 端接类型:SMD/SMT 尺寸:6 mm L x 4.9 mm W x 1.6 mm H 产品:Splitters and Combiners
P0544NLT 功能描述:变压器音频和信号 XFMRS SM GATE DRIVE RoHS:否 制造商:Skyworks Solutions, Inc. 频率范围:810 MHz to 960 MHz 初级线圈阻抗: 次级线圈阻抗: 绝缘电压:23 dB 工作温度范围:- 40 C to + 85 C 端接类型:SMD/SMT 尺寸:6 mm L x 4.9 mm W x 1.6 mm H 产品:Splitters and Combiners