Hi,
We are developing a product based on the MIMX8MM6CVTKZAA processor and have been encountering an issue with the thermal management unit. The issue manifests itself when you try to access the temp as follows:
I also encountered the same problem. After I changed #define TEMP_LOW_LIMIT 10 to -40, 0 will be displayed all the time after 0℃, and negative values cannot be displayed. Could you please tell me how to modify it so that it can be displayed correctly?
Hi Ben
there may be two reasons:
- hardware, please check pins TSENSOR_TEST_OUT is left open
and TSENSOR_RES_EXT is tied to ground via a 100k 1% resistor(as in EVK board).
-software, since temperature range is defined as 10°C to 105°C
according to Table 9. Operating ranges i.MX 8M Mini Applications Processor Datasheet for Industrial Products
temperature driver imx8mm_thermal.c checks it, triggering the resource not available
error message :
#define TEMP_LOW_LIMIT 10
imx8mm_thermal.c\thermal\drivers - linux-imx - i.MX Linux kernel
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi @igorpadykov,
Why does the temperature sensing have a range of 10 to 105°C?
A temperature range of -40 to 105° is specified for the industrial temperature grade. The TMU of the iMX8MM therefore does not provide any values for very low ambient temperatures.
Thanks.