Mx28 Silab temp
The on-board supervisory microcontroller contains an internal temperature sensor that can measure near ambient temperature on the SBC. The temperature sensor shares the same charastics of the ADC, that is, 10 bit with a 2.5 V reference voltage. The current value of the temperature sensor can be read with tsmicroctl:
tsmicroctl -i ... temp_sensor=0x160 ...
The temperature sensor has a 2.87 mV/°C slope, with an offset of 764 mV at 0 °C. The final output has a linearity of ±0.5 °C, an output error of ±128 uV/°C, and an offset error of ±15 mV.
Note that the actual temperature will be higher than true ambient. This is due to internal die heating, as well as overall heating of the PCB from operation.