Datasheet

TMC2041 DATASHEET (Rev. 1.02 / 2017-MAY-16) 27
www.trinamic.com
6.3 Motor Driver Registers
MOTOR DRIVER REGISTER SET (MOTOR 1: 0X6A…0X6F, MOTOR 2: 0X7A…0X7F)
R/W
Addr
n
Register
Description / bit names
Range [Unit]
R
0x6A
0x7A
10
MSCNT
Microstep counter. Indicates actual position
in the microstep table for CUR_A. CUR_B uses
an offset of 256.
Hint: Move to a position where MSCNT is
zero before re-initializing MSLUTSTART or
MSLUT and MSLUTSEL.
0…1023
R
0x6B
0x7B
9
+
9
MSCURACT
bit 8… 0: CUR_A (signed):
Actual microstep current for
motor phase A as read from
MSLUT (not scaled by current)
bit 24… 16: CUR_B (signed):
Actual microstep current for
motor phase B as read from
MSLUT (not scaled by current)
+/-0...255
RW
0x6C
0x7C
32
CHOPCONF
chopper and driver configuration
See separate table!
W
0x6D
0x7D
25
COOLCONF
coolStep smart current control register
and stallGuard2 configuration
See separate table!
R
0x6F
0x7F
32
DRV_
STATUS
stallGuard2 value and driver error flags
See separate table!