Linux IIO development
 help / color / mirror / Atom feed
* st_lsm6dsx : first two values of ism330dlc_gyro are wrong
@ 2023-02-05 10:12 Philippe De Muyter
  2023-02-05 14:13 ` Jonathan Cameron
  0 siblings, 1 reply; 7+ messages in thread
From: Philippe De Muyter @ 2023-02-05 10:12 UTC (permalink / raw)
  To: lorenzo, linux-iio

Hello Lorenzo and list,

I use the imu/st_lsm6dsx (i2c) driver to drive a ism330dlc imu.

Every time I start a new acquisition of gyro values, the first two
values read are wrong, as can be see here :

 $ sudo ./iio_generic_buffer -n ism330dlc_gyro -g -c 10 -a
 iio device number being used is 1
 trigger-less mode selected
 No channels are enabled, enabling all channels
 Enabling: in_anglvel_z_en
 Enabling: in_timestamp_en
 Enabling: in_anglvel_y_en
 Enabling: in_anglvel_x_en
 -0.138924 -0.915246 0.470628 1675591514696125669
 -0.012699 -0.362151 0.143208 1675591514772675669
 0.001989 -0.076500 0.035190 1675591514849250669
 0.002295 -0.076194 0.035343 1675591514925825669
 0.002142 -0.076041 0.035343 1675591515002400669
 0.001989 -0.076041 0.035343 1675591515078975669
 0.001836 -0.076347 0.035649 1675591515155525669
 0.001836 -0.076500 0.035649 1675591515232075669
 0.001989 -0.076500 0.035649 1675591515308625669
 0.001989 -0.076347 0.035649 1675591515385200669
 Disabling: in_anglvel_z_en
 Disabling: in_timestamp_en
 Disabling: in_anglvel_y_en
 Disabling: in_anglvel_x_en
 $

Is that a normal behaviour for a gyro in that family or is it be caused
by a software or hardware bug ?

Best regards

Philippe

-- 
Philippe De Muyter +32 2 6101532 Macq SA rue de l'Aeronef 2 B-1140 Bruxelles

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-02-07 23:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-05 10:12 st_lsm6dsx : first two values of ism330dlc_gyro are wrong Philippe De Muyter
2023-02-05 14:13 ` Jonathan Cameron
2023-02-05 15:22   ` Philippe De Muyter
2023-02-06  9:58   ` Lorenzo Bianconi
2023-02-06 14:33     ` Jonathan Cameron
2023-02-06 14:37       ` Lorenzo Bianconi
2023-02-07 23:33       ` Lorenzo Bianconi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox