On 06/17/2009 08:21 AM, John Lists wrote:
> Hi
> 
> I would like to interface from an OMAP3530 running linux 2.6.29 with an ADC
> slave device via SPI but not sure if it is realistic.
> 
> The ADC is externally clocked and alerts the master (the OMAP) that a sample
> is ready for retrieval by pulling a DataReady line low.
> The ADC pulls the DataReady line low every 19 us (52kSamples/s) and then
> expects the Master to retrieve 96 bits from it with a 25MHz SCLK before the
> next sample becomes ready.
> 
> Is it possible/realistic to write a new kernel protocol driver that uses the
> mcspi controller driver and be sure that the sample will be retrieved every
> time before the 19us lapses?
> 
> Basically my question is, what is the best/easiest way to ensure that the
> OMAP retrieves all the data over SPI within 19us from when the DataReady
> line has been pulled low by the ADC?

I just saw that you posted to this ML also.  See my response on:

[email protected]

-- 
Ned Forrester                                       [email protected]
Oceanographic Systems Lab                                  508-289-2226
Applied Ocean Physics and Engineering Dept.
Woods Hole Oceanographic Institution          Woods Hole, MA 02543, USA
http://www.whoi.edu/
http://www.whoi.edu/sbl/liteSite.do?litesiteid=7212
http://www.whoi.edu/hpb/Site.do?id=1532
http://www.whoi.edu/page.do?pid=10079


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to