From: Jonathan Cameron <jic23-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>
To: "Hans J. Koch" <hjk-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Driver for ADC088S052
Date: Tue, 03 Jun 2008 18:49:50 +0100 [thread overview]
Message-ID: <4845843E.2040000@cam.ac.uk> (raw)
In-Reply-To: <20080603145927.GA2338@local>
Hi Hans,
> Hi,
> I need a driver for an ADC088S052 (National Semiconductor). This is an
> 8-bit successive-approximation A/D converter with 8 multiplexed inputs
> and an SPI interface.
> It's relatively new, and Google doesn't report anything useful for
> Linux. So I don't have much hope, but I try it anyway:
>
> Is anybody working on a driver for that chip, or knows of such a
> project? Any other hints?
Whilst I'm not aware of a driver for that particular chip, it has a very
simple interface so a basic driver would be relatively straight forward.
As far as I can tell from a quick read it's just a case of doing full
duplex 16 bit transfers with a few bits on the send specifying which
channel to grab next?
However, as per the recent thread on this list and lkml, there are some
issues with how and where to integrate such a driver with the main kernel
that are somewhat dependent on what you want to do with it. (search
for "accelerometer" to get the relevant discussion).
If your application is of the simple poll all inputs every now and then
variety where a sysfs "readall" attribute would do the job then it should
be straight forward to write such a driver from scratch. Perhaps you
could give us a few more details of the application / requirements?
Jonathan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
next prev parent reply other threads:[~2008-06-03 17:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-03 14:59 Driver for ADC088S052 Hans J. Koch
2008-06-03 17:49 ` Jonathan Cameron [this message]
[not found] ` <4845843E.2040000-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>
2008-06-03 21:28 ` Hans J. Koch
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=4845843E.2040000@cam.ac.uk \
--to=jic23-kwpb1pkirijaa/9udqfwiw@public.gmane.org \
--cc=hjk-hfZtesqFncYOwBW4kG4KsQ@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 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.