Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | Anybody interfaced AC '97 codec to BF533

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

Anybody interfaced AC '97 codec to BF533 - mall...@yahoo.co.in - Oct 24 14:01:55 2007



Hi!

Iam little bit poor at my english so, please read upto end

Iam new to AC '97 Audio codecs....

i want to interface AC'97 codec to BF533 using SPORT interface in multichannel mode........but
iam getting problems in the interface..

In Ac'97 codec specifications I have seen we will be having a slot 0 which will give validity
of all the slots following which is of 16 bits wide for which actually SYNC should be HIGH and
next 12 slots of 20 bits each to be followed..........

but in BF533 SPORT interface in multichannel operation We can get maximum MFD=15 CLK cycles
more than that we can't get.....................

In this how we can provide 16 cycles for SLOT 0 ..............

if Possible tell me how to interface AC'97 Audio codec(AD1985) with BF533.......

thanking u

Waiting for reply...........



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: Anybody interfaced AC '97 codec to BF533 - Al Clark - Oct 26 1:02:35 2007

Unless you are using a device that supports AC-97 directly or you are 
using the special 16 bit mode (SLOT16) that a few ADI AC-97 codecs 
support, writing a driver for an AC-97 codec is painful. I have written 
several (not for the Blackfin).

The main issue is that the TDM slots are not uniform in size. You have a 
TAG slot of 16 bits and 12 slots of 20 bits for a total of 256 bits in 
the TDM stream. You basically need to treat each slot as 16 bits and 
then use a barrel shifter to align all the data.

AC-97 codecs vary in quality and also features so you also need to be 
careful selecting devices. I tested parts from many manufacturers and 
settled on Wolfson for best value with good performance.

Today, you can buy many devices that have better performance than AC-97 
for about the same cost. These devices usually use SPI for control and 
straightforward serial ports for data. I would opt for this solution if 
you can.

Al Clark
Danville Signal Processing, Inc.

Jaime Andres Aranguren Cardona wrote:
> Hello,
>  
> The BF535 EzKit Lite (not the 533) has that codec, if my mind does not 
> play tricks on me.
>  
> Both the BF533 and BF535 SPORTs are very similar, if not the same. So, 
> trying to understand the code already availabe on your VDSP 
> installacion for BF535 will help you alot.
>  
> If you do not have such code on your installation, feel free to ask 
> and I could send to you.
>  
> Regards.
>  
>  
>
> Jaime Andrés Aranguren Cardona
> j...@ieee.org
> j...@computer.org 
> <mailto:j...@ieee.orgj...@computer.org> ----- Original Message ----
> From: "m...@yahoo.co.in" <m...@yahoo.co.in>
> To: a...@yahoogroups.com
> Sent: Wednesday, October 24, 2007 10:30:20 AM
> Subject: [adsp] Anybody interfaced AC '97 codec to BF533
>
> Hi!
>
> Iam little bit poor at my english so, please read upto end
>
> Iam new to AC '97 Audio codecs....
>
> i want to interface AC'97 codec to BF533 using SPORT interface in 
> multichannel mode........ but iam getting problems in the interface..
>
> In Ac'97 codec specifications I have seen we will be having a slot 0 
> which will give validity of all the slots following which is of 16 
> bits wide for which actually SYNC should be HIGH and next 12 slots of 
> 20 bits each to be followed.... ......
>
> but in BF533 SPORT interface in multichannel operation We can get 
> maximum MFD=15 CLK cycles more than that we can't get......... 
> ......... ...
>
> In this how we can provide 16 cycles for SLOT 0 ............ ..
>
> if Possible tell me how to interface AC'97 Audio codec(AD1985) with 
> BF533.......
>
> thanking u
>
> Waiting for reply....... ....
>
> __________________________________________________
> 
>



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: Anybody interfaced AC '97 codec to BF533 - Jaime Andres Aranguren Cardona - Oct 26 13:57:38 2007

Hello,

The BF535 EzKit Lite (not the 533) has that codec, if my mind does not play tricks on me.

Both the BF533 and BF535 SPORTs are very similar, if not the same. So, trying to understand the
code already availabe on your VDSP installacion for BF535 will help you alot.

If you do not have such code on your installation, feel free to ask and I could send to you.

Regards.

Jaime Andrés Aranguren Cardona
j...@ieee.org
j...@computer.org

----- Original Message ----
From: "m...@yahoo.co.in" <m...@yahoo.co.in>
To: a...@yahoogroups.com
Sent: Wednesday, October 24, 2007 10:30:20 AM
Subject: [adsp] Anybody interfaced AC '97 codec to BF533

Hi!

Iam little bit poor at my english so, please read upto end

Iam new to AC '97 Audio codecs....

i want to interface AC'97 codec to BF533 using SPORT interface in multichannel mode........ but
iam getting problems in the interface..

In Ac'97 codec specifications I have seen we will be having a slot 0 which will give validity
of all the slots following which is of 16 bits wide for which actually SYNC should be HIGH and
next 12 slots of 20 bits each to be followed.... ......

but in BF533 SPORT interface in multichannel operation We can get maximum MFD=15 CLK cycles
more than that we can't get......... ......... ...

In this how we can provide 16 cycles for SLOT 0 ............ ..

if Possible tell me how to interface AC'97 Audio codec(AD1985) with BF533.......

thanking u

Waiting for reply....... ....

__________________________________________________
 


(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )