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. |
|
SPORT DMA Chaining for pingpong buffer
Started by ●October 1, 2003
Reply by ●October 1, 20032003-10-01
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 |