This part is for members
Membership opens soon. Leave your email and we'll tell you the day it does. Founding members get the launch price.
Keep watching the free partsEncoders 3: frames the check throws away
11a's shaft turns at 300 rpm, and a Tamagawa frame arrives with a wrong checksum. A rejected frame returns early, so box 3 keeps last tick's count; only twenty in a row set the error bit (tick 23, with the angle frozen almost 19° behind), only that bit reaches the app layer, and the driver never clears it: a host clear-error does. MT68xx's failure branch lacks the err_cnt++, so it never alarms. With the encoder mounted backwards (a_dir), the return leaves only the parser and the mirror runs again, flipping the count back: 86° off at 3/8 of a turn. Runs of the fix branch fix/encoder-dir-dropped-frame are labelled PATCHED. Every stop guess-first, picture beside code.