Altera Forum






Threads: 19,055
Posts: 77,931
Members: 29,419
Welcome to our newest member, The_General
User
Reputation
9142
7620
5941
4200
3030
2197
2056
1706
1388
1300




 
Register
Quick Search
 
  Altera Forums > IP and Dev Kit Related > University Program

Ask about the DE2 Audio Codec.

Reply
 
Thread Tools Display Modes
  #1  
Old March 2nd, 2008, 12:25 AM
ssuunny2005 ssuunny2005 is offline
Altera Pupil
 
Join Date: Mar 2008
Posts: 6
Rep Power: 931
ssuunny2005 is on a distinguished road
Red face Ask about the DE2 Audio Codec.

I set-up everything as in the manual, and use the reference design to play music(48KHZ,wav). But why there is much noise along with the music from the headset?

Thanks for help!
Reply With Quote
  #2  
Old April 18th, 2008, 07:12 AM
fasmatikos fasmatikos is offline
Altera Pupil
 
Join Date: Dec 2007
Posts: 9
Rep Power: 995
fasmatikos is on a distinguished road
Default Re: Ask about the DE2 Audio Codec.

I came across the same extact problem...When playing in 44.1KHz or 44.8 there was an extremely annoying noise .....I really cannot understand why..........???????
Reply With Quote
  #3  
Old May 1st, 2008, 04:19 AM
mirimon
 
Posts: n/a
Default Re: Ask about the DE2 Audio Codec.

I had the same problem with the sd audio player

#define LCD_DISPLAY
#define SEG7_DISPLAY
#define DISPLAY_WAVE_POWER
#define SUPPORT_PLAY_MODE

i commented out these ddefines and the sound was a lot better
Reply With Quote
  #4  
Old May 22nd, 2008, 07:01 AM
cauvery cauvery is offline
Altera Beginner
 
Join Date: May 2008
Posts: 3
Rep Power: 848
cauvery is on a distinguished road
Default Re: Ask about the DE2 Audio Codec.

Hey! Is there a way to make the ADC output of the Audio Codec (of DE2 Cyclone II board) be written onto the Flash Memory on the board??????
Reply With Quote
  #5  
Old May 22nd, 2008, 03:14 PM
fasmatikos fasmatikos is offline
Altera Pupil
 
Join Date: Dec 2007
Posts: 9
Rep Power: 995
fasmatikos is on a distinguished road
Default Re: Ask about the DE2 Audio Codec.

yes there is...first u got to add a flash memory controller to the SOPC system of yours, and then from the Nios IDE to choose where to download your program.(From the properties menu of your project)
Reply With Quote
  #6  
Old May 24th, 2008, 12:33 AM
cauvery cauvery is offline
Altera Beginner
 
Join Date: May 2008
Posts: 3
Rep Power: 848
cauvery is on a distinguished road
Default Re: Ask about the DE2 Audio Codec.

YA thanks.. but theres a bigger problem. My program is supposed to take in the ADC output into it and then work upon it to give out another set of bits, both input and output being serial. The output then goes into the DAC which gives us the analog signal.. Now, the Audio Codec has an ADC data output, a DAC data input, an ADC sample clock output, a DAC samlpe clock input as well as the master clock. Now we want to synchronize all this with the program but have no idea which clock to use! Please guide!
Reply With Quote
  #7  
Old May 24th, 2008, 03:52 AM
FvM FvM is online now
Altera Guru
 
Join Date: Dec 2007
Location: Bochum Germany
Posts: 3,288
Rep Power: 7223
FvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guru
Default Re: Ask about the DE2 Audio Codec.

Some confusion may come from the audio codec capabilities to support different modes. I suggest to look at the slave mode configuration shown in Fig. 6 + 7 in the datasheet. It's best suited for FPGA operation and rather straightforward. The codec has to be setup to the respective mode through control interface before operation.
Reply With Quote
  #8  
Old May 24th, 2008, 09:35 AM
cauvery cauvery is offline
Altera Beginner
 
Join Date: May 2008
Posts: 3
Rep Power: 848
cauvery is on a distinguished road
Default Re: Ask about the DE2 Audio Codec.

And where do I find this 'control interface' from? The datasheet has given all the controls and settings and the configuration information but it has not mentioned WHERE I can input all this setup parameters like Master or Slave mode, which sampling frequency etc. I am so lost and I am on a frickin' deadline! Thanks for helping out!!
Reply With Quote
  #9  
Old May 24th, 2008, 12:46 PM
FvM FvM is online now
Altera Guru
 
Join Date: Dec 2007
Location: Bochum Germany
Posts: 3,288
Rep Power: 7223
FvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guruFvM is a guru
Default Re: Ask about the DE2 Audio Codec.

Altough the Terasic software examples aren't very instructive, they should be sufficient to see how e. g. the audio codec control interface can be operated. You can consult the DE2_i2sound example. It has a sequence of commands in module clock_500.v that is transmitted through module i2c.v, the I2C-controller that drives the control interface.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with DE2 Audio Codec ssuunny2005 IP Discussion 1 April 4th, 2010 04:33 PM
Help with the Audio Codec patrickbway Development Kit Related 5 December 9th, 2009 09:48 PM
Help needed about the DE2 Audio Codec ssuunny2005 Development Kit Related 6 May 11th, 2009 01:52 AM
audio codec -- help help galaxary Development Kit Related 1 April 24th, 2008 06:24 AM
SPI and an Audio codec eltonlaonong General Discussion Forum 2 October 20th, 2005 01:14 PM


All times are GMT -8. The time now is 11:50 AM.