User Manual
542
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Capture/Compare Unit 6 (CCU6)
18.4.2.4 Synchronization to T12
Timer T13 can be synchronized to a T12 event. Bit fields T13TEC and T13TED select the event that is used to
start Timer T13. The selected event sets bit T13R via HW, and T13 starts counting. Combined with the Single-
Shot mode, this feature can be used to generate a programmable delay after a T12 event.
shows an example for the synchronization of T13 to a T12 event. Here, the selected event is a
compare-match (compare value = 2) while counting up. The clocks of T12 and T13 can be different (other
prescaler factor); the figure shows an example in which T13 is clocked with half the frequency of T12.
Figure 145 Synchronization of T13 to T12 Compare Match
Bit field T13TEC selects the trigger event to start T13 (automatic set of T13R for synchronization to T12
compare signals) according to the combinations shown in
. Bit field T13TED additionally specifies
for which count direction of T12 the selected trigger event should be regarded (see
).
Table 285 T12 Trigger Event Selection
T13TEC
Selected Event
000
B
None
001
B
T12 Compare Event on Channel 0 (CM_CC60)
010
B
T12 Compare Event on Channel 1 (CM_CC61)
011
B
T12 Compare Event on Channel 2 (CM_CC62)
100
B
T12 Compare Event on any Channel (0, 1, 2)
101
B
T12 Period-Match (T12_PM)
110
B
T12 Zero-Match while counting up (T12_ZM and CDIR = 0)
111
B
Any Hall State Change
Zero
Compare
Value
Compare-Match
Period
Value
CCU6_MCT05530
f
T12
T13R
T13 Count
f
T13
T12 Count