Forums

SPORT DMA Chaining for pingpong buffer

Started by hifijp2002 October 1, 2003
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.



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