Skip to content

System Temperature Acquisition

1.1 Brief Explanation of Concepts

Explanation of the differences among three temperature concepts.

Item/NameRangeDescription
Ambient TemperatureCommercial: -20℃ ~ +80℃
Industrial: -40℃ ~ +85℃
Commonly known as room temperature
Chip Package TemperatureSlightly lower than junction temperatureTemperature of the chip package and heat dissipation components
System Temperature+115℃を超えないことTemperature of semiconductor devices inside the chip, commonly called Junction Temperature

本文では、主にジャンクション温度についてDescriptionします。

1.2 Operation Method

1.2.1 Queryable Module

Using the find command, you can see that the chip only supports reading the junction temperature of a single area (chip center).

Terminal window
find /sys -name temp

1.2.1 照会可能なモジュール 図1

1.2.2 Query Operation

Use the cat command to check the junction temperature at the chip center as follows.

Terminal window
cat /sys/devices/virtual/thermal/thermal_zone0/temp

1.2.2 照会操作 図2

If the read value is ‘40810’, it indicates that the current junction temperature at the chip center is 40.810°C.

1.3 Additional Information

Users can enter the directory of a specific junction temperature zone to view detailed information. For example, for the chip-center junction temperature zone:

Terminal window
cd /sys/devices/virtual/thermal/thermal_zone0/
ls

3. 拡張知識 図3

A group of trip_point entries is displayed here. These trip_point parameters can be configured in the device tree.

When the junction temperature of the corresponding zone reaches or exceeds the trip_point_0_temp setting (default +115°C) and remains in that state for the duration specified by trip_point_0_hyst, the entire chip will automatically reboot.