Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
Hi,
* I am using Blackfin BF534 for my application....
* I am using PPI interface with DMA for storing 12 bit data coming from ADC....
* At the end of the transfer (end of buffer say 1024 smaples) I am generating the
Interrupt.....
* I want to perform some opeartion on processing this interrupt...
* Again, I want to use the DMA and PPI channel for storing the next set of data coming
from ADC(another 1024 samples),
* I want to use the DMA and PPI "N " number of times and store the data, in a
buffer in a continuos location (1024 * "N") .....
How can I do this??
What are the necessary changes I need to make in DMA and PPI channel before using it again??
--
Kind Regards,
Nithin K S
------------------------------------
On Fri, 9 May 2008 i...@gmail.com wrote: > Hi, > > * I am using Blackfin BF534 for my application.... > * I am using PPI interface with DMA for storing 12 bit data coming from ADC.... > * At the end of the transfer (end of buffer say 1024 smaples) I am generating the Interrupt..... > * I want to perform some opeartion on processing this interrupt... > * Again, I want to use the DMA and PPI channel for storing the next set of data coming from ADC(another 1024 samples), > * I want to use the DMA and PPI "N " number of times and store the data, in a buffer in a continuos location (1024 * "N") ..... > > How can I do this?? > What are the necessary changes I need to make in DMA and PPI channel before using it again?? Look up "DMA chaining" in the manual. Each time the DMA finishes one buffer it will automatically load the next set of pointers to the next buffer. You can set up the interrupts to fire on each buffer, or at the end of the chain. You should not need to do anything to the PPI channel, but check the manual! Patience, persistence, truth, Dr. mike ------------------------------------