2013-11-20 01:38 AM
Hi community,
i am working on an application with the accelerometer and gyroscope in LSM330DL. At the moment I try to use the DataReady-Interrupt for the gyroscope. My understanding of DRDY-Interrupt is that whenever new data is stored in the register, the sensor pull down the DRDY-Pipe. I have tryed several configurations, hardware adjustments and so on but nothing works properly. The DRDY-Pipe is always in high-state. At the moment i have a very basic test program, where i initialize the sensor and wait for an interrupt. In the following my configuration of the gyroscope: REG1: 400Hz - 50Hz cutoff, normal mode, xyz - enable REG2: everything 0 REG3: I2_DRDY enable REG4: continuous update, LSB, 2000dps, 4-wire REG5: FIFO disabled, HPF disabled I asked the same question more than one week ago to the st-support, but no one answered me. I hope you can help me! Best Regards, Patrick #lsm330dlc-drdy-interrupt #lsm330dl #gyroscopes #drdy-int.2013-11-22 05:20 AM
Hello Patrick,
In order to better answer your question, could you please provide the full configuration set of the registers that you are using? If possible as well, could you please attach the schematic of your module setup? Thank you, Thiago Reis2013-11-25 01:34 AM
The schematic is attached.
My configuration: CTRL_REG1_G: 1010 1111 | 400Hz, 50Hz cutoff. normal mode, axis enabled CTRL_REG2_G: 0000 0000 CTRL_REG3_G: 0000 1000 | DRDY enable CTRL_REG4_G: 0011 0000 | 2000dps CTRL_REG5_G: 0000 0000 REFERENCE/DATACAPTURE_G: 0000 0000 FIFO_CTR_REG_G: 0000 0000 INT1_CFG_G: 0000 0000 I hope that's what you asked for. Thank you, Patrick ________________ Attachments : RotationLED.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtzP&d=%2Fa%2F0X0000000ab1%2Fi6Zgxx5tDh6NsOGTaG1iyHAcY8U83RhYOD1JU5D73FQ&asPdf=false2013-12-06 07:14 AM
Hello?
Can you help me pls?2013-12-10 06:10 AM
I have the same problem with another sensor ( L3GD20). The data ready is configured but the line allways stay high unless i manually read a full set of values ( in my case from register 0x28 to register 0x2D). Another strange thing ( at least strange to me ) is that when the interrupt trigger after reading it get cleared every time after a different number of ms ( from 4 to 12 ). I expected to get a drdy interrupt ever 1/95 sec considering my gyro is now set to output at 95 hz.
2013-12-16 01:45 AM
Hi sires,
i have exactly the same behavior as you descriped with my sensor. If you are able to fix this strange thing, can you please post this here? I will keep this post up-to-date.2014-11-03 01:07 AM
Hi
is there any solution available for this problem. I have same behaviour with the LSM330DLC Accelerometer/Gyroscope.RegardsMarkus