TMC2225 DATASHEET (Rev. 1.15 / 2023-FEB-16)
27
5.4 Chopper Control Registers
DRIVER REGISTER SET (0X6C…0X7F)
R/W Addr n Register
RW 0x6C 32 CHOPCONF
R
0x6F
32
DRV_
STATUS
RW 0x70 22 PWMCONF
R 0x71 9+8 PWM_SCALE
R 0x72 8+8 PWM_AUTO
Description / bit names
Chopper and driver configuration
See separate table!
Driver status flags and current level read
back
See separate table!
StealthChop PWM chopper configuration
See separate table!
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.
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.
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
bit 23… 16 PWM_GRAD_AUTO:
Automatically
determined
gradient value
Range [Unit]
Reset default=
0x10000053
Reset default=
0xC10D0024
0…255
signed
-255…+255
0…255
0…255
www.trinamic.com
    "