This guide will show you how to read the junction temperature of the processor on the phyCORE-AM65x SOM. Your SOM should come with a heat sink and fan installed to keep the processor below the set trip points and within specified operating temperature.
Reading the Temperature
The TI AM65x processor has three physical locations where the temperature can be monitored (thermal zones). Each zone can be accessed in the following Linux directories.
The below command can be used to output the temperature of thermal zone 0. This same command can be used for zones 1 and 2.
This output translates to 41.4C:
Temperature Trip Points
Each thermal zone includes trip points. You can set the trip points to a temperature that will trigger an event, such as turning on a fan for active cooling. You can also build in a critical trip point; if this temperature is reached, Linux will automatically shutdown the system for protection of the processor.
An example below shows how to view the trip point of thermal zone 0. In this example there is a critical trip point when the temperature reaches 125C.