Skip to main content
Senior
November 13, 2025
Solved

What are the benefits of sensor hub

  • November 13, 2025
  • 1 reply
  • 152 views

Parts i'm looking to connect

* STM32N6 - microcontroller

LSM6DSV320X -  Master Sensor IMU

LIS2MDL - On sensor hub Magnetometer  

 

Question - is there any benefit to connecting the IMU master sensor to the LIS2MDL on the sensor hub vs connecting it directly to the microcontroller.

 

 

One of the features of this IMU is to generate quaternions but i don't think i can add the LIS2MDL into that equation.  

Best answer by Federica Bossi

Hi @Brenden_PLUS ,


The IMU’s sensor hub manages communication with the magnetometer, offloading I2C/SPI transactions from the microcontroller. This reduces MCU workload and bus complexity.

The IMU can manage sensor polling and power states more efficiently, potentially reducing overall power consumption.

Use the sensor hub connection if you want simpler wiring and reduced MCU load, and plan to perform sensor fusion including magnetometer data on the MCU.

Connect the LIS2MDL directly to the MCU if you want full control over magnetometer data handling or if you have specific timing/frequency requirements.

1 reply

Federica Bossi
Federica BossiBest answer
Technical Moderator
November 13, 2025

Hi @Brenden_PLUS ,


The IMU’s sensor hub manages communication with the magnetometer, offloading I2C/SPI transactions from the microcontroller. This reduces MCU workload and bus complexity.

The IMU can manage sensor polling and power states more efficiently, potentially reducing overall power consumption.

Use the sensor hub connection if you want simpler wiring and reduced MCU load, and plan to perform sensor fusion including magnetometer data on the MCU.

Connect the LIS2MDL directly to the MCU if you want full control over magnetometer data handling or if you have specific timing/frequency requirements.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.