User Manual

TMC5031-EVAL Manual / Firmware V1.00 (Rev. 1.00 / 2013-FEB-22) 28
www.trinamic.com
6.4.7 Global Configuration Dialogue
This dialogue shows global status flags on the front tab and global settings on the rear tab. These
flags and settings are related to the GENERAL CONFIGURATION REGISTERS of the TMC5031. Flags can be
pulled continuously or on demand. Blue marked flags are set.
Note that the direction of motor 2 is reversed per default. This way, both motors rotate in the same
direction. In hardware, motor 2 is connected mirror-inverted.
Figure 6.20 Global status tab and global settings tab
GENERAL CONFIGURATION REGISTERS (0X00…0X1F)
R/W
Addr
n
Register
Description / bit names
RW
0x00
11
GCONF
Bit
GCONF Global configuration flags
3
poscmp_enable
0: Outputs INT and PP are tristated.
1: Position compare pulse (PP) and interrupt output
(INT) are available
Attention: do not leave the ouputs floating in tristate
condition, provide an external pull-up or set this bit 1.
8
shaft1
1: Inverse motor 1 direction
9
shaft2
1: Inverse motor 2 direction
10
lock_gconf
1: GCONF is locked against further write access.
R+C
0x01
4
GSTAT
Bit
GSTAT Global status flags
0
reset
1: Indicates that the IC has been reset since the last
read access to GSTAT.
1
drv_err1
1: Indicates, that driver 1 has been shut down due
to an error since the last read access.
2
drv_err2
1: Indicates, that driver 2 has been shut down due
to an error since the last read access.
3
uv_cp
1: Indicates an undervoltage on the charge pump.
The driver is disabled in this case.