lkml.org 
[lkml]   [2021]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v1] iio: gyro: mpu3050: Fix reported temperature value
From
Date
22.04.2021 03:34, Andy Shevchenko пишет:
> -                       /* The temperature scaling is (x+23000)/280
> Celsius */
> +                       /*
> +                        * The temperature scaling is (x+23000)/280
> Celsius,
> +                        * where 23000 includes room temperature
> offset of
> +                        * +35C, 280 is the precision scale and x is
> the signed
> +                        * 16bit integer which corresponds to the
> temperature
>
>
> “...16-bit signed integer...”
>  
>
> +                        * range of -40C..85C.
>
>
>
> Datasheet says -30°C..+85°C.

Datasheet says this for the "Best fit straight line", while the min
value is -40C.

\
 
 \ /
  Last update: 2021-04-22 03:22    [W:0.038 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site