Altera Forum






Threads: 18,987
Posts: 77,595
Members: 29,300
Welcome to our newest member, Max10
User
Reputation
9135
7620
5891
4200
3030
2197
2056
1706
1388
1300




 
Register
Quick Search
 
  Altera Forums > IP and Dev Kit Related > Development Kit Related

Help with the Audio Codec

Reply
 
Thread Tools Display Modes
  #1  
Old January 21st, 2008, 06:29 PM
patrickbway patrickbway is offline
Altera Pupil
 
Join Date: Jan 2008
Posts: 11
Rep Power: 978
patrickbway is on a distinguished road
Default Help with the Audio Codec

Hello

I have made a 16-bit fir tap filter with quatus, and I really need help with getting the audio codec to work on my Cyclone II

I have a 16-bit input, but quatus does not allow me to put a bus on the ADC pin. I am assuming you need a parallel to serial block/code? Im kinda at a loss here, am i right to use the I2C pins too?

If there is anyone here who has worked with the codec, could you help a newbie out?
Reply With Quote
  #2  
Old January 22nd, 2008, 12:44 AM
FvM FvM is offline
Altera Guru
 
Join Date: Dec 2007
Location: Bochum Germany
Posts: 3,271
Rep Power: 7207
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: Help with the Audio Codec

Hello,

I didn't use audio codec with Altera, thus I can give only general hints.

You guessed right, that you need a serial-to-parallel conversion of AD data respectively a parallel-to-serial conversion of DA data. Common codecs use I2S standard for data interface (don't know if you have DE2 or Altera DSP board). Additional you have to setup the chip through control interface, which can be either I2C(DE2,Altera DSP) or SPI(only Altera DSP). In your case, you would choose 16 Bit data length and your preferred sample rate.

I wonder, if Altera has shipped any design examples with DSP board. Terasic has audio "demonstrations" with DE1/DE2, but they are far from being instructive to my opinion. Just a few naked lines of verilog code.

I could be a good HDL programming exercise to build the codec interface from the scratch, using only the codec datasheet, but probably that isn't your main interest.

Regards,

Frank
Reply With Quote
  #3  
Old March 13th, 2008, 02:23 PM
patrickbway patrickbway is offline
Altera Pupil
 
Join Date: Jan 2008
Posts: 11
Rep Power: 978
patrickbway is on a distinguished road
Default Re: Help with the Audio Codec

Is there anyone who has a block or verilog of an I2C slave interface for this codec? I have looked online but a lot of the codes are complicated for me
Reply With Quote
  #4  
Old June 3rd, 2008, 03:32 AM
keanu13 keanu13 is offline
Altera Beginner
 
Join Date: May 2008
Posts: 3
Rep Power: 839
keanu13 is on a distinguished road
Default Re: Help with the Audio Codec

If you want to get to know about pros and cons of various audio codecs then you have a look at

Audio Codecs: Pros & Cons

But if you are planning to buy/purchase may be couple of sites are there design-reuse, design-win, or IPsupermarket.com
Reply With Quote
  #5  
Old October 10th, 2008, 04:40 AM
100ml 100ml is offline
Altera Beginner
 
Join Date: Aug 2008
Posts: 1
Rep Power: 767
100ml is on a distinguished road
Default Re: Help with the Audio Codec

wow !
i got the same problem going on !!
im using DE2 board and im implementing FIR filter now i need to configure the Audio Codec :S !!
Reply With Quote
  #6  
Old December 9th, 2009, 09:48 PM
ravithakur ravithakur is offline
Altera Pupil
 
Join Date: Dec 2009
Posts: 10
Rep Power: 282
ravithakur is on a distinguished road
Default Re: Help with the Audio Codec

The DE2_i2sound example should help you fighure out the codec programming part. as for the filter implementation, I am lost as well cant get the thing to work. The passthrough from the filter works but nothing when the filter is engaged.
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 needed about the DE2 Audio Codec ssuunny2005 Development Kit Related 6 May 11th, 2009 01:52 AM
Ask about the DE2 Audio Codec. ssuunny2005 University Program 8 May 24th, 2008 12:46 PM
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 06:48 AM.