[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] STM-I2C with Aspirin v1.5 Fixed
From: |
Christophe De Wagter |
Subject: |
[Paparazzi-devel] STM-I2C with Aspirin v1.5 Fixed |
Date: |
Thu, 15 Mar 2012 11:20:41 +0100 |
The issue of "rubbish" gyro data with stm-i2c new driver with aspirin gyro's was found.
The reason is the new driver changes the transaction type from TxRx to Rx after the Tx is finished. As the aspirin driver does not reset the type each time, you end up doing Rx instead of TxRx. This means we are reading all registers in a loop, which obviously gives weird results.
This is a potential hassard for other drivers that would re-use the same transaction several times and use TxRx but do not reset it each time. (HMC works did that well, and was therefor working)
--
-Christophe
- [Paparazzi-devel] STM-I2C with Aspirin v1.5 Fixed,
Christophe De Wagter <=