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 · 11a

Encoders 1: how one frame becomes an angle (Tamagawa)

Follow one 6-byte Tamagawa reply through 9 stops and watch the number move through five places (the mailbox encoder_rx_buff → data_raw → single_cnt → kAxis → elec_theta_rad, the picture shared by 11a–11d): the request, the DMA filling the mailbox, the copy one tick later (and how late that is), the XOR check and status byte, assembling the count, up through the BSP, count to electrical angle, and the current loop pushing it ahead. Every stop is servohub source, picture beside code.

Up next11b · Encoders 2: two more wires (MT68xx · BiSS-C)→