I have done more investigation on this. The temperature sensor is not
a true SPI interface device (no SPI_MOSI). As such it is not possible
to use the SPI hardware on the TS7250 to send data to the chip (read
temp, shutdown, etc). I downloaded sample code from
http://www.embeddedarm.com/downloads/samplecode/tempSensor.tar.gz and
modified it to correctly read the temperature sensor. I will post it
as NewTempLogger.c. I still have some confusion about how the
schematic shows the Chip Select line. Looking at the schematic it
looks like it should be PORT F bit 1 (DIO_17). But the code is using
PORT F bit 2 (ISA_IRQ5 according to the schematic).
Feedback/Comments welcome
-Keith
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|