Skip to main content
Associate II
Question

Accelerometer report invalid raw data after configure some registers.

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?

This topic has been closed for replies.

6 replies

Federica Bossi
ST Technical Moderator

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 'Best answer' on the reply which solved your issue or answered your question.
YansuAuthor
Associate II

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
ST Technical Moderator

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 'Best answer' on the reply which solved your issue or answered your question.
YansuAuthor
Associate II

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

Federica Bossi
ST Technical Moderator

Hi @Yansu ,

Which value do you write in CTRL1?

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