Prototype
Hardware rev V9. Specifications come from the current design and may change before launch. The continuous current rating is still being confirmed in thermal testing, and production firmware is not released yet.
What is CANStepper NEMA 23?
CANStepper NEMA 23 (CANStepper V1.0) is a 56.6 mm square driver board that bolts to the back of a NEMA 23 motor. It runs the motor open loop from any STEP/DIR controller, or closed loop from its own STM32 and on-axis magnetic encoder, networked over CAN FD.
Each board carries:
- STM32H503 microcontroller (Arm Cortex-M33, up to 250 MHz)
- TMC5160A stepper driver with eight external 100 V MOSFETs, configured over SPI, up to 3.1 A RMS / 4.4 A peak
- MT6701 14-bit magnetic encoder (16,384 counts/rev) under the board, centred on the motor shaft
- TCAN3413 CAN FD transceiver, up to 8 Mbit/s
- 24–48 V power input with reverse-polarity, surge and fuse protection
Looking for the smaller ESP32-C3 board? See CANStepper NEMA 17.
Two ways to run it
The SDMODE switch on the board picks the mode.
| Mode A: open loop | Mode B: closed loop | |
|---|---|---|
| SDMODE switch | On | Off |
| Commands come from | STEP / DIR / GND from a CNC, 3D-printer or PLC controller | CAN FD (daisy-chained boards) or USB-C |
| Who drives the motor | TMC5160, directly from your step pulses | STM32, commanding the TMC5160 over SPI |
| Firmware on the STM32 | Needed: sets up the driver over SPI and enables it | Needed: runs the closed loop |
| Encoder | Not in the loop | Read by the STM32 to correct lost steps and report real position |
| Feedback to controller | DIAG0 on the same connector, for fault or stall signalling | Status over CAN FD or USB |
In both modes the TMC5160 gives up to 256 microsteps (MicroPlyer interpolation) and StealthChop2 quiet operation. STEP, DIR and DIAG0 are on the 4-pin JST PH connector CN5. They are 3.3 V logic and not 5 V tolerant; see Hardware & wiring.
Block diagram
CN1/CN6 24–48 V ─► 6.3 A fuse ─► reverse-polarity P-FET ─► TVS + bulk caps ─┬─► 8× MOSFET H-bridges ─► MOTOR (A1 A2 B1 B2)
└─► 12 V buck (LM5164) ─┬─► TMC5160 gate drive, power LED
├─► NPN connector (12 V)
└─► 3.3 V buck (TPS562201) ─► logic
CN1/CN6 CANH/CANL ◄─► TCAN3413 ◄─► FDCAN1 ─┐
USB-C (data only) ◄─────────────────► USB ─┤
MT6701 encoder (underside, on axis) ─ SSI ─┤
LS3V3 limit 1 ─────────────────────── PB4 ─┼─ STM32H503 ── SPI, DRV_ENN ──► TMC5160A ──► gates of the 8 MOSFETs
NPN limit 2 ───────────────────────── PB5 ─┘ ▲ │
CN5 STEP / DIR ────────┘ └─► DIAG0 ─► CN5, MCUThe board layout, with every connector, is on Hardware & wiring.
Status
The board is alive end to end on the bench. The MCU, motor driver, encoder and USB programming all work, and a NEMA 23 motor ran 30–800 rpm with no lost steps (worst end-position error 0.19°, measured by the on-board encoder). Two items are still open:
- CAN between two boards is not proven yet. One board transmits correctly, but a second board has not acknowledged its frames.
- Production firmware and bootloader are not released. Bring-up used small test images only.
Full subsystem table, measured data and open items: Bring-up status & test results.
Software support
The NEMA 17 software stack (GCSP and CANopen firmware, the
grafito-canstepper Python library, the G-code layer, the dashboard test
station) does not support the NEMA 23 board yet. NEMA 23 firmware is in
development; these pages will be updated when it ships.
Where to go next
- Specifications: power, driver, controller, encoder, protection and mechanical data.
- Hardware & wiring: connectors, daisy chain, CAN termination, STEP/DIR, limit inputs, magnet and mounting.
- Programming & flashing: USB-C DFU and SWD with an ST-Link.
- Bring-up status & test results: what works, measured performance, open items.
- Firmware developer notes: pin map, required start-up code, driver and encoder settings.
- Troubleshooting: symptom → cause → fix.