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

The Timestamp sensor count in the FIFO Buffer of LSM6DSR is drifting at a rate of approximately 1 minute / hour when running at an ODR of 55Hz.

Our Implementation : We use the LSM6DSR sensor in FIFO Stream Mode (With Acc & Timestamp Enabled)ACC ODR is set to 52HzACC Batching is set to 52HzTimestamp decimation is set to 32This timestamp counter is translated to real time by using the resoluti...

Sachin3 by Associate
  • 907 Views
  • 2 replies
  • 0 kudos

LSM303AGR 3-wire SPI interface the STM32WB MCUs

We trying to implement the SPI -3 wire communication with the HAL-APIs i.e, HAL_SPI transmit, HAL_SPI_receive, while trying to read data from LSM303 we are receiving the device ID as 0xFFwe are using the LSM303 Accelerometer + Compass Breakout board ...

0693W00000WKnLzQAL.jpg
na.1 by Associate II
  • 1023 Views
  • 1 replies
  • 0 kudos

How many sensor can I connect on a single MCU SPI Line?

Hi, I'm building a system where a STM32 MCU needs to be connected to 5 sensors in SPI.The sensors are 5 chip MAX31856 or similar.My doubt is, can I connect 5 sensors to a single SPI line of the MCU? Are there any limits on how many sensors can be con...

How to convert data coming from SPI

Hi, I connect X-NUCLEO-CCA02M1 to my NUCLEO-F401RE. I am using SPI1 for the communication between devices. For what I have understood the function below convert N bit (for me N = 8) in a integer. Since i want to stream via UART those bit how can i pr...

ATeli.1 by Associate III
  • 1305 Views
  • 2 replies
  • 1 kudos

Resolved! STPM33 : VREF1 and VREF2

Hi,I'm working on a design with a STPM33. The application only needs to measure current on a single phase but, as STPM33 seems cheaper than STPM32, this was the chosen IC.  Could I remove C27 and C28 if the second channel is not used? If yes, could I...

0693W00000WKWHvQAP.png
carton by Associate II
  • 779 Views
  • 1 replies
  • 0 kudos

Resolved! Hi there I am using a lsm6dsr to measure acceleration and gyrodata. I programed the write, read, delay and print functions ans validated them. But unfortunatly i can no get any values or activityfunctions from it.

I initialize the sensor like this:uint8_t rst; dev_ctx.write_reg = platform_write; dev_ctx.read_reg = platform_read; dev_ctx.handle = &SENSOR_BUS; static uint8_t whoamI; /* Wait sensor boot time */ platform_delay(1000); /* Check device ID */ lsm6dsr_...

HWäck.1 by Associate
  • 1323 Views
  • 5 replies
  • 0 kudos