reading imx6 temperature nagative value

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

reading imx6 temperature nagative value

1,749 Views
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.

Labels (3)
Tags (3)
0 Kudos
3 Replies

636 Views
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 Kudos

636 Views
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 Kudos

636 Views
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 Kudos