All of lore.kernel.org
 help / color / mirror / Atom feed
* IIO timestamp get skewed when suspending (st_lsm6dsx)
@ 2020-05-28 18:01 Sean Nyekjaer
  2020-05-28 21:07 ` Lorenzo Bianconi
  0 siblings, 1 reply; 28+ messages in thread
From: Sean Nyekjaer @ 2020-05-28 18:01 UTC (permalink / raw)
  To: linux-iio, Jonathan Cameron, Lorenzo Bianconi

Hi,

I don't know if it's normal behavior or maybe just a problem related to 
the buffered reads in st_lsm6dsx.

But when we have the buffered reads enabled and suspending for x amount 
of time. The iio timestamps is, x amount of time is delayed. As seen here:

https://gist.github.com/sknsean/60e20c2fa3a3c6d69ef128c703ed43fc

 From your own software (but I'm able to reproduce with libiio/iio_readdev)

First col is system time,
Second timestamp is the iio timestamp

Could a solution, be to call st_lsm6dsx_reset_hw_ts() in 
st_lsm6dsx_resume() ?

/Sean

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

end of thread, other threads:[~2020-07-10 13:20 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-28 18:01 IIO timestamp get skewed when suspending (st_lsm6dsx) Sean Nyekjaer
2020-05-28 21:07 ` Lorenzo Bianconi
2020-05-29  7:32   ` Sean Nyekjaer
2020-05-29  7:44     ` Lorenzo Bianconi
2020-05-29  8:33       ` Sean Nyekjaer
2020-05-29  8:50         ` Lorenzo Bianconi
2020-05-29 11:19           ` Sean Nyekjaer
2020-05-29 12:16             ` Lorenzo Bianconi
2020-05-29 12:29               ` Sean Nyekjaer
2020-06-02 11:48               ` Sean Nyekjaer
2020-06-02 13:39                 ` Sean Nyekjaer
2020-06-02 18:02                   ` Sean Nyekjaer
2020-06-03  8:06                     ` Lorenzo Bianconi
2020-06-03 10:05                       ` Sean Nyekjaer
2020-06-03 10:28                         ` Lorenzo Bianconi
2020-06-03 10:37                           ` Sean Nyekjaer
2020-06-03 10:51                             ` Lorenzo Bianconi
2020-06-03 11:29                               ` Sean Nyekjaer
2020-06-03 12:12                                 ` Lorenzo Bianconi
2020-06-03 12:49                                   ` Sean Nyekjaer
2020-06-03 12:56                                     ` Lorenzo Bianconi
2020-06-03 13:15                                       ` Sean Nyekjaer
2020-06-03 13:40                                         ` Lorenzo Bianconi
2020-06-03 14:10                                           ` Sean Nyekjaer
2020-06-08 12:20                                             ` Sean Nyekjaer
2020-06-08 14:09                                               ` Thomas Gleixner
2020-07-10 12:10   ` Sean Nyekjaer
2020-07-10 13:20     ` Lorenzo Bianconi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.