User Manual
TMCM-3212, TMCM-3213 Hardware Manual (V0.95 / 2017-MAR-01) 23
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
6 Motor driver current
The stepper motor driver section of the TMCM-3212 + TMCM-3213 operates current controlled. The driver current
may be programmed in software with 256 effective scaling steps in hardware up-to 3A RMS / 4.2A peak max.
motor coil current.
Motor current measured for one phase with max. current settings (100% e.g. “SAP 179, 0, 0” and “SAP 6, 0, 255”)
and 256 microsteps:
CH1 (yellow): motor current [100mV / A]
Motor current
setting in
software (TMC)
In TMCL axis parameter 6 (motor run current) and 7 (motor standby current) can be used
for motor current setting:
SAP 6, 0, <value> // set run current
SAP 7, 0, <value> // set standby current
For <value> numbers between 0 (minimum) and 255 (maximum) are supported. Motor
current is scaled linearly up-to 3A RMS / 4.2A peak.
(read-out value with GAP instead of SAP. Please see separate TMCM-3212 / TMCM-3213
firmware / software manual for further information)
Range setting
in software
(TMCL)
TMCL axis parameter 179 (Vsense) will set the current range:
SAP 179, 0, <value> // = 0 high current range
// up-to 3A RMS/4.2A peak
// = 1 low current range
// up-to 1.7A RMS / 2.4A peak
For <value> either 0 (high current range) or 1 (low current range) is supported.
(read-out value with GAP instead of SAP.