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

Resolved! Problems with LSM6DSOX basic operation

I've got something really screwy going on with the LSM6DSOX chip. I've got it hooked up in simple form using 4 wire SPI mode 0 and 3. I can talk to the chip just fine. Read and write no problem.The first problem is that I want to do a SW reset. Setti...

RLee.4 by Associate III
  • 7389 Views
  • 8 replies
  • 0 kudos

Resolved! lsm6dso sensor not work right in multithread mode

I am working with lsm6dso sensor for a watch. At the beginning, I am using ​the follwoing function to get steps in the register. It works in a while loop and can work rightly. int32_t lsm6dso_number_of_steps_get(stmdev_ctx_t *ctx, uint8_t *buff) { ...

JXiao.1 by Associate II
  • 1514 Views
  • 3 replies
  • 0 kudos

Hello everyone! I am trying to read distance sensor data from an VL53L3 using a STM32G0. After implementing the API code for the conversion the programmed stopped working saying this: Program received signal SIGTRAP, Trace/breakpoint trap.

after the function below the CPU goes into interrupt (void HardFault_Handler(void)).Below we can see the sequence that leads to the interrupt.Can you help me ?

0693W000005C8TyQAK.png 0693W000005C8XvQAK.png
Zschau by Associate II
  • 1968 Views
  • 2 replies
  • 0 kudos

Resolved! IIS328DQ Z axis wild numbers

I'm using a IIS328DQ on I2C buss (400KHz). I've got it set up at +-4g 100Hz samplingIt looks like it's doing it's thing correctly BUT for the z axis value. After the interrupt for data, I'm reading the XYZ outputs (MSB first order) and getting00 50...

RLee.4 by Associate III
  • 1629 Views
  • 5 replies
  • 0 kudos