linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SPI-ADC
@ 2010-02-13  5:48 arjun rath
       [not found] ` <dc6d3181002122148v6451ebffka164de288738485d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2010-02-13 13:48 ` [spi-devel-general] SPI-ADC Linus Walleij
  0 siblings, 2 replies; 14+ messages in thread
From: arjun rath @ 2010-02-13  5:48 UTC (permalink / raw)
  To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


[-- Attachment #1.1: Type: text/plain, Size: 195 bytes --]

Hi everybody,

can anybody share how to start a spi based ADC linux driver.I am having a
MAXIM 1242 ADC chip.

Can anybody share some reference driver for the same chip

Thanks in advance

Arjun

[-- Attachment #1.2: Type: text/html, Size: 223 bytes --]

[-- Attachment #2: Type: text/plain, Size: 254 bytes --]

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev

[-- Attachment #3: Type: text/plain, Size: 210 bytes --]

_______________________________________________
spi-devel-general mailing list
spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

^ permalink raw reply	[flat|nested] 14+ messages in thread
* SPI-ADC
@ 2010-04-22  6:20 arjun rath
       [not found] ` <o2idc6d3181004212320neaf99b0az27938c369e1a5557-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: arjun rath @ 2010-04-22  6:20 UTC (permalink / raw)
  To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi Everybody,

I am using a SPI based 12 bit adc(max1241) from maxim.I am trying to read
the value from adc  using spi_read() in linux kernel.But every time i used
to read i am getting *0xff* only.(i have to read two consecutive bytes).To
the adc chip i am probing with CRO which always shows DOUT pin of ADC as
high provided the input to ADC is always 1.1 volt.
And the clock is also coming as seen in the CRO with Chip select line going
low.

Is it a delay problem since for adc's we have to wait for sometime for
conversion of data....????

Can anybody give some suggestion regarding this....

Thanks in advance
------------------------------------------------------------------------------

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

end of thread, other threads:[~2010-04-26  7:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-13  5:48 SPI-ADC arjun rath
     [not found] ` <dc6d3181002122148v6451ebffka164de288738485d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-13  6:38   ` SPI-ADC Ben Gamari
2010-02-13 13:48 ` [spi-devel-general] SPI-ADC Linus Walleij
2010-02-13 16:51   ` Jonathan Cameron
2010-02-13 17:03     ` Mike Frysinger
2010-02-13 21:20     ` Linus Walleij
     [not found]       ` <63386a3d1002131320u5afbc35ak2bc3533aab3f1e54-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-15  4:29         ` SPI-ADC arjun rath
     [not found]           ` <dc6d3181002142029j13a9e57la45aa90a269404fa-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-15  8:49             ` SPI-ADC jassi brar
2010-02-15 17:33             ` SPI-ADC Ben Gamari
2010-04-22  6:20 SPI-ADC arjun rath
     [not found] ` <o2idc6d3181004212320neaf99b0az27938c369e1a5557-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-22 16:23   ` SPI-ADC H Hartley Sweeten
     [not found]     ` <y2tdc6d3181004222208uf6f4a9ecl7d0e2f084fd56a08@mail.gmail.com>
     [not found]       ` <y2tdc6d3181004222208uf6f4a9ecl7d0e2f084fd56a08-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-23 16:58         ` SPI-ADC H Hartley Sweeten
     [not found]           ` <0D753D10438DA54287A00B0270842697636D941949-gaq956PjLg32KbjnnMDalRurcAul1UnsRrxOEX5GOmysTnJN9+BGXg@public.gmane.org>
2010-04-26  7:26             ` SPI-ADC Haavard Skinnemoen
2010-04-26  7:40               ` SPI-ADC arjun rath

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