Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
1,261 Views

DE1-SoC audio playback from SD card

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
Highlighted
Valued Contributor III
11 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