cancel
Showing results for 
Search instead for 
Did you mean: 

x-cube-mems1 package SPI

leventdemirel99
Associate II

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 1

Does C-Driver-MEMS help?

https://www.st.com/en/embedded-software/c-driver-mems.html

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.