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/ _______________________________________________ spi-devel-general mailing list spi-devel-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spi-devel-general