cancel
Showing results for 
Search instead for 
Did you mean: 

LSM6DSV INT1 Source - Acc or Gyro?

mmWaver
Associate II

Hello,

I want to set LSM6DSV's both accelerometer and gyro's output rate to 960Hz. And I want to use INT1 pin to signal Data-Ready. My question is whether I should set INT1_CTRL register's b1: INT1_DRDY_G or b0: INT1_DRDY_XL. The user manual says: "When both the accelerometer and gyroscope are on, the accelerometer is synchronized with the gyroscope, and the data rates of the two sensors are integer multiples of each other." It sounds like if I set both output rates to 960, I can assume that when accelerometer's data is ready, the gyroscope's data is also ready. So will it be correct to just set INT1_CTRL register's b0 to 1?

1 ACCEPTED SOLUTION

Accepted Solutions
Federica Bossi
ST Employee

Hi @mmWaver ,

Yes. If both the accelerometer and gyroscope are configured at 960 Hz, they are synchronized by the device, so a single DRDY interrupt is sufficient.

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.

View solution in original post

1 REPLY 1
Federica Bossi
ST Employee

Hi @mmWaver ,

Yes. If both the accelerometer and gyroscope are configured at 960 Hz, they are synchronized by the device, so a single DRDY interrupt is sufficient.

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.