Skip to main content
NewEpisode 3a is out: Carry the conversation onWatch →

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 parts
Sensors · 11d

Encoders 4: frames that get through

The same shaft on smc40s with BiSS-C, turning at 300 rpm: the frames no check throws away. A flipped bit: the CRC6 is commented out, so the bad value becomes the angle (about 181° off), and motor_pos_sensor's half-turn rule turns "up over half, back under half" into a turn lost for good. A missing frame: the mailbox is zeroed every tick, so it is an all-zero frame, read as angle 0 by BiSS-C and by MT68xx (its CRC starts from 0). Switched on past half a turn: the first frame is all zeros, the self-test takes 0 as the start, and 0.7 of a turn reads as −0.3. None of it alarms. Every stop guess-first, picture beside code.

Up next11e · Encoders 5: ABZ, counting pulses→