Datasheet
TMC4361A Datasheet | Document Revision 1.22 • 2017-JAN-12
26/230
© 2015 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany — Terms of delivery and rights
to technical change reserved. Download newest version at: www.trinamic.com .
Read entire documentation; especially the “Supplemental Directives” on page 224.
MAIN MANUAL
SPI Status Bit Transfer
Up to eight events can be selected for permanent SPI status report. Consequently, these events
are always transferred at the most significant transfer bits within each
TMC4361A SPI response.
In order to select an event for the SPI status bits, assign the
SPI_STATUS_SELECTION
register 0x0B according to the particular event in
the EVENTS register:
Action:
Set the related
SPI_STATUS_SELECTION
register bit position to 1.
Result:
The related event is transferred with every SPI datagram response as
SPI
_
STATUS
.
NOTE:
The bit positions are sorted according to the event bit positions in the EVENTS
register 0x0E. In case more than eight events are selected, the first eight bits
(starting from index 0 = LSB) are forwarded as SPI_STATUS.
Generation of Interrupts
Similar to
EVENT_CLEAR_CONF
register and
SPI_STATUS_SELECTION
register, events can be
selected for forwarding via INTR output. The selected events are ORed to one signal which
means that INTR output switches active as soon as one of the selected events triggers.
In order to select an event for the INTR output pin, assign the
INTR_CONF
register 0x0D according to the particular event in the EVENTS register:
Action:
Set the related
INTR_CONF
register bit position to 1.
Result:
The related event is forwarded at the INTR output. If more than one event is
requested, INTR becomes active as soon as one of the selected events is active.
Per default, the INTR output is low active.
In order to change the INTR polarity to high active, do the following:
Action:
Set
intr_pol
=1 (
GENERAL_CONF
register 0x00).
Result:
INTR is high active.
Assign an Event
to a Status Bit
Generate
Interrupts
INTR Output
Polarity