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

Programming Audio Codec in Altera DE2

Hai everybody... 

I am new to this forum. 

I am doing a project of generating different sounds(eg. one such thing is beep) using Altera DE2 board.I am done with the code and getting simulations right. 

Now I have to generate the sound by connecting speaker to audio codec output. 

Here only I have doubts. 

1.)How to program this audio codec? 

2.)Should I need to write the code for it in my original verilog code? 

3.)Or some other option available? 

If anyone gives me an idea of doing it,I will be very thankful to them. 

 

Please help........
0 Kudos
2 Replies
Highlighted
Valued Contributor III
10 Views

Hey when you are writing your code in verilog, you can use the verilog files from terasics i2sounds demonstrations. 

And for VHDL you can find suggestions here 

(http://www.alteraforum.com/forum/showthread.php?t=26339)
0 Kudos
Highlighted
Valued Contributor III
10 Views

you have a useful reference for the audio codec on the cd. 

note that for beeps you can alsto test sending signal directly on gpio and then connecting speaker to it
0 Kudos