 |
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 |
|
|
|
Help with the Audio Codec

January 21st, 2008, 06:29 PM
|
|
Altera Pupil
|
|
Join Date: Jan 2008
Posts: 11
Rep Power: 978
|
|
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?
|

January 22nd, 2008, 12:44 AM
|
|
Altera Guru
|
|
Join Date: Dec 2007
Location: Bochum Germany
Posts: 3,271
Rep Power: 7207
|
|
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
|

March 13th, 2008, 02:23 PM
|
|
Altera Pupil
|
|
Join Date: Jan 2008
Posts: 11
Rep Power: 978
|
|
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
|

June 3rd, 2008, 03:32 AM
|
|
Altera Beginner
|
|
Join Date: May 2008
Posts: 3
Rep Power: 839
|
|
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
|

October 10th, 2008, 04:40 AM
|
|
Altera Beginner
|
|
Join Date: Aug 2008
Posts: 1
Rep Power: 767
|
|
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 !!
|

December 9th, 2009, 09:48 PM
|
|
Altera Pupil
|
|
Join Date: Dec 2009
Posts: 10
Rep Power: 282
|
|
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.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -8. The time now is 06:48 AM.
|