Hi all,
We have a MicroZed 7020 running Linux OS on which some processes are executed, we need to measure onboard temperature and detect the overtemperature to shutdown these processes.
we consulted some Xilinx documents and we found that XADC can measure the onboard temperature and detect the overtemperature.
if my understanding is correct, the XADC can be used for these two purposes without instantiating in our Vivado project, which is our case.
and when testing in our board, i found the following files in the /sys/bus/iio/devices/iio:device0/ directory:
* in_temp0_offset
* in_temp0_raw
* in_temp0_scale
by using the following formula: T = (((in_temp0_raw + in_temp0_offset) * in_temp0_scale) / 1000), I found the following values:
Just after booting and without running any of our processes: T = (((2688 - 2219) * 123.040771484) / 1000) = 57.7061
* Are these values true ? because i think such Temperature is very high.
* Is there a way to detect the overtemperature using the XADC ? If yes, what are the steps to be performed ?
Any help would be appreciated.
Regards,
Aziz.