All of lore.kernel.org
 help / color / mirror / Atom feed
* ADS1256 - too fast for Linux ?
@ 2011-01-14 12:02 Flávio Alberto Lopes Soares
       [not found] ` <AANLkTikhEd1AER28AoV3DVqZENzXyX3RRpv7CP2sOvdE-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Flávio Alberto Lopes Soares @ 2011-01-14 12:02 UTC (permalink / raw)
  To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello all,
I need to communicate with a Texas Instruments ADS1256 SPI 24 bits ADC (
http://focus.ti.com/docs/prod/folders/print/ads1256.html) from a 2.6.32
kernel Linux running on a ARM Samsung S3C2440 microcontroller using spidev
module, to do this I need to pass a command on MOSI channel and after read
the result on MISO, but I can't read the correct data from this ADC, the
data is always corrupted, I believe (but I can't prove this) this occurs
because the very short time between the command and response, according with
the component datasheet this time is 50x the clock period, for my circuit
this is approximately 8us and I believe that there's no time to Linux get
the interrupt from SPI process this and read the SPI data, my suspicion can
be correct ? The DMA cannot solve this problem and if true how to know if it
is activated ? Only Real Time Linux can solve this ?

Thanks for all help

Flavio Alberto Lopes Soares
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-15 20:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-14 12:02 ADS1256 - too fast for Linux ? Flávio Alberto Lopes Soares
     [not found] ` <AANLkTikhEd1AER28AoV3DVqZENzXyX3RRpv7CP2sOvdE-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-01-14 23:29   ` Kenneth Heitke
     [not found]     ` <4D30DC66.6080706-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2011-01-15 20:58       ` Flávio Alberto Lopes Soares

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.