Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

DE1-SoC audio playback from SD card

Altera_Forum
Honored Contributor II
2,050 Views

Hi,  

 

I am interested in playing audio files (any format) from SD card using HPS on DE1-SoC board. So far, all my work is based on FPGA, where audio codec is configured and audio processing is performed. The audio signal comes from Mic or Line In, and is processed on the FPGA. The hardware part functions properly. However, I cannot find an adequate guide to setup this audio streaming from HPS to FPGA.  

 

So, what would be the best way to forward the data from SD card to FPGA? Is Avalon FIFO an adequate solution for this problem? Or is there another way to store and play the audio files from the memory? 

 

Thanks!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
800 Views

One possible way is to have the HPS read from the SD card and write to the 1GB memory. Then, using the F2S bridge in the FPGA, have the FPGA logic to retrieve the content from there. The other way is to have HPS continuously write into FPGA on chip location, so that your IP can retrieve the info from there.

0 Kudos
Reply