English
Language : 

TMC428_06 Datasheet, PDF (24/58 Pages) List of Unclassifed Manufacturers – Intelligent Triple Stepper Motor Controller with Serial Peripheral Interfaces
TMC428 DATASHEET (v. 2.02 / April 26th, 2006)
24
bit REF_RnL (reference switch Right not Left) defines which switch is the reference switch: If set to ‘1’,
the right, else (set to ‘0’) the left one is the reference switch.
The bits contained in ref_conf control the semantic and the actions of the reference/stop switch
modes for interrupt generation as explained later. The stepper motor stops if the reference/stop switch,
which corresponds to the actual driving direction, becomes active. The configuration bits named
DISABLE_STOP_L respectively DISABLE_STOP_R disable these automatic stop functions. If the bit
SOFT_STOP is set, motor stop forced by a reference switch is done within motion parameter limits
while otherwise stopping is abruptly.
Hint: There is a functional difference between reference switches and stop switches. Reference
switches are used to determine a reference position for a stepper motor. Stop switches are used for
automatic stopping a motor when reaching a limit. The signals of switches are processed via the inputs
named REF1, REF2, REF3 might be used as automatic stop switches, reference switches, or both.
32 bit DATAGRAM sent from a µC to the TMC428
33222222222211111111119876543210
1098765432109876543210
ADDRESS
DATA
smda 1 0 1 0
lp
ref_conf
rm
0
Table 8-5: lp & ref_conf & ramp_mode (rm) data bit positions
8.13 interrupt_mask & interrupt_flags (IDX=%1011)
The TMC428 provides one interrupt register of eight flags for each stepper motor. Interrupt bits are
named INT_<mnemonic>. An interrupt bit can set back to ‘0’ by writing ‘1’ to it. Each interrupt bit can
either be enabled (‘1’) or disabled (‘0’) individually by an associated interrupt mask bit named
MASK_<mnemonic>. The interrupt flags are forced to ‘0’ if the corresponding mask bit is disabled
(‘0’). The bit mapping of the interrupt mask bits and interrupt bits itself is diagrammed in Table 8-7 on
page 25. The interrupt out SDO_C / nINT is set active low – where the interrupt status bit INT is set
active high - when at least one interrupt flag of one motor becomes set. The interrupt mask enables or
disables each interrupt mask individually. So, if the interrupt status is inactive, nINT is high (‘1’) and
INT is low ('0'). The interrupt status is mapped to the most significant bit (31) of each datagram sent
back to the µC (see Table 6-4, page 12) and it is only available at the SDO_C / nINT pin of the
TMC428 if the pin nSCS_C is high.
Copyright © 2004-2006, TRINAMIC Motion Control GmbH & Co. KG