Skip to main content
Graduate
February 15, 2024
Solved

lsm6dsox embedded features

  • February 15, 2024
  • 2 replies
  • 1254 views

Is it possible to execute features such as pedometer, activity/inactivity detection, tilt/tap, with same configuration of ODR, Full scale? How can I include all these features in a single program?

Can someone explain this please

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

    Hi @Varsha ,

    You can set the same ODR for both (e.g. 833Hz) because then the pedometer internally always runs at 26Hz anyway, so it is not impacted by the ODR you set.

    2 replies

    Technical Moderator
    February 15, 2024

    Hi @Varsha ,

    Yes, you can. You can find some examples on the AN5272 for each embedded function.

    Please note that for the tap detection we suggest to use an high ODR (e.g., 416 Hz or 833 Hz), the pedometer and tilt always works at 26Hz internally.

    For the FS we suggest you 8g or 16g.

    VarshaAuthor
    Graduate
    February 15, 2024

    @Federica Bossi Thank you. 
    Suppose if I want to configure both pedometer and tap detection feature in a single program/file, how do I select the acc and gyro ODR, since both features run on different ODR

    Technical Moderator
    March 1, 2024

    Hi @Varsha ,

    You can set the same ODR for both (e.g. 833Hz) because then the pedometer internally always runs at 26Hz anyway, so it is not impacted by the ODR you set.