ISM330DHCX GDA only set once
I have an application using the XL function, it works fine, no issues.
Now I need to read the gyroscope output data.
After I finish configuring the registers:
CTRL9_XL 01
INT1_CTRL 03
INT2_CTRL 06
CTRL1_XL 30
CTRL2_G 32
CTRL3_C 04
CTRL6_C 80
CTRL8_XL 00
MD1_CFG 02
MD2_CFG 02
CTRL9_XL 01
I get the 1st interuption. I read the status register and both GDA and XLDA are set.
Then I read XL data, followed by gyro data.
So far so good. My problem is that I keep getting interrupts for XL but reading the status register, GDA remains 0.
I tried to read gyro output but it never changes.
Is there something I'm missing?
