linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: magene-5892unH0nlnYtjvyW6yDsg@public.gmane.org
To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: SPI or CSPI transfers using DMA
Date: Thu, 30 Oct 2008 22:46:29 -0700	[thread overview]
Message-ID: <10811398.477881225431989704.JavaMail.nabble@isper.nabble.com> (raw)

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

             reply	other threads:[~2008-10-31  5:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-31  5:46 magene-5892unH0nlnYtjvyW6yDsg [this message]
     [not found] ` <10811398.477881225431989704.JavaMail.nabble-eSX/vLDKhQvUl7QJpGZvuQ@public.gmane.org>
2008-10-31 12:28   ` SPI or CSPI transfers using DMA Ned Forrester
2008-11-20 21:39   ` David Brownell
     [not found]     ` <200811201339.28627.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2008-11-20 23:07       ` Ned Forrester
     [not found]         ` <4925ED9B.305-/d+BM93fTQY@public.gmane.org>
2008-11-20 23:46           ` Massion, Gene

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10811398.477881225431989704.JavaMail.nabble@isper.nabble.com \
    --to=magene-5892unh0nlnytjvyw6ydsg@public.gmane.org \
    --cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).