User Manual
559
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Capture/Compare Unit 6 (CCU6)
Figure 158 Brushless DC-Motor Control Example (all MSEL6x = 1000
B
)
After the detection of an expected Hall pattern (CM_CHE active), the T12 count value is captured into channel
CC60 (representing the actual rotor speed by measuring the elapsed time between the last two correct Hall
events), and T12 is reset. When the timer reaches the compare value in channel CC61, the next multi-channel
state is switched by triggering the shadow transfer of bit field MCMP (if enabled in bit field
SWEN
). This trigger
event can be combined with the synchronization of the next multi-channel state to the PWM source (to avoid
spikes on the output lines, see
). This compare function of channel CC61 can be used as a phase
delay from the position sensor input signals to the switching of the output signals, that is necessary if a
sensorless back-EMF technique or Hall sensors are used. The compare value in channel CC62 can be used as a
time-out trigger (interrupt), indicating that the actual motor speed is far below the desired destination value.
An abnormal load change can be detected with this feature and PWM generation can be disabled.
CCU6_MCT05539
COUT6y
CC62 Comp.
CC6x
MCMP
EXPH
CURH
= 011
= 001
= 110
= 010
= 100
= 001
= 101
= 010
= 011
= 110
CCPOS2
1
0
0
0
1
CCPOS1
0
0
1
1
1
CCPOS0
1
1
1
0
0
0000
H
CC61 Comp.
T12 Count
Hall Event captures
and resets T12
CC62 Compare
for Time-Out
CC61 Compare
for Phase Delay
Phase Delay