From mboxrd@z Thu Jan 1 00:00:00 1970 From: magene-5892unH0nlnYtjvyW6yDsg@public.gmane.org Subject: SPI or CSPI transfers using DMA Date: Thu, 30 Oct 2008 22:46:29 -0700 Message-ID: <10811398.477881225431989704.JavaMail.nabble@isper.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org I've been developing an application on an Eurotech (formerly Applied Data Systems) Bitsy Xb PXA270 board that reads data from and ADC at about 50 kSamples/sec. It works fine when I poll the SPI port for data but I get some drop outs in the data, probably when the OS is off doing something else. I'd like to use DMA put the DMA engine on the PXA270 has a pretty steep learning curve. Does anyone have a code example that could help jumpstart me? I may be upgrading to a i.MX31 based board and similar examples with that device's CSPI and DMA would also be helpful. Thanks - Gene ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/