You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a DUE I try to connect a MMA8452 but get wrong answers. On scope I can see that the parameter "sendStop" in "uint8_t TwoWire::endTransmission(uint8_t sendStop)" has no effect - instead of a restart condition a stop condition followed by a new start condition is perfomed.
A look into source code offers that the parameter "sendStop" is not used. The header comments are ready but the code doesn't reflect the description.
As I understand the MMA845x manual a restart condition is necessary to handle queries, so the MMA8452 is currently not controllable by the wire library.
May be there are additional issues in twi.c to handle that issue.