bsteinsbo / DE1-SoC-Sound

GNU Lesser General Public License v2.1
17 stars 16 forks source link

DE1 Soc Audio #2

Closed larryjol closed 8 years ago

larryjol commented 8 years ago

Dear Bsteinsbo,

I am begginer in SoC devices, i have the DE1 SoC and i have to implement a aplication that play a wav file from sd card memory, i try with the LXDE system but there is not audio output. I would like to ask you about how can access to sd file and implement the audio core. Thanks

bsteinsbo commented 8 years ago

If I understand your assignement correctly, the steps you need to take are:

a. Implement i2s interface in the FPGA fabric. The RTL in this repository should help you do that. b. Implement an ALSA driver for Linux to interface to your hardware. Again, the driver in this repository could be at least a starting point for that. c. Use standard Linux functionality to read files from an SD card play them using e.g. "aplay". This part is trivial when you have working hardware with corresponding ALSA driver.

In theory you could also do everything from the FPGA side, e.g. starting with the audio example on the Terasic CD. But I believe interfacing the SD card would be a major pain if you choose to take this path.

-br

Bjarne

rathi2 commented 3 years ago

Hello , I am trying the project on DE1 SOC board to implement a application that play a wav file from SD card memory. But I am not able to succeed in SD card NIOSII implementation. Can you help me ?

bsteinsbo commented 3 years ago

Hi,

Sorry, I have absolutely zero NIOS experience.

BR, Bjarne

On Thu, Dec 3, 2020 at 4:43 PM rathi2 notifications@github.com wrote:

Hello , I am trying the project on DE1 SOC board to implement a application that play a wav file from SD card memory. But I am not able to succeed in SD card NIOSII implementation. Can you help me ?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/bsteinsbo/DE1-SoC-Sound/issues/2#issuecomment-738088628, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYDANB2X4WBMMWUL73AEZTSS6W3LANCNFSM4CDHAX3A .