mikeferguson / robomagellan

Stuff/Garbage for RoboMagellan
BSD 3-Clause "New" or "Revised" License
12 stars 5 forks source link

IMU values are occasionally corrupted #2

Closed mikeferguson closed 6 years ago

mikeferguson commented 10 years ago

It appears the high byte is updated, then table is read out, then low byte is updated. Need to prevent this. This is particularly bad when crossing 0 as the high byte changes from 00 -> ff and vice versa

Example sequence as seen on computer side:

-26, 249, 29

Actual sequence that should be seen:

-26, -7, 29

Plot:

screenshot from 2014-02-25 00 15 47

mikeferguson commented 6 years ago

Moved to STM32 repo