User Manual
568
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Capture/Compare Unit 6 (CCU6)
Table 294 Double-Register
Capture
Modes
Description
0100
B
The contents of T12 are stored in CC6nR after a rising edge and in CC6nSR after a falling edge on
the input pin CC6n.
0101
B
The value stored in CC6nSR is copied to CC6nR after a rising edge on the input pin CC6n. The actual
timer value of T12 is simultaneously stored in the shadow register CC6nSR. This feature is useful
for time measurements between consecutive rising edges on pins CC6n. COUT6n is I/O.
0110
B
The value stored in CC6nSR is copied to CC6nR after a falling edge on the input pin CC6n. The
actual timer value of T12 is simultaneously stored in the shadow register CC6nSR. This feature is
useful for time measurements between consecutive falling edges on pins CC6n. COUT6n is I/O.
0111
B
The value stored in CC6nSR is copied to CC6nR after any edge on the input pin CC6n. The actual
timer value of T12 is simultaneously stored in the shadow register CC6nSR. This feature is useful
for time measurements between consecutive edges on pins CC6n. COUT6n is I/O.
Table 295 Combined
T12
Modes
Description
1000
B
Hall Sensor mode:
Capture mode for channel 0, compare mode for channels 1 and 2. The contents of T12 are
captured into CC60 at a valid hall event (which is a reference to the actual speed). CC61 can be
used for a phase delay function between hall event and output switching. CC62 can act as a time-
out trigger if the expected hall event comes too late. The value 1000
B
must be programmed to
MSEL0, MSEL1 and MSEL2 if the hall signals are used. In this mode, the contents of timer T12 are
captured in CC60 and T12 is reset after the detection of a valid hall event. In order to avoid noise
effects, the dead-time counter channel 0 is started after an edge has been detected at the hall
inputs. On reaching the value of 000001
B
, the hall inputs are sampled and the pattern comparison
is done.
1001
B
Hysteresis-like control mode with dead-time generation:
The negative edge of the CCPOSx input signal is used to reset bit CC6nST. As a result, the output
signals can be switched to passive state immediately and switch back to active state (with dead-
time) if the CCPOSx is high and the bit CC6nST is set by a compare event.
Table 296 Multi-Input
Capture
Modes
Description
1010
B
The timer value of T12 is stored in CC6nR after a rising edge at the input pin CC6n. The timer value
of T12 is stored in CC6nSR after a falling edge at the input pin CCPOSx.
1011
B
The timer value of T12 is stored in CC6nR after a falling edge at the input pin CC6n. The timer value
of T12 is stored in CC6nSR after a rising edge at the input pin CCPOSx.
1100
B
The timer value of T12 is stored in CC6nR after a rising edge at the input pin CC6n. The timer value
of T12 is stored in CC6nSR after a rising edge at the input pin CCPOSx.
1101
B
The timer value of T12 is stored in CC6nR after a falling edge at the input pin CC6n. The timer value
of T12 is stored in CC6nSR after a falling edge at the input pin CCPOSx.
1110
B
The timer value of T12 is stored in CC6nR after any edge at the input pin CC6n. The timer value of
T12 is stored in CC6nSR after any edge at the input pin CCPOSx.
1111
B
reserved (no capture or compare action)