English
Language : 

TMC428_06 Datasheet, PDF (25/58 Pages) List of Unclassifed Manufacturers – Intelligent Triple Stepper Motor Controller with Serial Peripheral Interfaces
TMC428 DATASHEET (v. 2.02 / April 26th, 2006)
25
Demultiplexing of the multiplexed interrupt status signal at the pin SDO_C / nINT can be done using
additional hardware. It is not necessary if the microcontroller always disables its interrupt while it sends
a datagram to the TMC428.
interrupt bit mnemonic function
INT_POS_END stepper motor reached target position
INT_REF_WRONG reference switch signal was active outside the reference switch tolerance range
(dx_ref_tolerance)
INT_REF_MISS reference switch signal missing at null position
INT_STOP stop forced by reference switch during motion
INT_STOP_LEFT_LOW high to low transition of left reference switch
INT_STOP_RIGHT_LOW high to low transition of right reference switch
INT_STOP_LEFT_HIGH low to high transition of left reference switch
INT_STOP_RIGHT_HIGH low to high transition of right reference switch
Table 8-6: interrupt bit mnemonics
32 bit DATAGRAM sent from a µC to the TMC428
33222222222211111111119876543210
1098765432109876543210
ADDRESS
DATA
smd
a
1
0
1
1
interrupt mask
interrupt flags
0
Table 8-7: interrupt register & interrupt mask
An interrupt flag is set to ‘1’ if its assigned interrupt condition occurs and the corresponding interrupt
mask is set (‘1’). Interrupt flags are reset to ‘0’ by a write access (RW=’0’) to the interrupt register
address (IDX=%1011) with a ‘1’ at the position of the bit to be cleared. Writing a ‘0’ to the
corresponding position leaves the interrupt flag untouched.
If an end position is reached while the interrupt mask MASK_POS_END is ‘1’, the bit named
INT_POS_END is set to one. The switches processed via the inputs REF1, REF2, REF3 can be used
as stop switches for automatic motion limiting, as reference switches and for both. If a reference switch
becomes active out of the reference switch tolerance range– defined by the dx_ref_tolerance register
–the interrupt flag INT_REF_WRONG is set if its interrupt mask bit MASK_REF_WRONG is set. The
interrupt flag INT_REF_MISS is set if the reference switch is inactive at the 0 position and the mask
MASK_REF_MISS is enabled. The INT_STOP flag is set, if the reference switch has forced a stop and
if the interrupt mask MASK_STOP is set. The INT_STOP_LEFT_LOW flag is set if the reference
switch changes from high to low and if the interrupt mask bit MASK_STOP_LEFT_LOW is set. The
interrupt flag INT_STOP_RIGHT_LOW is similar to INT_STOP_LEFT_LOW but for the right reference
switch. The INT_STOP_LEFT_HIGH indicates that the left reference switch input changes from low to
Copyright © 2004-2006, TRINAMIC Motion Control GmbH & Co. KG