Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12453 Discussions

DE1-SoC audio playback from SD card

Honored Contributor II



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? 


0 Kudos
1 Reply
Honored Contributor II

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.