MEMS (sensors)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! LIS2DTW12 I²C/SPI mode selection

I want to read LIS2DTW12 data using SPI which is also shared with another device, can I use the LIS2DTW12 CS pin as chip select and operate devices one by one.because according to the LIS2DTW12 datasheet:State of CS1: SPI idle mode / I²C communicatio...

Aishwarya by Associate III
  • 567 Views
  • 2 replies
  • 0 kudos

Resolved! LIS2HH12 and IIS2DLPC two's complement temp compared

Hi all,I'm currently deploying hardware that can have either the LIS2HH12 or IIS2DLPCAccording to the datasheet the LIS2HH12 stores the temperature as two's complement / 11 bit / 8 digit per degrees celcius.So I convert it this way:int16_t tilt_read_...

WSpar.1 by Associate III
  • 1833 Views
  • 19 replies
  • 0 kudos

Resolved! LSM303AGR SPI operation

Posted on March 01, 2018 at 11:24Hi,I am struggling with moving from the obsolete LSM303D sensor to the LSM303AGR sensor.I had the LSM303D sensor working correctly in continuous mode with the STM32F1 processor using 4 wire SPI mode.But I cannot get ...

Resolved! BMI055 interrupts problems

Hello,I am writing a code to initialize the BMI055 IMU on my STM32F765. To do so I am using the HAL libraries to enable the SPI connection through DMA and the drivers provided by Bosch: bma2x2 and bmg160.The two sensors work perfectly when only one o...

FUs.1 by Associate III
  • 2602 Views
  • 13 replies
  • 0 kudos

Resolved! Examples Operation codes for commands for LS3DSH

Hi,I can't find any examples of using commands in the statemachines.I want to create a tilt sensor, by using 2 statemachines, 1 is monitoring x axis, the other z axis.To keep it simple i will add the code for the x axis only . This statemachine setup...

sde c.1 by Senior II
  • 1062 Views
  • 9 replies
  • 0 kudos