cancel
Showing results for 
Search instead for 
Did you mean: 

Lis2dh App Scanrate and Speed of Lis2dh

Stv
Associate

Hello Ladies and Gents,

I have following Problem with my App:

The Scanrate from given Timer can be in min. 10ms. These ist f=1/0,010=100Hz.

 

So If I configure the Lis2dh to normal or Highres Mode I have a f=1.344 KHz

 

Anybody have an Idea how to increase/decrease the Scanrate to geht all the values of interval?

Also I'm bind to USB and the Transactiondelay from max 500ms.

 

Stv

1 ACCEPTED SOLUTION

Accepted Solutions
Federica Bossi
ST Employee

Hi @Stv ,

Welcome to ST Community!

Regarding the timer scanrate, I don't know how to increase or decrease the frequency (it could be a question for the STM32 section, if it involves an STM32).

However, you can bypass this problem using the FIFO of the sensor: you activate the FIFO with the ODR at 1344Hz, and you read all the queue when the timer triggers.

If this helps you, please mark my answer as "Best Answer" by clicking on the "Accept as Solution" button, this can be helpful for Community users to find this solution faster.

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.

View solution in original post

2 REPLIES 2
Federica Bossi
ST Employee

Hi @Stv ,

Welcome to ST Community!

Regarding the timer scanrate, I don't know how to increase or decrease the frequency (it could be a question for the STM32 section, if it involves an STM32).

However, you can bypass this problem using the FIFO of the sensor: you activate the FIFO with the ODR at 1344Hz, and you read all the queue when the timer triggers.

If this helps you, please mark my answer as "Best Answer" by clicking on the "Accept as Solution" button, this can be helpful for Community users to find this solution faster.

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.

Hi Ms Bossi,

 

I'll Check it out.

 

Thanks

 

BR

Stefan