reading imx6 temperature nagative value

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

reading imx6 temperature nagative value

2,003 次查看
leeseungik
Contributor III

HI

I can't display nagative temperature properly.

in the chamber, positive value looks reasonable, but nagative temperature value looks wrong.


When I print temparatue using read_cpu_temperature() in uboot in -35C champer.

it print as following

   cpu temperature : -56.51 C

Invalid temperature reading

Imx6q doesn't support nagative temperature value?

How can I read correct navative temperature value?

Thanks

seungik lee.

标签 (3)
标记 (3)
0 项奖励
回复
3 回复数

890 次查看
AnsonHuang
NXP Employee
NXP Employee

Hi, Lee

     Can you tell me which uboot version you used, v2009 or v2013? I can NOT see any log like "Invalid temperature reading" in our uboot. It can be the temperature you read is out of our valid range, we only support -40C ~ 125C. Can you try to adjust the champer's temp to -15C?

0 项奖励
回复

890 次查看
leeseungik
Contributor III

Oops it's been a long time.

Sorry I missed your reply until now.

I use v2009 uboot.

Next time I will check temperature at -15C then continue.

Thanks 

0 项奖励
回复

890 次查看
AnsonHuang
NXP Employee
NXP Employee

no problem.

But I am still very confused about the log you got, we never have such log"Invalid temperature reading" in our uboot, are you sure you are using our imx_v2009.08 uboot or you port our code into your own platform?

0 项奖励
回复