Bring-up of hardware rev V9 took three days, from a blank chip to closed-loop-verified motion (November 2026). The board is alive end to end: the MCU, motor driver, encoder and USB programming all work, and a NEMA 23 motor ran 30–800 rpm with no lost steps. CAN between two boards is the one subsystem not yet proven.
Subsystem status
| Subsystem | Status | Evidence |
|---|---|---|
| STM32H503 MCU, SWD | ✅ Working | Detected via ST-Link + pyOCD (device ID 0x474) |
| USB-C DFU (ROM bootloader) | ✅ Working | Flash + readback verify on two boards |
| Status LED (PB15) | ✅ Working | Blink firmware at several rates |
| TMC5160 driver (SPI) | ✅ Working | VERSION = 0x30, registers read/write, motor turns |
| Motor motion | ✅ Working | 30–800 rpm, ≤ 0.19° end-position error |
| Magnetic encoder (SSI) | ✅ Working | CRC OK, status 0000, tracks shaft 1:1 |
| CAN transceiver, single board | ✅ Working | Own frames seen on RX; ACK errors only (no second node) |
| CAN link between two boards | ⏳ Not proven | Second board never acknowledged the first board's frames |
| Production bootloader | ⏳ Not started | No image yet |
Measured performance
The motor reached 800 rpm with no lost steps: after every move the encoder read within 0.19° of the commanded position, about a tenth of one full step (1.8°).
| Speed (rpm) | 30 | 60 | 120 | 200 | 300 | 400 | 500 | 600 | 700 | 800 |
|---|---|---|---|---|---|---|---|---|---|---|
| End-position error (°) | +0.19 | +0.01 | −0.02 | 0.00 | +0.02 | +0.04 | 0.00 | −0.09 | −0.09 | 0.00 |
Test conditions: one board, 31 V supply, acceleration 6.4 turns/s², SpreadCycle at all speeds. One lost full step would read ±1.8°.
Method. Each test turned a whole number of revolutions at one speed (1 turn at 30 rpm up to 56 turns at 800 rpm, so at least half of each move ran at full speed), then compared the encoder before and after. Ending on whole turns cancels the magnet's once-per-turn offset. The method cannot see a slip of exactly whole turns, but a stall almost always leaves an odd angle.
Encoder tracking. Stepping one revolution in 64 steps of 5.6°, the encoder followed the shaft 1:1 in the same direction and returned within 0.35° of its start. Against the commanded angle it shows a smooth once-per-turn error of about −3.5° to +7°, typical of a magnet slightly off the shaft axis; a calibration table can remove it.
Speed limit. 800 rpm is the highest speed proven. Earlier velocity-mode runs stalled around 900 rpm and at 1500 rpm, partly because of the TMC5160 full-step switch-over, which has since been turned off. The true limit at 31 V is still open.
Open items
The next milestone is a two-board CAN link; after that, firmware in C with closed-loop control using the encoder.
- Prove CAN between two boards. The first board transmits correctly but no node acknowledges. Next checks: reset the second board into the CAN test firmware, read its controller state over SWD, measure about 60 Ω between CANH and CANL, and check the CAN wiring on pins 3/4.
- Flash the production bootloader once the image is available.
- Find the true speed limit. 800 rpm is proven; test 900–1200 rpm with the position-error test.
- Calibrate the encoder. A one-turn lookup table removes the −3.5° to +7° once-per-turn error from magnet off-centre mounting.
- Confirm the motor's rated current and set the run current to match.
- Thermal check. Measure board and driver temperature after long runs at high current, to set the continuous current rating.