|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
Board hardware configuration for TMC51x0 Evaluation Kit. More...
#include <esp32_tmc51x0_test_config.hpp>
Static Public Attributes | |
| static constexpr uint32_t | SENSE_RESISTOR_MOHM = 50 |
| Sense resistor value in milliohms (0.05Ω) | |
| static constexpr uint32_t | CLOCK_FREQUENCY_HZ = 0 |
| TMC51x0 clock frequency in Hz (0 = use internal 12 MHz oscillator, CLK pin tied to GND) | |
| static constexpr float | MOSFET_MILLER_CHARGE_NC = 6.0f |
| MOSFET Miller charge in nC (<10nC for BSC072N08NS5) | |
| static constexpr uint32_t | BBM_TIME_NS = 100 |
| Break-before-make time in nanoseconds (~100ns for fast MOSFETs) | |
| static constexpr uint16_t | S2VS_VOLTAGE_MV = 625 |
| Short to VS voltage threshold in mV (0 = auto = 625mV) | |
| static constexpr uint16_t | S2G_VOLTAGE_MV = 625 |
| Short to GND voltage threshold in mV (0 = auto = 625mV) | |
Board hardware configuration for TMC51x0 Evaluation Kit.
Defines board-specific hardware parameters for the TMC51x0 Evaluation Kit. These values are used for automatic current calculation and power stage configuration.
Board-specific: These parameters depend on the TMC51x0 EVAL kit hardware:
Note: Supply voltage is motor-specific and should be set from MotorConfig, not BoardConfig. The board can handle 12-36V, but the actual voltage depends on the motor being driven.
These values stay the same regardless of which motor is connected or what platform it's used on.
|
staticconstexpr |
Break-before-make time in nanoseconds (~100ns for fast MOSFETs)
|
staticconstexpr |
TMC51x0 clock frequency in Hz (0 = use internal 12 MHz oscillator, CLK pin tied to GND)
|
staticconstexpr |
MOSFET Miller charge in nC (<10nC for BSC072N08NS5)
|
staticconstexpr |
Short to GND voltage threshold in mV (0 = auto = 625mV)
|
staticconstexpr |
Short to VS voltage threshold in mV (0 = auto = 625mV)
|
staticconstexpr |
Sense resistor value in milliohms (0.05Ω)