Altera_Forum
Honored Contributor
12 years agoDE1 Audio codec HELP !!!!! URGENT !!!!!
Hello,
I'm a beginner and currently working on Altera DE1 board for Audio effects project. I want the audio codec to run in master mode for my project.The problem is that I am not able to configure the audio codec from Nios II properly.When the music is passed through line in,the output from line out is very noisy (Kindly see the project file attached.)Also I was able to play the audio on just left channel but with noise(see the commented section at the end in .vhd file). I have used audio and video config from Altera UP IP core (Line in to ADC,Enable DAC output,Microphone bypass,left justified,16 bit,48 kHz) which configures I2C bus automatically .My observation from Signal Tap II anaylzer is that I2C_SCLK and I2C_SDAT are always in logic state 1. I don't know how to access any registers of the codec. Am I doing it correctly ? What am I missing and Where did I go wrong ???Please HELP ME !!! If a code is readily available for configuring the codec in master mode it would be of GREAT help. Thanks in Advance, Anand https://www.alteraforum.com/forum/attachment.php?attachmentid=6983 https://www.alteraforum.com/forum/attachment.php?attachmentid=6984