HF-TMC9660 Driver 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC9660
Loading...
Searching...
No Matches
Type Definitions

Enums and type definitions for communication interfaces.

Enums and type definitions for communication interfaces.

For parameter read/write access, either UART or SPI may be used. Both interfaces share the same TMCL command structure and follow a strict command/reply order.

SPI Command Format

Table 3: Command format for parameter read/write access through SPI

BYTE 0 1-2 3 4-6 7
Bits 0-7 8-19 20-23 24-55 56-63
Desc Operation Type Motor/Bank Data Checksum

SPI Reply Format

Table 4: Reply format for parameter read/write access through SPI

BYTE 0 1 2 3-6 7
Bits 0-7 8-15 16-23 24-55 56-63
Desc SPI Status TMCL Status Operation Data Checksum

UART Command Format

BYTE 0 1 2-3 4 5-8 9
Desc Sync+Address Command Type Motor/Bank Data Checksum

UART Reply Format

BYTE 0 1 2 3 4-7 8
Desc Host Address Sync+Address TMCL Status Operation Data Checksum

GPIO Control Interface

The TMC9660 provides several GPIO pins for system control and status monitoring. The interface uses board-agnostic naming and signal levels to accommodate different board implementations (direct connection, inverters, etc.).

Control Pins (Output from Host)

Status Pins (Input to Host)