HF-TMC9660 Documentation
Welcome! This directory contains step-by-step guides for installing, building, and using the HF-TMC9660 library.
📚 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 SPI/UART interface for your platform
- ⚙️ Configuration – Configuration options and settings
Reference
- 📖 API Reference – Complete API documentation
- 💡 Examples – Detailed example walkthroughs
Advanced Features
- 🚀 Bootloader Initialization – Critical bootloader setup guide
- 📡 Communication Protocols – Detailed protocol specifications
Troubleshooting
- 🐛 Troubleshooting – Common issues and solutions
🚀 Quick Start Path
New to TMC9660? 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
- CRITICAL: Review Bootloader Initialization - this is required!
- Check Platform Integration to implement the communication interface
- Explore Examples for more advanced usage
⚠️ Critical Requirements
BOOTLOADER INITIALIZATION IS MANDATORY
The TMC9660 must be properly configured for Parameter Mode operation via bootloader initialization before any motor control functions will work. This is the #1 source of issues for new users.
Essential Setup Sequence:
1
2
3
4
tmc9660::BootloaderConfig cfg{};
cfg.boot.boot_mode = tmc9660::bootcfg::BootMode::Parameter; // ESSENTIAL!
cfg.boot.start_motor_control = true;
auto result = driver.bootloaderInit(&cfg);
See Bootloader Initialization for complete details.
💡 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 ➡️ Installation