DSPRelated.com
Forums

AD1854 problem with BF537 EZ Kit lite

Started by isnithin August 7, 2008
Hello Everyone,

I am developing an audio application using Blackfin BF537 EzKit lite. I
have some problems with DAC 1854 Sport interface. I want to pass the audio
data samples via SPORT interface to DAC 1854 without using DMA.

I am writing to Sport 0 Tx register on receiving the SPORT0_TX interrup as
follows
*pSPORT_TX=*(audio_data);

Should I need wait to check any status register of SPORT before I write
the next data.
Please suggest me the sample code for the same.

Regards,
Nithin K S
On Aug 7, 1:26 am, "isnithin" <isnit...@gmail.com> wrote:
> Hello Everyone, > > I am developing an audio application using Blackfin BF537 EzKit lite. I > have some problems with DAC 1854 Sport interface. I want to pass the audio > data samples via SPORT interface to DAC 1854 without using DMA.
Why can't you use DMA? It will substantially lower your overhead, unless you are calculating the data on the fly.
> I am writing to Sport 0 Tx register on receiving the SPORT0_TX interrup as > follows > *pSPORT_TX=*(audio_data); > > Should I need wait to check any status register of SPORT before I write > the next data.
Perhaps not if you don't write it again before receiving another interrupt. Otherwise, yes, not only that but you probably also need to do some kind of bus sync to make the write actually occur before you read the status register.