8 years, 6 months ago.

I2C Protocol Issues

I am using an ST32F chip to communicate with the MTI-3 (with AHRS) via I2C. As of right now, I am having no issues sending and receiving Req* messages. However, once I add a nonzero payload to the messages I am sending out, I get back an Error (0x42) saying I have sent an invalid message.

I have checked my actual message being sent as such:

From MT Low-Level Communication Document: TX: FA FF D2 04 00 00 00 09 22

Mine: TX: 03 D2 04 00 00 00 06 25

Now, really the only thing I need to configure is the output of Euler angles, instead of the default Quaternion. I have checked the checksum using the Xbus source code, and it's identical, but I am still getting back invalid message errors. Please help!

Be the first to answer this question.