SoM Temperature Sensors


The SOM has the following temperature sensors built into the SoC. They can be accessed via sysfs by reading one of the following files:
NOTE - Divide the output value by 1000 to convert to Celcius.

# CPU Temperature
# GPU Temperature
# Core Temperature
# DSP/EVE Temperature
# IVA Temperature


The FPGA temperature can be obtained through Xilinx's XADC IP core. With this core enabled in the FPGA, the temperature can be accessed via
the GPMC interface. See Critical Links example FPGA that includes the XADC IP core found here:
Documentation for the XADC can be found here:

If using Critical Link's example FPGA found here:
You can access the FPGA temperature as follows:

root@mitysom-am57x:~# memtool -16 0x01000180 1
Reading 0x1 count starting at address 0x01000180

0x01000180:  9AA7

Now convert the returned value to Celcius by ((ADC_CODE * 503.975) / 4096) - 273.15
1. 0x9AA7 >> 4 --> 0x9AA (The XADC core uses the upper 12 bits for data)
2. 0x9AA --> 2474 decimal
3. ((2474 * 503.975) / 4096) - 273.15 = 31.25 C

The FPGA also supports outputting the temperature via a remote temperature sensor (e.g. LTC2997) which would need to be placed on the baseboard that would output a linear VPTAT analog voltage representing the temperature which could be read by an ADC.

Go to top
Add picture from clipboard (Maximum size: 600 MB)