MEMS (sensors)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

steval-mki109d with steval-mki245KA standalone logging

Hello,I was wondering if it is possible to set the steval-mki109d with steval-mki245KA to standalone.I would like to test the ISM330BX what is happening when rotating. Thus I have set up a kit with a battery pack and I can start up the measurement wi...

Leo0n by Associate
  • 37 Views
  • 0 replies
  • 0 kudos

LSM303AGR Magnetometer Self-Test Fails on Z-Axis

I'm using the LSM303AGR magnetometer with an STM32L4 via I2C + HAL. The built-in self-test works fine for X and Y, but Z-axis always fails — the delta (self-test vs. normal) is out of range.   Set UpSTM32L4, I2C, HAL driversMagnetometer config: 50 Hz...

Gohil by Associate
  • 48 Views
  • 2 replies
  • 0 kudos

ISM330 SPI not working

Hi,I'm trying to get the SPI interface with the ISM330DHCX to work but it seems that the SDO pin can't reach logic high levels.The above has SCL in blue and SDO in red.CS in blue and SDO in red.SCL in blue and SDI in red.Above is my hardware setup, v...

Screenshot 2025-05-12 at 5.48.25 PM.png Screenshot 2025-05-12 at 5.46.19 PM.png Screenshot 2025-05-12 at 6.19.20 PM.png IMG_3231.jpg
L-li by Associate
  • 61 Views
  • 1 replies
  • 0 kudos

LSM303AGR Tilt-Compensated Compass

 Hello STM32 Community,I'm working with the LSM303AGR magnetometer/accelerometer sensor on an STM32L4 microcontroller. I'm trying to compute a tilt-compensated heading, based on the method described in ST's application note DT0058.However, I'm runnin...

Gohil by Associate
  • 72 Views
  • 0 replies
  • 0 kudos

Resolved! How to integrate driver for iis2mdc magnetometer

Hi all,I need to integrate the driver for the iis2mdc magnetometer (Github: https://github.com/STMicroelectronics/stm32-iis2mdc/tree/main) into my own project for a custom board (with STM32H7A3 and i2c3).  The code from the driver requires an additio...

GS1 by Senior III
  • 68 Views
  • 1 replies
  • 0 kudos

Integrating MotionFX: Gives random data

We've implemented an example program based on UM2220 using an lsm6dsox IMU sensor on an STM32U575 microcontroller. We're trying to use MotionFX for orientation calculation from 6 axis measurement, configured with accelerometer and gyro. The IMU senso...