Datasheet

TMC2300 DATASHEET (Rev. 1.02 / 2019-NOV-06) 27
www.trinamic.com
5.4 Sequencer Registers
The sequencer registers have a pure informative character and are read-only. They help for special
cases like storing the last motor position before power off in battery powered applications.
MICROSTEPPING CONTROL REGISTER SET (0X60…0X6B)
R/W
Addr
n
Register
Description / bit names
Range [Unit]
R
0x6A
10
MSCNT
Microstep counter. Indicates actual position
in the microstep table for CUR_A. CUR_B uses
an offset of 256 into the table. Reading out
MSCNT allows determination of the motor
position within the electrical wave.
0…1023
5.5 Chopper Control Registers
DRIVER REGISTER SET (0X6C…0X7F)
R/W
Addr
n
Register
Description / bit names
Range [Unit]
RW
0x6C
32
CHOPCONF
Chopper and driver configuration
See separate table!
Reset default=
0x13008001
R
0x6F
32
DRV_
STATUS
Driver status flags and current level read
back
See separate table!
RW
0x70
22
PWMCONF
StealthChop PWM chopper configuration
See separate table!
Reset default=
0xC40D1024
R
0x71
9+8
PWM_SCALE
Results of StealthChop amplitude regulator.
These values can be used to monitor
automatic PWM amplitude scaling (255=max.
voltage).
bit 7… 0
PWM_SCALE_SUM:
Actual PWM duty cycle. This
value is used for scaling the
values CUR_A and CUR_B read
from the sine wave table.
0…255
bit 24… 16
PWM_SCALE_AUTO:
9 Bit signed offset added to the
calculated PWM duty cycle. This
is the result of the automatic
amplitude regulation based on
current measurement.
signed
-255…+255
R
0x72
8+8
PWM_AUTO
These automatically generated values can be
read out in order to determine a default /
power up setting for PWM_GRAD and
PWM_OFS.
bit 7… 0
PWM_OFS_AUTO:
Automatically determined offset
value
0…255
bit 23… 16
PWM_GRAD_AUTO:
Automatically determined
gradient value
0…255