DSPRelated.com
Forums

AW: SPORT DMA Chaining for pingpong buffer

Started by Burgwedel, Friedrich October 1, 2003

First, have a look at the tcb adressing -- the chain pointer must adress the
II register value of the next tcb!
Second, tcb layout is in reverse order compared to the register layout;
Third, did you add the chain pointer offset required by most sharc dsps?
Last, did you enable both dma and chaining in the sport control register,
and !then! write the CP register to start chain loading?

So long
Friedrich -----Ursprgliche Nachricht-----
Von: Mike Rosing [mailto:]
Gesendet: Mittwoch, 1. Oktober 2003 18:12
An: hifijp2002
Cc:
Betreff: Re: [adsp] SPORT DMA Chaining for pingpong buffer On Wed, 1 Oct 2003, hifijp2002 wrote:

> Hi all
> I am coding audio multi channel input and output by 21161's SPORT DMA
> chaining for pingpong buffer.
> I want to code as possible as interrupt less program.
> I try to transfer 8 sample multi channel audio data by one SPORT DMA
> chaining .
> Problem, I set a SPORT DMA chaining,but CP doesn't change value.
> I think CP write timing is bad,
> I changed CP write timing late.It's bad too. > How to set SPORT DMA chaining in multi channel continued audio data.
> I want someone to Suggest me it.

I'm not totally familiar with the sport, but chain pointing requires
each dma control block to point to the next one in the chain. Double
check your control blocks and make sure the chain enable bit is set
in the dma control word in each block.

Patience, persistence, truth,
Dr. mike
_____________________________________
Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you
want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to

To Post: Send an email to

To Leave: Send an email to

Archives: http://groups.yahoo.com/group/adsp

Other Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/