Forum Discussion
Altera_Forum
Honored Contributor
15 years agohelp for audio codec using VHDL
i am a begineer at using altera DE2 board and VHDL. i have to complete my project with in 10 days time but dont have any idea of where to start and how.. help .........
i need to build a duplex audio system that works similar to a phone but here CDMA must be considered. first i would like to have some good advice on where to start and how .... on audio CODEC any help would be more than appreciated72 Replies
- Altera_Forum
Honored Contributor
Thats not very descriptive of your problem. Are you basically saying to dont know how to use quartus?
Go to project -> add files to project to add multiple files. - Altera_Forum
Honored Contributor
Dear Dr.Muthuswamy,
thanks a lot for posting and diskussing your description files. It was realy helpfull to me to solve a problem, that i was trying to fix the whole week ;o) Im working on my diploma project and this audio-stuff is only needet for testing the SD-RAM-Controller wich my thesis is about. I hop its no Problem for You, if i use peaces of Yor I2C-controler for my tests and mention you as an source? again thanks 0xFF FFFF Thanks for doing what you are doing ;o) - Altera_Forum
Honored Contributor
Hmmm..I followed FvM's suggestions and posted the audio codec on the Altera wiki (quite a while back):
http://www.alterawiki.com/wiki/de1_board Anyway, now I also added documentation. Thx. Bart - Altera_Forum
Honored Contributor
Hi mbharat ,
i tried to compile your vhdl files , i think you missed uploading "i2cController" file ?? Regards, - Altera_Forum
Honored Contributor
Hello FPGA_guru011,
As I posted earlier, please download the design from the following folder: http://myweb.msoe.edu/muthuswamy/digitalsystemsdesign/ee3921/audio/vhdl/ Please make sure to read the documentation. Repost if you have questions. Bart - Altera_Forum
Honored Contributor
i executed your code in quartus. But on compiling it says i2c_controller entity is undefined. Wat do i do?
- Altera_Forum
Honored Contributor
--- Quote Start --- i executed your code in quartus. But on compiling it says i2c_controller entity is undefined. Wat do i do? --- Quote End --- http://myweb.msoe.edu/muthuswamy/digitalsystemsdesign/ee3921/audio/vhdl/ Bart - Altera_Forum
Honored Contributor
--- Quote Start --- thank you again i have now been able to configure the mic in line in and out ............. sorry to bother you again but i want another help how do i use the data of mic in.......... in your program i can use ta line in data but how to use the mic in data??? --- Quote End --- Hey bhatta, Can you please share with me how you were able to read in the data from the mic? Thanks - Altera_Forum
Honored Contributor
--- Quote Start --- i am a begineer at using altera DE2 board and VHDL. i have to complete my project with in 10 days time but dont have any idea of where to start and how.. help ......... i need to build a duplex audio system that works similar to a phone but here CDMA must be considered. first i would like to have some good advice on where to start and how .... on audio CODEC any help would be more than appreciated --- Quote End --- Hi, I'm trying to configure WM8731 Codec on DE2 board as an ADC too. But i have no idea how the whole thing works. I'd like to pump in music through WM8731 Codec, and pass the music signal to FPGA (I have designed a LPF and program in cyclone II), then obtain the filtered music signal through WM8731 Codec again. The purpose that using WM8731 Codec is just to demo the audio signal filtering process in real time. I'd like to disable the filtering function that provided by WM8731 Codec. Other than configuring WM8731 Codec, i will need another file for configuring i2c so that WM8731 Codec can communicate with FPGA (cyclone II) ? Am i rite? Please guide me through this. If possible, i'd like to have a copy of codes as reference. I'm just a beginner. Your help will be appreciated :) - Altera_Forum
Honored Contributor
I cannot reach
myweb.msoe.edu/muthuswamy/Dig...21/audio/VHDL/ Is it possible you post the Zip file here :)