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

LSM6DSM factory reset

I have been working with this sensor for a while. It started to give weird errors such as reading all zeros on all axis. Then sometimes it would initialize but read values like 4, 0, 4 and such. Which is impossible in a static position. I have tried ...

FBoth.1 by Associate III
  • 3083 Views
  • 5 replies
  • 0 kudos

VL53L3CX detects no targets

Dear STM-Team,our first custom boards with VL53L3CX just arrived and I’ve ported the API to Zephyr (already did that for VL51).I can see that the comms work, because I can read the chip id and start the mandatory calibrations as well as the measureme...

CSchr.14 by Associate II
  • 3769 Views
  • 8 replies
  • 0 kudos

Resolved! LSM6DSO32X driver

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

DGiov.1 by Associate III
  • 3231 Views
  • 5 replies
  • 0 kudos

FIFO Corruption on LSM6DSM

There appears to be a hardware bug on the LSM6DSM where if a sample is acquired while reading from the FIFO, then the pattern # becomes incorrect. I can consistently replicate this issue by reading at random intervals. Additionally, data on the FIFO ...

JBarr.12 by Associate II
  • 6570 Views
  • 7 replies
  • 1 kudos

LIS2DW12 temperature reading fluctuates

Hi,I have created a small function that reads out the 8-bit temperature register in the lis2dw12 sensor. The code is shown belowstatus lis2dw12::temperature(int8_t *temp) { *temp = static_cast<int8_t>(read_reg(REG_OUT_T)) + 25; printf("%d\r...

0693W00000DmdcgQAB.png
CThue.1 by Associate II
  • 1682 Views
  • 1 replies
  • 0 kudos

LIS3DH - Cannot have position detection running properly

My LIS3DH is embedded on a PCB with gravity on Zh (upside down).It is configured with:ODR 10Hz, Z axis enabledNo filterFS @2HzIA1 on INT1Interrupt active HIGHAOI and 6D pos (for position detection)INT1 threshold set to 0x39 (around 0.916g)This config...

SChab.1 by Associate II
  • 3106 Views
  • 6 replies
  • 0 kudos