TS-7250-V3 Supervisory Temperature

From embeddedTS Manuals
Revision as of 11:47, 31 March 2023 by Mark (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The supervisory microcontroller provides a temperature sensor to read its die temperature as millicelcius.

iio device iio channel
tssupervisor-temp temp

These can be accessed from any language with iio bindings, from /sys/bus/iio/, or using iio_attr. For example, to reading the temperature with iio_attr:

root@tsimx6ul:~# iio_attr -c tssupervisor-temp temp
dev 'tssupervisor-temp', channel 'temp' (input), attr 'input', value '32915'

This value would be 32.915C.