HF-TMC51x0 Documentation (TMC5130 & TMC5160)
Welcome! This directory contains step-by-step guides for installing, building, and using the HF-TMC51x0 library, which supports both TMC5130 and TMC5160 chips.
π Documentation Structure
Getting Started
- π οΈ Installation β Prerequisites and how to obtain the source
- β‘ Quick Start β Minimal working example to get you running
- π Hardware Setup β Wiring diagrams and pin connections
Integration
- π§ Platform Integration β Implement the CRTP communication interface for your platform
- βοΈ Configuration β Configuration options and settings
Reference
- π API Reference β Complete API documentation
- π‘ Examples β Detailed example walkthroughs
Advanced Features
- π Unit Conversions β Converting between physical units and driver steps
- βοΈ Motor Setup from Specifications β High-level motor configuration from physical parameters
- π Sensorless Homing β Homing without endstops using StallGuard2
- π― Automatic Tuning β Intelligent StallGuard2 threshold optimization
- π§ Advanced Configuration β CoolStep, dcStep, freewheeling, and more
- π Multi-Chip Communication β SPI daisy chaining and UART multi-node addressing
- π‘ Communication Interface β Low-level SPI/UART communication details
- π GPIO Pin Configuration β Pin mapping, active levels, and mode pin setup
- π Register Access β Direct register read/write and initialization flow
- π TMC5130 Support β Differences between TMC5130 and TMC5160
Troubleshooting
- π Troubleshooting β Common issues and solutions
π Quick Start Path
New to TMC51x0? Follow this recommended path:
- Start with Installation to prepare your environment
- Follow Hardware Setup to wire your hardware
- Read Quick Start for a minimal working example and
Result<T>error handling - Check Platform Integration to implement the SPI/UART interface
- Explore Examples for progressively harder walkthroughs with explanations
- Refer to Troubleshooting when things donβt work as expected
π‘ Need Help?
- π Found a bug? Check the Troubleshooting guide
- β Have questions? Review the API Reference
- π Want to contribute? See the contributing guidelines in the main README
Navigation Next: Installation ->
Table of contents
- π οΈ Installation
- Quick Start
- π Hardware Setup
- π§ Platform Integration
- βοΈ CMake Integration
- βοΈ Configuration
- π API Reference
- Examples
- π Troubleshooting
- π Unit Conversions
- βοΈ Motor Setup from Specifications
- π Sensorless Homing
- π§ Advanced Configuration
- π Multi-Chip Communication
- π§ TMC5130 Support
- Communication Interface
- GPIO Pin Configuration
- Register Access
- ESP32 Examples