DSPRelated.com
Forums

Anybody interfaced AC '97 codec to BF533

Started by mall...@yahoo.co.in October 24, 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 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...........
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 Aranguren Cardona
> j...@ieee.org
> j...@computer.org
> ----- Original Message ----
> From: "m...@yahoo.co.in"
> To: a...
> 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 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....... ....
>
> __________________________________________________
>
>
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 Aranguren Cardona
j...@ieee.org
j...@computer.org

----- Original Message ----
From: "m...@yahoo.co.in"
To: a...
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 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....... ....

__________________________________________________