Thanks a lot.
I just saw the Temperature sensor reading sample code
<http://www.embeddedx86.com/downloads/samplecode/tempSensor.tar.gz> link
on TS website.
agrimiore a écrit :
>i can quickly answer a few of your question.
>
>
>--- In Matthieu Crapet <> wrote:
>
>
>>Greetings,
>>
>>This is few minors questions :)
>>
>>1) I'd like to figure out the content of TS72XX_STATUS register
>>(0x10800000).
>>I've got a value of 187 (=0xBB) :
>>
>>bit 0: JP2 (1 = on)
>>bit 1: JP3 (1 = on)
>>bit 2: ???
>>
>>
>Bit 2 is tied to GROUND, just ignore it.
>
>
>>bit 3: JP4 (1 = off)
>>bit 4: JP5 (1 = off)
>>bit 5: ???
>>
>>
>
>the TS-7250 uses bit 5 for the NAND flash busy bit
>
>
>>bit 6: ???
>>
>>
>COM1 DCD
>
>
>>bit 7: ???
>>
>>
>the MAX197 busy bit
>
>
>
>>JP6 is bit 0 (1 = on) of 0x22800000.
>>Is there someting important on the others bits ?
>>
>>2) The TS72XX_IO16_FEATURES (I mean 0x22400000) is quite not documented
>>much:
>>bit 0: AtoD (1 = yes)
>>bit 1: RS485 (1 = yes)
>>
>>Inside the drivers/misc/ts_sbcinfo.c there is
>>...
>> if (temp & 0x02) {
>> sbc->RS485 = 1;
>> sbc->auto485 = 1;
>>
>>What's auto485 / Is that the half/full duplex feature ?
>>
>>
>>
>if the board is purchased with RS485, you have the ability to have the
> hardware raise/lower TX (or something). Check the hardware manual for
>details. This is only makes sense on half-duplex
>
>
>
>> temp = inw(TS7XXX_MODEL) & 0x07;
>>
>> sbc->pld_ver = temp & 0x0007;
>> //set the model number
>> switch (temp) {
>>
>>pld_ver should not be read in TS72XX_PLDREV (0x23400000) ??
>>
>>3) Maybe it has be discussed already on the ML, but how to use the
>>on-board temperature sensor ??
>>How to detect if the board has it ?
>>
>>
>>
>email TS. We just developed sample code.
>
>
>
>>4) I'm asking the usage of mapping manually the Flash
>>(arch/arm/mach-ep93xx/mm.c),
>>Is it only to read the MAC address stored in flash (RedBoot / FIS
>>directory 0x607E0000) ?
>>
>>Thanks,
>>
>>matthieu
>>
>>
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
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/
|