MAX 10 NEEK
79
www.terasic.com
February 4, 2016
Before you attempt to compile the reference design under Nios II Eclipse, make sure the project
is cleaned first by clicking ‘Clean’ from the ‘Project’ menu of Nios II Eclipse.
Demonstration Batch File
Demo Batch File Folder:
sdcard_audio\demo_batch
The demo batch file includes following files:
Batch Files: test.bat, test.sh
FPGA Configure File : sdcard_audio.sof
Nios II Program: sdcard_audio.elf
Demonstration Setup
Please follow the procedures below to set up the demonstration:
Format your Micro SD Card into FAT16/FAT32 format
Place the wave files to the root directory of the Micro SD Card. The provided wave files must
have a sample rate of the following options: 96K, 48K, 44.1K or 8K. In addition, the wave files
must be stereo and 16 bits per channel.
Connect a headset or speaker to the MAX 10 NEEK board so you can hear the music played
from the micro SD Card in later.
Insert the micro SD card into the micro SD socket on MAX 10 NEEK board.
Make sure Quartus II and Nios II are installed on your PC.
Power on the MAX 10 NEEK board.
Connect an USB cable to the MAX 10 NEEK board and install USB Blaster driver if necessary.
Execute the demo batch file “test.bat” under the batch file folder sdcard_audio \demo_batch.
Press KEY3 on the MAX10 NEEK board to play the last music file stored in the micro SD Card
and press KEY0 to play the next song.
Press KEY2 and KEY1 to increase and decrease the output music volume respectively as shown
in
Figure 6-15.