Skip to main content
Associate II
March 6, 2025
Question

x-cube-mems1 package SPI

  • March 6, 2025
  • 1 reply
  • 1024 views

I have ASM330LHH, LIS3MDL and LIS2DH12 mems sensors. I want to read data with spi communication using the x-cube-mems1 package. There are sample codes with I2C and bsp, but I don't know how to do this with spi. Can anyone help me to obtain roll pitch and yaw values with the help of these three sensors?

1 reply

Andrew Neil
Super User
March 6, 2025
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.