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

audio programming de2 board using c or assembly

Altera_Forum
Honored Contributor II
1,167 Views

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
Altera_Forum
Honored Contributor II
198 Views

try to look at this link  

http://dientuvn.com/dff/2010/07/using-audio-core-on-de2-board/#comment-73 

I hope it can help u. 

Good luck..=)
0 Kudos
Reply