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

BMI160 pins 2 and 3 - safe to connect to ground?

The BMI160 spec sheet says pins 2 and 3 are high impedance when the secondary I2C interface is not being used. The spec sheet also *implies* that the secondary I2C interface defaults to disabled upon a power cycle. The question is, can pins 2 and 3 b...

LSM6DS3 sensor hub

Hello, i read the AN4650 application note for the LSM6DS3 accle+gyro and i tried to implement the sensor hub routine with a MAG3110, like the one in the examples but it doesn't seem to work, is there another application note or a sample code that i c...

Alex Dim by Associate II
  • 778 Views
  • 3 replies
  • 0 kudos

MEMS audio sensor mp45dt02 PDM filter library

Hello everyone. I recently designed a board, with stm32f303cbt6 MCU and MEMS audio sensor mp45dt02 which comes included with the stm32f407 disco board. I have a running configuration on the disco board, which captures mic data and sends it to the DAC...

LSM303AGR Strange behaviour in magnetometer single mode

Hi, I am using LSM303AGR reading accelerometer as well as magnetometer in the single mode. The problem is that sometimes I get wrong data and it seems like time between a single measurement request and measurement is changing. I could not find any de...

RJasz by Associate II
  • 412 Views
  • 0 replies
  • 0 kudos

L3GD20 and Gimball Lock?

I’m trying to use the L3GD20 gyro to compute angular position from the angular velocity measurements returned from the gyro. Most of the time, everything works as expected. However, if I move the gyro in two directions (roll and pitch) at the same ti...

DLewi by Associate II
  • 512 Views
  • 0 replies
  • 0 kudos

What is the minimal initialization sequence for the L3GD20 Gyro?

Two questions:(1) If I want to poll the status register instead of using interrupts, and don't want to use the FIFO, is the following initialization sequence sufficient? uint8_t cmd ; GYRO_IO_Init() ; // Enable Block Data Update and full scale = 2000...

DLewi by Associate II
  • 423 Views
  • 0 replies
  • 0 kudos

LSM6DSO SPI communication problem

Good morning,I am trying to read the WHO_AM_I register from LSM6DSO, but it doesn't respond as needed. I will attach a picture from signal analyzer (D0 is CS, D1 is CLK, D2 is MISO, D3 is MOSI). It looks like its respond is 0x50 instead of 0x6C. What...