TMC223 DATASHEET (V. 1.05 / March 7, 2011)
21
5.2.2 Status Flags
The table below shows the flags which are accessable by the serial interface in order to receive
information about the internal status of the TMC223.
Flag
Mnemonic Length
(bit)
Related
Command
Comment
Reset
state
Digital supply
Reset
VddReset
1
GetFullStatus1 Set to ‘1’ after power-up or after a micro-cut in the supply
voltage to warn that RAM contents may have been lost.
Is set to ‘0’ after GetFullStatus1 command.
‘1’
Over current in coil OVC1
A
1
1
1
GetFullStatus1 Set to ‘1’ if an over current in coil #1 was detected. Is set to
‘0’ after GetFullStatus1 command.
‘0’
‘0’
‘0’
Over current in coil OVC2
B
GetFullStatus1 Set to ‘1’ if an over current in coil #2 was detected. Is set to
‘0’ after GetFullStatus1 command.
StepLoss
StepLoss
GetFullStatus1 Set to ‘1’ when under voltage, over current or over
temperature event was detected. Is set to ‘0’ after
GetFullStatus1 command. SetPosition and
GotoSecurePosition commands are ignored when
<StepLoss> = 1
‘0’ if SecPos = “100 0000 0000”
Secure position
enabled
Electrical Defect
SecEn
ElDef
1
1
Internal use
‘1’ otherwise
n.a.
‘0’
GetFullStatus1 Set to ‘1’ if open circuit or a short was detected, (<OVC1>
or <OVC2>). Is. Is set to ‘0’ after GetFullStatus1 command.
GetFullStatus1 Indicates the chip temperature
“00” = normal temperature
Temperature Info Tinfo
2
“00”
“01 = low temperature warning
“10” = high temperature warning
“11” = motor shutdown
GetFullStatus1 Set to one if temperature raises above 145 °C. Is set to ‘0’
after GetFullStatus1 command.
Thermal Warning TW
Thermal Shutdown TSD
1
1
3
‘0’
‘0’
GetFullStatus1 Set to one if temperature raises above 155°C. Is set to ‘0’
after GetFullStatus1 command and Tinfo = “00”.
GetFullStatus1 Indicates the actual behavior of the position controller.
“000”: Actual Position = Target Position; Velocity = 0
“001”: Positive Acceleration; Velocity > 0
Motion Status
Motion
“000”
“010”: Negative Acceleration; Velocity > 0
“011”: Acceleration = 0 Velocity = maximum pos Velocity
“100”: Actual Position /= Target Position; Velocity = 0
“101”: Positive Acceleration; Velocity < 0
“110”: Positive Acceleration; Velocity < 0
“111”: Acceleration = 0 Velocity = maximum neg Velocity
GetFullStatus1 Indicates the status of the external switch.
‘0’ = open
External Switch
Status
ESW
1
‘0’
‘1’ = close
GetFullStatus1 ‘0’ charge pump OK
Charge Pump
failure
Electrical flag
CPFail
HS
1
1
‘0’
‘0’
‘1’ charge pump failure
<CPFail> or <UV2> or <ElDef>
Internal use
Copyright © 2007-2009 TRINAMIC Motion Control GmbH & Co. KG