Skip to main content
Visitor II
October 25, 2019
Question

Is it possible to use the LSM6DSL accelerometer with a non-Cortex-M3 or -M4 STM32 MCU?

  • October 25, 2019
  • 2 replies
  • 819 views

All of the examples of usage that I have seen for the LSM6DSL have been with the STM32 Cortex-M3 and -M4 microcontrollers. I assume that is due to the library calculations that must be made in the support library for this accelerometer/gyro.

Is it possible to use the LSM6DSL as just a simple wake-up interrupt for a Cortex-M0 (STM32L0) controller? I don't need to know, for example, whether a person is standing or walking or running; I just need to know they've moved (within some reasonable tolerance).

    This topic has been closed for replies.

    2 replies

    Visitor II
    October 26, 2019

    These are SPI xor I2C devices with little computation on top.

    8 bit MCUs like STM8 have even compiler provided math float libraries.

    So, technically, it would only be a matter of latency time.

    NSharpAuthor
    Visitor II
    October 28, 2019

    I am not even looking at doing any calculation with the data. Rather, I am simply looking for a way to wake the MCU based on the wake-up interrupt from the LSM6DSL.