(Created page with "=Different Temperature Sensors= The AXIOM Beta hardware contains several temperature sensors but also different chips and components operating at different temperature ranges...")
 
(Different Temperature Sensors)
Line 1: Line 1:
 
=Different Temperature Sensors=
 
=Different Temperature Sensors=
  
The AXIOM Beta hardware contains several temperature sensors but also different chips and components operating at different temperature ranges. The Zynq for example has a rather hot operation range but the image sensor is meant to be as cold as possible meaning just a little bit above room temperature. This page is a collection of information related to reading the different temperatures throughout the hardware.
+
The AXIOM Beta hardware contains several temperature sensors (some dedicated sensors some integrated in other chips) the different chips and components are also operating at different temperature ranges. The Zynq for example has a rather hot operation range but the image sensor is meant to be as cold as possible meaning just a few degrees above room temperature. This page is a collection of information related to reading the different temperatures throughout the hardware.
 +
 
 +
==MicroZed™ Zynq 7020==
 +
 
 +
The Zynq 7020 has a maximum operating temperature of 85°C and has a special heat sink attached.
 +
 
 +
The temperature can be read with the <code>axiom-zynq-info.sh</code> script ([[AXIOM Beta Firmware Version 2.0]]) which contains the following code lines:
 +
<pre style="white-space: pre-wrap">
 +
ZTO=`cat /sys/devices/soc0/amba/*.adc/iio*/in_temp0_offset`
 +
ZTR=`cat /sys/devices/soc0/amba/*.adc/iio*/in_temp0_raw`
 +
ZTS=`cat /sys/devices/soc0/amba/*.adc/iio*/in_temp0_scale`
 +
 
 +
ZT=`dc -e "5k $ZTR ${ZTO/-/_} + $ZTS * 1000 / p"`
 +
 
 +
printf "%-14.14s\t%8.4f °C\n" "Temp" $ZT
 +
</pre>

Revision as of 15:01, 19 July 2020

1 Different Temperature Sensors

The AXIOM Beta hardware contains several temperature sensors (some dedicated sensors some integrated in other chips) the different chips and components are also operating at different temperature ranges. The Zynq for example has a rather hot operation range but the image sensor is meant to be as cold as possible meaning just a few degrees above room temperature. This page is a collection of information related to reading the different temperatures throughout the hardware.

1.1 MicroZed™ Zynq 7020

The Zynq 7020 has a maximum operating temperature of 85°C and has a special heat sink attached.

The temperature can be read with the axiom-zynq-info.sh script (AXIOM Beta Firmware Version 2.0) which contains the following code lines:

ZTO=`cat /sys/devices/soc0/amba/*.adc/iio*/in_temp0_offset` 
ZTR=`cat /sys/devices/soc0/amba/*.adc/iio*/in_temp0_raw` 
ZTS=`cat /sys/devices/soc0/amba/*.adc/iio*/in_temp0_scale` 

ZT=`dc -e "5k $ZTR ${ZTO/-/_} + $ZTS * 1000 / p"`

printf "%-14.14s\t%8.4f °C\n" "Temp" $ZT