TMC4330A Datasheet | Document Revision 1.01 • 2017-JAN-12
21/166
Status Event Description
Status events are based on status bits. If the status bits change, related events are triggered
from inactive to active level. Resetting events back to inactive must be carried out manually.
Association of
Status Bits
Status bits and status events are associated in different ways:
Status flags reflect the as-is-condition, whereas status events indicate that the
dedicated information has changed since the last read request of the EVENTS
register. Several status events are associated with one status bit.
Some status events show the status transition of one or more status bits out of
a status bit group.
In case a flag consists of more than one bit, the number of associated events
that can be triggered corresponds to the valid combinations. The VEL_STATE
flag, e.g., has two bit but three associated velocity state events (b’00/b’01/b’10).
Such an event is triggered if the associated combination switches from inactive
to active.
NOTE:
Some events have no equivalence in the STATUS_FLAGS register 0x0F.
Automatic
Clearance of
EVENTS
The EVENTS register 0x0E is automatically cleared after reading the register;
subsequent to an SPI datagram request. Events are important for interrupt generation
and SPI status monitoring.
NOTE:
It is recommended to clear EVENTS register 0x0E by read request before regular
operation.
Recognition of a status event can fail; in case it is triggered right before or
during EVENTS register 0x0E becomes cleared.
AREAS OF
SPECIAL
CONCERN
!
In order to prevent events from being cleared, assign EVENT_CLEAR_CONF register
0x0C according to the particular event in the EVENTS register:
How to Avoid
Lack of
Information
Action:
Set related EVENT_CLEAR_CONF register bit position to 1.
Result:
The related event is not cleared when EVENTS register is read out.
In order to clear these events, do the following, if necessary:
Action:
Set related EVENTS register 0x0E bit position to 1.
Result:
The related event is cleared by writing to the EVENTS register.
© 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 160.
MAIN MANUAL