linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to access spi ADC on high sample rate ?
@ 2011-04-05  5:39 Flávio Alberto Lopes Soares
  0 siblings, 0 replies; only message in thread
From: Flávio Alberto Lopes Soares @ 2011-04-05  5:39 UTC (permalink / raw)
  To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello all, I'm using an ads8320 analog/digital converter connected to a
2S3C2440 Samsung ucontroller by a SPI bus, I'm using spidev driver on kernel
2.6.32 to access it from user space and this works fine.
The problem occurs because I want to access this adc in your max sample rate
possible (100K Samples/s according datasheet, 50% of this for me will be
great) saving this data, reading using an application in user space only
reach 200 Samples/s in linux kernel, this is for me was not surprising
because the application runs in user space and process scheduler time slice
prevents achieve a faster sample rate. I want to know the best way to access
this adc (I believe I need write a kernel driver), there's some reference
example or documentation to do this ? Some audio capture driver can serve as
reference ?

Thanks in advance

Flavio Alberto Lopes Soares
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-05  5:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-05  5:39 how to access spi ADC on high sample rate ? Flávio Alberto Lopes Soares

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