
TMC2225 DATASHEET (Rev. 1.15 / 2023-FEB-16)
21
GENERAL CONFIGURATION REGISTERS (0X00…0X0F)
R/W Addr
R+
WC
0x01
R 0x02
W 0x03
W 0x04
R 0x05
R 0x06
n Register
3 GSTAT
8 IFCNT
4 NODECONF
16 OTP_PROG
24 OTP_READ
10
+ IOIN
8
Description / bit names
Bit GSTAT – Global status flags
(Re-Write with ‘1’ bit to clear respective flags)
0 reset
1: Indicates that the IC has been reset since the last
read access to GSTAT. All registers have been
cleared to reset values.
1 drv_err
1: Indicates, that the driver has been shut down
due to overtemperature or short circuit detection
since the last read access. Read DRV_STATUS for
details. The flag can only be cleared when all
error conditions are cleared.
2 uv_cp
1: Indicates an undervoltage on the charge pump.
The driver is disabled in this case. This flag is not
latched and thus does not need to be cleared.
Interface transmission counter. This register becomes
incremented with each successful UART interface write
access. Read out to check the serial transmission for
lost data. Read accesses do not change the content.
The counter wraps around from 255 to 0.
Bit NODECONF
11..8 SENDDELAY for read access (time until reply is sent):
0, 1: 8 bit times
2, 3: 3*8 bit times
4, 5: 5*8 bit times
6, 7: 7*8 bit times
8, 9: 9*8 bit times
10, 11: 11*8 bit times
12, 13: 13*8 bit times
14, 15: 15*8 bit times
Bit OTP_PROGRAM – OTP programming
Write access programs OTP memory (one bit at a time),
Read access refreshes read data from OTP after a write
2..0 OTPBIT
Selection of OTP bit to be programmed to the selected
byte location (n=0..7: programs bit n to a logic 1)
5..4 OTPBYTE
Selection of OTP programming location (0, 1 or 2)
15..8 OTPMAGIC
Set to 0xbd to enable programming. A programming
time of minimum 10ms per bit is recommended (check
by reading OTP_READ).
Bit OTP_READ (Access to OTP memory result and update)
See separate table!
7..0 OTP0 byte 0 read data
15..8 OTP1 byte 1 read data
23..16 OTP2 byte 2 read data
Bit INPUT (Reads the state of all input pins available)
0 ENN (TMC220x)
1 PDN_UART (TMC222x)
2 MS1 (TMC220x), SPREAD (TMC222x)
3 MS2 (TMC220x), DIR (TMC222x)
www.trinamic.com











































































