Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | Blackfin DMA + PPI

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

Blackfin DMA + PPI - isni...@gmail.com - May 9 6:53:53 2008



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
------------------------------------



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: Blackfin DMA + PPI - Mike Rosing - May 9 11:56:19 2008

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
------------------------------------



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )