Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20688 Discussions

Programming Audio Codec in Altera DE2

Altera_Forum
Honored Contributor II
1,362 Views

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
Altera_Forum
Honored Contributor II
529 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
Altera_Forum
Honored Contributor II
529 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
Reply