MAX 10 Plus User
Manual
65
May 31, 2019
•
Power on the MAX 10 Plus board.
•
Connect an USB cable to the MAX 10 Plus 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 MAX 10 Plus 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 Running SD Card Audio Demo
6.4
DDR3 SDRAM Test by Nios II
Many applications use a high-performance RAM, such as a DDR3 SDRAM, to provide temporary
storage. In this demonstration hardware and software designs are provided to illustrate how to
perform DDR3 memory access in Qsys. We describe how the Altera’s “DDR3 SDRAM Controller
with UniPHY” IP is used to access a DDR3-SDRAM, and how the Nios II processor is used to read
and write the SDRAM for hardware verification. The DDR3 SDRAM controller handles the
complex aspects of using DDR3 SDRAM by initializing the memory devices, managing SDRAM
banks, and keeping the devices refreshed at appropriate intervals.
◼
System Block Diagram
shows the system block diagram of this demonstration. The system requires a 50MHz
clock provided from the board. The DDR3 controller is configured as a 128MB DDR3-300
controller. The DDR3 IP generates one 300MHz clock as SDRAM’s data clock and one half-rate
system clock 150MHz for those host controllers, e.g. Nios II processor, accessing the SDRAM. In
the Qsys, Nios II and the On-Chip Memory are designed running with the 100MHz clock, and the
Nios II program is running in the on-chip memory.