Datasheet

TMC5160 DATASHEET (Rev. 1.01 / 2017-NOV-29) 97
www.trinamic.com
the end of the reset condition cannot be determined by monitoring DIAG0 in this configuration,
because event_pos_reached flag also becomes active upon reset and thus the pin stays actively low
after the reset condition. In order to safely determine a reset condition, monitor the reset flag by SPI
or read out any register to confirm that the chip is powered up.
DIAG1
DIAG0
PMD
PDD
PDD=100k pulldown
PMD=50k to VCC/2
Power-on reset
Toggle upon each step
diag0_step
diag0_pushpull
diag1_pushpull
event_pos_reached
event_stop_sg
event_stop_r
event_stop_l
N_event
Direction
diag1_dir
Position compare
XACTUAL = X_COMPARE
Interrupt-signal
Figure 16.2 DIAG outputs with SD_MODE=0