formula for Tmeas in i.MX7D

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

formula for Tmeas in i.MX7D

ソリューションへジャンプ
1,362件の閲覧回数
ko-hey
Senior Contributor II

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

232001_232001.pngimage003.png

 

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...

 

 

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

 

ラベル(5)
0 件の賞賛
返信
1 解決策
1,164件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  Two points approximation in the RM  looks more accurate, nevertheless,

in practice one point approach provides reasonable results. Therefore our GA

Linux driver formula remains valid

Tmeas = ( Nmeas - n1) + 25; n1 is the fuse value for 25C (factory provided);

no changes to driver is needed.


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,165件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  Two points approximation in the RM  looks more accurate, nevertheless,

in practice one point approach provides reasonable results. Therefore our GA

Linux driver formula remains valid

Tmeas = ( Nmeas - n1) + 25; n1 is the fuse value for 25C (factory provided);

no changes to driver is needed.


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,164件の閲覧回数
ko-hey
Senior Contributor II

Hi Yuri Muhin

Thank you for quick reply.

How about Q2 ?

Ko-hey

0 件の賞賛
返信
1,164件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  As has been mentioned, the fuse value is factory provided.

Regards,

Yuri.

0 件の賞賛
返信