TS-4710 Temp Sensor: Difference between revisions

From embeddedTS Manuals
(Created page with "This macrocontroller includes temperature sensors located on the CPU and RTC. Both of these can be read using tshwctl: <source lang=bash> tshwctl --rtctemp tshwctl --cputemp ...")
 
(Change from Macrocontroller to SoM. Fix deprecated source tags)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
This macrocontroller includes temperature sensors located on the CPU and RTC.  Both of these can be read using tshwctl:
This System-on-Module includes temperature sensors located on the CPU and RTC.  Both of these can be read using <code>tshwctl</code>:
<source lang=bash>
<syntaxhighlight lang=bash>
tshwctl --rtctemp
tshwctl --rtctemp
tshwctl --cputemp
tshwctl --cputemp
</source>
</syntaxhighlight>


Both of these will return the temperature in millivolts.
Both of these will return the temperature in millicelsius.

Latest revision as of 17:33, 12 June 2023

This System-on-Module includes temperature sensors located on the CPU and RTC. Both of these can be read using tshwctl:

tshwctl --rtctemp
tshwctl --cputemp

Both of these will return the temperature in millicelsius.