Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Notes
|-
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededededf8fb; padding:5px; color:#000000"|20232024/01/23|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededededf8fb; padding:5px; color:#000000"|DESK-XZ7-L-1.0.1 release
|-
|}
<section end=History/>
__FORCETOC__
<section begin=Body/>
== Peripheral Temperature sensors ==Bora and BoraX SOMs has a [http://www.ti.com/lit/ds/symlink/tmp422.pdf TMP421AIDCN] temperature sensor onboard.
[[BORA SOM | BORA]] and [[BORA Xpress SOM | BORA Xpress]] SOMs has a [http://www.ti.com/lit/ds/symlink/tmp422.pdf TMP421AIDCN] temperature sensor onboard. ===Accessing the peripheral === The following commands temperature information can be issued from command line in order to get accessed through the SOM temperatue<code>sysfs</code> interface:* ==== read the PCB temperature====
<pre>
root@bora:~# cat /sys/devices/soc0/axi/e0004000.i2c/i2c-0/0-004f/hwmon/hwmon1/temp1_input
</pre>
the returned value has to be divided by 1000 for a °C temperature
* ==== read the CPU temperature ====
<pre>
root@bora:~# cat /sys/devices/soc0/axi/e0004000.i2c/i2c-0/0-004f/hwmon/hwmon1/temp2_input
the returned value has to be divided by 1000 for a °C temperature
==== internal SoC temperature ==== Moreover, the SOC SoC has an internal temperature sensor device which can be read using the following shell script:
<pre>
root@bora:~# cat temp.sh
Cpu Temp: 46.0172
</pre>
<section end=Temperature sensors/>
<section end=Body/>
---- [[Category:BORA]] [[Category:BORA Xpress]]
8,226
edits