User Manual
538
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Capture/Compare Unit 6 (CCU6)
Figure 141 Overview Diagram of the Timer T13 Block
18.4.1
T13 Overview
shows a detailed block diagram of Timer T13. The functions of the timer T12 block are controlled
by bits in registers TCTR0, TCTR2, and PISEL2.
Timer T13 receives its input clock,
f
T13
, from the module clock
f
CC6
via a programmable prescaler and an
optional 1/256 divider or from an input signal T13HR. T13 can only count up (similar to the Edge-Aligned mode
of T12).
Via a comparator, the timer T13 Counter Register T13 is connected to the Period Register T13PR. This register
determines the maximum count value for T13. When T13 reaches the period value, signal T13_PM (T13 Period
Match) is generated and T13 is cleared to 0000
H
with the next T13 clock edge. The Period Register receives a
new period value from its Shadow Period Register, T13PS, that is loaded via software. The transfer of a new
period value from the shadow register into T13PR is controlled via the ‘T13 Shadow Transfer’ control signal,
T13_ST. The generation of this signal depends on the associated control bit STE13. Providing a shadow
register for the period value as well as for other values related to the generation of the PWM signal facilitates
a concurrent update by software for all relevant parameters (refer to
). Another signal indicates
whether the counter contents are equal to 0000
H
(T13_ZM).
A Single-Shot control bit, T13SSC, enables an automatic stop of the timer when the current counting period is
finished (see
CCU6_MCA05526
T13HR
Capture/Compare
Channel CC63
CC63ST
Timer T13
Logic
State Bit
To Output
Modulation
Input and Control/Status Logic
Synchronization to T12