MEMS (sensors)

Ask questions and find answers on ST MEMS sensors, such as the LSM6DSV and the LSM6DSL. Learn how to use the SensorTile.Box, and STEVAL kits.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

ISM330DHCXTR power on time

Hi I'm working with the ISM330DHCXTR sensor and would like to know how long I should wait after applying power before the device is fully operational and ready to communicate (e.g., via I²C) Thanks Uri

Uri_m by Associate
  • 107 Views
  • 1 replies
  • 0 kudos

LSM303AGR Magnetometer Self-Test Fails on Z-Axis

I'm using the LSM303AGR magnetometer with an STM32L4 via I2C + HAL. The built-in self-test works fine for X and Y, but Z-axis always fails — the delta (self-test vs. normal) is out of range.   Set UpSTM32L4, I2C, HAL driversMagnetometer config: 50 Hz...

Gohil by Associate II
  • 104 Views
  • 2 replies
  • 0 kudos

ISM330 SPI not working

Hi,I'm trying to get the SPI interface with the ISM330DHCX to work but it seems that the SDO pin can't reach logic high levels.The above has SCL in blue and SDO in red.CS in blue and SDO in red.SCL in blue and SDI in red.Above is my hardware setup, v...

Screenshot 2025-05-12 at 5.48.25 PM.png Screenshot 2025-05-12 at 5.46.19 PM.png Screenshot 2025-05-12 at 6.19.20 PM.png IMG_3231.jpg
L-li by Associate
  • 124 Views
  • 1 replies
  • 0 kudos

LSM303AGR Tilt-Compensated Compass

 Hello STM32 Community,I'm working with the LSM303AGR magnetometer/accelerometer sensor on an STM32L4 microcontroller. I'm trying to compute a tilt-compensated heading, based on the method described in ST's application note DT0058.However, I'm runnin...

Gohil by Associate II
  • 121 Views
  • 0 replies
  • 0 kudos

Resolved! How to integrate driver for iis2mdc magnetometer

Hi all,I need to integrate the driver for the iis2mdc magnetometer (Github: https://github.com/STMicroelectronics/stm32-iis2mdc/tree/main) into my own project for a custom board (with STM32H7A3 and i2c3).  The code from the driver requires an additio...

GS1 by Senior III
  • 114 Views
  • 1 replies
  • 0 kudos