Skip to main content
EOved.1
Associate II
November 1, 2020
Solved

Dear Sir. I am using LSM6DSL. Is it possible to set LSM6DSL for 2 TAP and Pedometer reading? Thanks

  • November 1, 2020
  • 2 replies
  • 965 views

..

This topic has been closed for replies.
Best answer by Eleon BORLINI

Hi @Community member​ ,

yes, it is possible to set LSM6DSL for double-tap and Pedometer reading.

The general reference for these digital feature implementations is the application note AN5040, p.41 for the double-tap and p.50 for the Pedometer.

I suggest you to consider also the available code examples on Github for the LSM6DSM, a device compatible to the LSM6DSM with respect to performances, pinout and memory registers, especially for the double-tap example --> lsm6dsm_tap_double.c

For the Pedometer application, you may base on the X-CUBE-MEMS1 firmware package, and in particular on the MotionPM real-time pedometer library: I suggest the Pedometer application you can find in \Projects\STM32F401RE-Nucleo\Applications\IKS01A2\Pedometer folder.

Let me know if they can be of any help for your purpose.

-Eleon

2 replies

Eleon BORLINI
Eleon BORLINIBest answer
ST Employee
November 2, 2020

Hi @Community member​ ,

yes, it is possible to set LSM6DSL for double-tap and Pedometer reading.

The general reference for these digital feature implementations is the application note AN5040, p.41 for the double-tap and p.50 for the Pedometer.

I suggest you to consider also the available code examples on Github for the LSM6DSM, a device compatible to the LSM6DSM with respect to performances, pinout and memory registers, especially for the double-tap example --> lsm6dsm_tap_double.c

For the Pedometer application, you may base on the X-CUBE-MEMS1 firmware package, and in particular on the MotionPM real-time pedometer library: I suggest the Pedometer application you can find in \Projects\STM32F401RE-Nucleo\Applications\IKS01A2\Pedometer folder.

Let me know if they can be of any help for your purpose.

-Eleon

EOved.1
EOved.1Author
Associate II
November 3, 2020

Hi.

Many thanks.