Skip to main content
Explorer
October 12, 2023
Solved

Lis2dh App Scanrate and Speed of Lis2dh

  • October 12, 2023
  • 1 reply
  • 975 views

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

    This topic has been closed for replies.
    Best answer by Federica Bossi

    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.

    1 reply

    Technical Moderator
    October 13, 2023

    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.

    StvAuthor
    Explorer
    October 14, 2023

    Hi Ms Bossi,

     

    I'll Check it out.

     

    Thanks

     

    BR

    Stefan