TMC424-PI24 Trinamic Microchips, TMC424-PI24 Datasheet - Page 24

no-image

TMC424-PI24

Manufacturer Part Number
TMC424-PI24
Description
Economic Miniature Three Axis Microstepping Stepper Motor Controller
Manufacturer
Trinamic Microchips
Datasheet
TMC428 DATASHEET (V. 2.00 / November 12, 2003)
datagram sent back to the µC (see Table 6-4, page 11) and it is available at the SDO_C pin of the
TMC428 if the pin nSCS_C is high.
Demultiplexing of the multiplexed interrupt status signal at the pin SDO_C 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.
Table 8-6: interrupt bit mnemonics
3
1
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
Copyright © 2000–2003 TRINAMIC Microchips GmbH
0
interrupt bit mnemonic
INT_STOP_RIGHT_HIGH low to high transition of right reference switch
INT_STOP_RIGHT_LOW high to low transition of right reference switch
3
0
INT_STOP_LEFT_HIGH low to high transition of left reference switch
INT_STOP_LEFT_LOW high to low transition of left reference switch
smd
a
2
9
ADDRESS
INT_REF_WRONG reference switch signal was active outside the reference switch tolerance range
2
8
1 0 1 1
INT_REF_MISS reference switch signal missing at null position
INT_POS_END stepper motor reached target position
2
7
INT_STOP stop forced by reference switch during motion
2
6
2
5
2
4
function
(dx_ref_tolerance)
32 bit DATAGRAM sent from a µC to the TMC428
2
3
2
2
2
1
2
0
1
9
1
8
1
7
1
6
1
5
1
4
interrupt mask
1
3
DATA
1
2
1
1
1
0
9 8 7 6 5 4 3 2 1 0
interrupt flags
24

Related parts for TMC424-PI24