EasyManua.ls Logo

ST SPC560P34 - Page 609

ST SPC560P34
936 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RM0046 Cross Triggering Unit (CTU)
Doc ID 16912 Rev 5 609/936
If two events at the same time are linked to the same output only one output is generated
and an error is provided. The output is generated using the trigger with the lowest index. For
example, if trigger 0 and trigger 1 are linked to the ADC output and they occur together, an
error is generated and the output linked with the trigger 0 is generated.
When a trigger is linked to the ADC, an associated ADC command (or stream of commands)
is generated. The ADC Commands List Control Register (CLCRx) sets the assignment to an
ADC command or to a stream of commands. When a trigger is linked to a timer or to the
external trigger, a pulse with an active rising edge is generated. Additional features for the
external triggers are available:
The external trigger output has:
Pulse mode
Toggle mode
In Toggle Mode, each trigger event is linked to the external trigger, the external trigger pin
toggles. The ON-Time for both modes (Pulse mode and Toggle mode) of the triggers is
defined from a COTR register (Control On Time Register). A guard time is also defined from
the same register at the same value of the ON-Time. A new trigger will be generated only if
the ON time + Guard Time has past. The ON-Time and the Guard Time are only used for
external Triggers.
External signals can be asynchronous with motor control clock. For this reason a
programmable digital filter is available. The external signal is considered at 1 if it is latched N
time at 1, and is considered at 0 if it is latched N time at 0, where N is a value in the digital
filter control register.
Trigger events in the SU can be initiated by hardware or by software, and an additional
software control is possible for each trigger event (as for the MRS), so 1 bit for each trigger
event in the CTU Control Register is used to generate an equivalent software trigger event.
Each of these bits is cleared by a respective hardware or software trigger event.

Table of Contents

Related product manuals