Forum Discussion
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