Skip to main content
Visitor II
September 15, 2021
Solved

LSM6DSO32X driver

  • September 15, 2021
  • 5 replies
  • 2061 views

Hello,

I'm looking for the drivers for the LSM6DSO32X. In the example code I found the drivers for LSM6DSO32 and for LSM6DSOX which are similar but not identical. Are them available somewhere?

Davide

    This topic has been closed for replies.
    Best answer by TSand.1

    Hi, there are C drivers for this part on Github, check there!

    https://github.com/STMicroelectronics/STMems_Standard_C_drivers/tree/master/lsm6dso32x_STdC

    5 replies

    TSand.1Answer
    Visitor II
    September 15, 2021

    Hi, there are C drivers for this part on Github, check there!

    https://github.com/STMicroelectronics/STMems_Standard_C_drivers/tree/master/lsm6dso32x_STdC

    DGiov.1Author
    Visitor II
    September 15, 2021

    Hi, thank you.

    I was looking in the wrong place (STM32CubeExpansion_MEMS1_V8.3.0).

    DGiov.1Author
    Visitor II
    September 15, 2021

    Wait, that repository contains only the register definitions with part of the funtions (lsm6dso32x_reg.c/.h files).

    I expected also the lsm6dso32x.c/.h, such as for the other sensors in STM32CubeExpansion_MEMS1_V8.3.0\Drivers\BSP\Components. Are them available?

    Visitor II
    September 16, 2021

    you can insert the github drivers in the STM32 project accounting for the specific hardware pinout, or just use the lsm6dsox drivers, the only difference with lsm6dso32x is in the increase full scale up to 32g. Hope this help.

    DGiov.1Author
    Visitor II
    September 16, 2021

    That actually was my second option. Thank you.