LSM6DSO32XTR Mode 2 (SensorHub) Setup with 2 Accelerometers, 2 Gyros, & Magnetometer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-28 2:07 AM - last edited on 2025-04-28 2:10 AM by Andrew Neil
Hi ST Community,
I’m trying to use the LSM6DSO32XTR in Mode 2 (SensorHub) to stream data from two accelerometers, two gyroscopes, and a magnetometer into the 9-kbyte Smart FIFO for motion tracking over 10–30 minutes, aiming for low MCU interrupts and power usage.
What I’ve Tried:
I’ve set up one LSM6DSO32XTR as the master (using its internal accelerometer and gyroscope) and planned to connect a second accelerometer (e.g., LIS2DH12), a second gyroscope (e.g., L3GD20H), and a magnetometer (e.g., LIS3MDL) on the secondary I²C bus (SCx/SDx).
I’m using Zephyr RTOS, referring to the datasheet (Section 7.2, 5.4), but learned I can’t connect another LSM6DSO32XTR as a slave on the secondary bus.
Questions:
1. Has anyone done a similar Mode 2 setup with these sensors? How did you handle I²C addressing?
2. Any pitfalls in the Mode 2 config to ensure FIFO streaming works?
3. Tips for power optimisation and avoiding data loss over long periods?
4. Any alternative methods for this multi-sensor setup?
I’d appreciate any insights or different approaches!
- Labels:
-
Accelerometers
-
Gyroscopes
