MEMS (sensors)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Configure interrupts properly and get real g values

Hi guys,I have a question of how configuring 1kHz interrupts on the MEMS Sensor H3LIS331DL.My configuration is as seen below.writeByte(STM_ACC_address, STM_CTRL_REG_1, 0x3F, hi2c);writeByte(STM_ACC_address, STM_CTRL_REG_4, 0x10, hi2c);writeByte(STM_A...

qn by Associate II
  • 736 Views
  • 3 replies
  • 0 kudos

Lis2de12 always returning 255 value using SPI communication

I am interfacing lis2de12 sensor with TI-CC2650 via SPI. When am trying to read the WO_AM_I register, it is returning 255 value when 0X33 is the expected value according to the datasheet. I have analyzed the protocol using analyzer and things seem to...

0690X00000AQtToQAL.png
RGusa by Associate II
  • 1311 Views
  • 6 replies
  • 0 kudos

LSM9DS1 Same value for magnetometer axis X Y Z

Hello,I'm using a LSM9DS1 for a project, accelerometer and gyroscope works well, but the magnetometer have some problems.Every measure I get the same value for axis X-Y-Z , and it seems to change randomly, see the log :12:59:38 : ACC : x: 0.142378  y...

RStra by Associate III
  • 814 Views
  • 5 replies
  • 0 kudos

Problem With Mpu6050 I2C.

Hi.I am trying to communicate with MPU6050 through I2C protocol. I am using STM32f103VE.The problem I have, is that after I start condition and transmitting slave address and slave internal register address, and then starting again,this time with sla...

Resolved! LSM9DS1: Get no Interrupt without polling

Hi there,I'm tring to use the lsm9ds1 with all three sensors. Because polling is too comutational expensive I want to use interrupts. But they only work for me in combination with polling.I have defind the pins PB5-7 for the interrupts on my Nucelo-F...

Resolved! IIS328DQ WHO_AM_I return not 0x32

Hi, I am using IIS328DQ with SPI communication. When I Check register WHO_AM_I, it was return 0x64. It is wrong because in datasheet it mention must be 0x32. So what is the solution?Thanks​

mal h by Associate II
  • 957 Views
  • 4 replies
  • 1 kudos

Android P can't get LSM9DS1 Magnetometer data

LSM9DS1 IMU Linux Driver:https://github.com/STMicroelectronics/STMems_Linux_IIO_drivers/tree/linux-4.14.y-gh/drivers/iio/imu/st_imu68LSM9DS1 ​Magnetometer Linux Driver:https://github.com/STMicroelectronics/STMems_Linux_IIO_drivers/blob/linux-4.14.y-g...

zjian.11 by Associate
  • 545 Views
  • 1 replies
  • 0 kudos