MEMS (sensors)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Reading bad data from LIS2MDL using 3-wire SPI

Sensor: LI2MDLMCU: STML072I am trying to read the who_am_I register (register 0xAF) with the 3-wire SPI setup, but it is returning the wrong data.Below is a screenshot of the transmission and the return from the LIS2MDL. The transmission's first bit ...

Cfaya1_1-1690604682247.png
Cfaya.1 by Associate II
  • 1291 Views
  • 2 replies
  • 0 kudos

Resolved! DRDY not returning low on AIS2IH

I am using the AIS2IH and polling the DRDY bit of STATUS to see when a new sample is available .  I am using single data (on demand) mode and ODR bit is set.  The spec sheet says that DRDY returns low after the high part of X,Y or Z has been read, bu...

Resolved! Multiple STHS34PF80 on I2C bus

I have an application that requires two STHS34PF80 sensors on the same I2C bus. I tried using N-FETs on the SDA lines to select between them but this doesn't work, not sure why. I will try the 3-wire SPI bus but I am not sure my current MCU API supor...

KWine by Senior
  • 1195 Views
  • 3 replies
  • 0 kudos

Resolved! IMU LSM6DSO FSM Settings

Hello Team ST,I would like to have your guidance on setting a FSM for wrist tilt application. At the moment, we use following FSM settings as per the code here.Link: https://github.com/STMicroelectronics/STMems_Standard_C_drivers/blob/v2.00/lsm6dso_S...

ASoni2_0-1690543414543.png ASoni2_1-1690543657397.png
ASoni.2 by Associate III
  • 816 Views
  • 1 replies
  • 0 kudos

LSM6DS3TR-C Reading more than one pattern from FIFO

Hi,I'm working with a LSM6DS3TR-C.Currently I've a working app where I configure a FIFO threshold for accel, gyro and timestamp data, and a THS interrupt in INT1.Once the interrupt occurs, I can read all the patterns, one at a time like this:  #de...

Martxel by Associate
  • 953 Views
  • 1 replies
  • 0 kudos

Resolved! AIS2DW12 Zero-g level offset accuracy, long term

Can anyone tell me how to understand the following parameter out of the AIS2DW12 datasheet.Zero-g level offset accuracy, long term: ± 700mgWhen i use the sensor with a resolution of ± 2g, then I hope there ist not the possibility that the offset will...

dmeise by Associate II
  • 887 Views
  • 2 replies
  • 0 kudos