Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
1157 Discussions

audio programming de2 board using c or assembly

Honored Contributor II

I am kind of stuck in ways to generate different notes that can be sent to the audio codec to be outputted. According to the datasheet, the audio codec works as 16 bit sampling at 48 Khz. I was wondering if someone could show me sample code in outputting a simple note of lets say 440 Hz. 


Few notes... I am programming on the DE2 board so the library usage is very limited (functions like the Beep function will not work). 


I dont want to do this in verilog or vhdl... only in C or assembly. Thank you to anyone that can help. 

If you know of any good tutorial places for these specs (in C or assembly using DE2) would also be appreciated.
0 Kudos
1 Reply
Honored Contributor II

try to look at this link 

I hope it can help u. 

Good luck..=)
0 Kudos