On Mon, Sep 06, 2010 at 02:55:21AM -0000, Blair wrote:
> The optional temp sensor on the 7350 is also an SPI device and the source is
> available at the TS ftp site but clearly there is more than meets the eye
> with SPI.
>
> On the surface it sounds simple enough. Write configuration data.
> Manipulate the chip select GPIO line, read back the data. Not working right.
Yeah, having oscilloscope or logic analyzer helps a lot here.
> The ADC chip is 12 bits so I would think you's configure the interface for 12
> bits but the gentleman who posted the code has it set up for 8 bits and does
> MSB and LSB reads. Plus there's some other weird writes I don't understand
> going on there.
>
> And the spitest code found in the kernel docs doesn't run. Someone else had
> the same problem on linuxquestions.org but didn't get an answer.
Are you using ep93xx_spi driver and spidev on top of that or what
kind of setup you have? How the spitest code fails to run?
MW
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|