cancel
Showing results for 
Search instead for 
Did you mean: 

What are the benefits of sensor hub

Brenden_PLUS
Associate III

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.  

1 REPLY 1
Federica Bossi
ST Employee

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.