AnsweredAssumed Answered

formula for Tmeas in i.MX7D

Question asked by ko-hey on Aug 8, 2018
Latest reply on Aug 15, 2018 by Yuri Muhin

Hi all

 

I would like to measure the temperature of SoC using TEMPMON and have some questions.

 

Q1.

Please tell me the formula of Tmeans in i.MX7.

The calculation formula of Tmeas of p.4988 of i.MX7 RM Rev.1 is as below

 

On the other hand, the calculation formula of Linux source code is different.

Please see a line 585.

http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/drivers/thermal/imx_thermal.c?h=imx_4.9.11_1.0.0_ga

 

 

Which one is correct ?

 

If the Linux code is correct, please tell me the formula for calculating the temperature at i.MX7 like "Tmeans = ???”.

 

 

Q2.

It seems to obtain the temperature using the calibration value in OCOTP_ANA1, but is OCOTP_ANA1 written at shipment?

Do we need to write the temperature by user ?

 

 

Ko-hey

 

Outcomes