Skip to main content
Associate II
March 26, 2024
Question

Accelerometer report invalid raw data after configure some registers.

  • March 26, 2024
  • 2 replies
  • 2066 views

I'm using LSM6DSV, and use it wake-up funciton, I will configure registers when wakeup, that time I got some invalid data such as "1.998665088 1.998665088 1.998665088", how to avoid it?

2 replies

Federica Bossi
Technical Moderator
March 26, 2024

Hi @Yansu ,

Please, try to follow this example on Github and let me know if this solves your problem.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
YansuAuthor
Associate II
March 29, 2024

I use the same example to implement it, but still have invalid data. So I have to ignore the data if they all > 1.5 .

Federica Bossi
Technical Moderator
April 4, 2024

Hi @Yansu ,

Do you only read these values at wake up? How much data is this?

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
YansuAuthor
Associate II
September 5, 2024

I found if I set CTRL1, the invalid data will appear, how to avoid it?

Federica Bossi
Technical Moderator
September 9, 2024

Hi @Yansu ,

Which value do you write in CTRL1?

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.