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 au...
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- i tried it with your program it just gives a silent output i couldnt get the mic in output using it can you suggest why is that happening??? --- Quote End --- The comments at the beginning of my top-level says that my hardware does only Line-In to Line-Out loopback. If you want to use the Mic, then you have to modify the i2c initialization routine. It is actually simple to do. Read the audio codec datasheet (it should be on your DE2 CD), specifically starting at page 46 where it describes the register map. Figure out the exact register you need to program for mic in. Good luck. Bart