Skip to main content
Associate II
August 11, 2026
Question

Configured LSM6DSV in Mode-2 ODR-Trigger Mode

  • August 11, 2026
  • 1 reply
  • 32 views

Hello Team,

 

We are using a custom board based on QCS8550 processor with LE r90 release. This release has lsm6dsv driver available as part of the ssc framework of the qualcomm.

 

Our custom board includes two LSM6DSVTR IMU sensors which are interfaced over SSC (sensor core based) I2Cs and we are able to get the data through see_workhorse (i.e. qualcomm's userspace utility for sensors)

 

Use Case Requirements: 

There is a requirement from client regarding sampling the data from IMU sensors on the edge of the reference signal which needs to be provided on the INT2 pin of the LSM6DSVTR sensors. Same reference signal also work as sync signal for the camera as well. so we can consider like sampling the data of IMU and capturing the frame over camera should be somewhat simultaneously.

 

Current Status:

In the current driver implementation located at:

source/adsp_proc/ssc_drivers/lsm6dsv

From the driver code analysis, we observed that data is currently being received using a FIFO-based mechanism.

Additionally, it appears that the default driver implementation supports only the INT1 interrupt, while there is no implementation observed for INT2.

 

Problem Statement: 

So we want to configure the LSM6DSVTR IMU sensors in such a way that it samples the data according the the reference signal provided on the INT2 pin. so kind of configuring the IMU sensor in ODR triggerred mode.

 

We tried out below steps, but somehow not able to get IMU working in ODR-triggerred mode 

  • Set STM_LSM6DSV_REG_CTRL1_XL(10h) register to ODR-triggered mode.
  • Set STM_LSM6DSV_REG_FIFO_CTRL3(09h) register to select batch data rate of accelerometer and gyroscope in FIFO @ 30 Hz
  • Set DEN(51h) register to extend DEN functionality to accelerometer sensor
  • Set STM_LSM6DSV_REG_INT1_CTRL(0Dh) register to enable data ready interrupt on INT1 for acc and gyro both.
  • Providing reference signal approx. 32Hz on INT2 pin.

 

Can you please help us with below things?

  1. We assume ODR triggerred mode can fulfil our requirement of sampling the IMU data and capturing the camera frame based on a reference signal/sync signal simultaneously. Can you please confirm if ODR triggerred mode satisfies our requirement?
  2. Do you have any latest SSC based driver for LSM6DSVTR? If yes, can you please share that?
  3. We have design the HW such that IMU works in Mode-1. Let us know if any hardware modifications are required to achieve the mentioned requirement.
  4. Can you please help us to achieve this functionality via Qualcomm SSC driver framework?

 

Let us know if any further details are required.

1 reply

Federica Bossi
ST Technical Moderator
August 13, 2026

Hi ​@sagar7046 ,

Yes, the ODR-triggered mode of the LSM6DSV is the correct feature to synchronize IMU sampling with an external reference signal on INT2; the device can align both frequency and phase to the edges of that signal.
However, it must be configured from power-down, with both accelerometer and gyroscope set either to ODR-triggered or power-down, and both using the same ODR.
The INT2 reference pulse must be at least 5 µs long, and its polarity is selected using CTRL4.INT2_IN_LH.

Your current DEN-based configuration is not the right approach for this requirement, since DEN is used for data stamping, not for ODR synchronization on INT2 edges.

The main limitations are that ODR-triggered mode is not compatible with EIS, SFLP, pedometer, DRDY mask, and activity/inactivity functions (except motion/stationary).

From the hardware point of view, no major changes are typically required if INT2 is correctly wired as a sync input and not used simultaneously as an interrupt output.

We do not have a Qualcomm SSC driver package to share, but the existing SSC framework can be adapted to support this configuration.

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