User Manual
558
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Capture/Compare Unit 6 (CCU6)
18.7.4
Hall Mode for Brushless DC-Motor Control
The CCU6 provides a mode for the Timer T12 Block especially targeted for convenient control of block
commutation patterns for Brushless DC-Motors. This mode is selected by setting all T12MSEL.MSEL6x bit
fields of the three T12 Channels to 1000
B
.
In this mode, illustrated in
, channel CC60 is placed in capture mode to measure the time elapsed
between the last two correct Hall events, channel CC61 in compare mode to provide a programmable phase
delay between the Hall event and the application of a new PWM output pattern, and channel CC62 also in
compare mode as first time-out criterion. A second time-out criterion can be built by the T12 period match
event.
Figure 157 T12 Block in Hall Sensor Mode
The signal CM_CHE from the Hall compare logic is used to transfer the new compare values from the shadow
registers CC6xSR into the actual compare registers CC6xR, performs the shadow transfer for the T12 period
register, to capture the current T12 contents into register CC60R, and to clear T12.
Note:
In this mode, the shadow transfer signal T12_ST is not generated. Not all shadow bits, such as the
PSLy bits, will be transferred to their main registers. To program the main registers, SW needs to
write to these registers while Timer T12 is stopped. In this case, a SW write actualizes both registers.
CCU6_MCA05538
Comp.
= ?
Compare Register
CC61R
Compare Shadow
Register CC61SR
Comp.
= ?
Compare Register
CC62R
Compare Shadow
Register CC62SR
Counter Register
T12
f
T12
CM_CHE
Clear
CM_61
CM_62
Capture Register
CC60R
Hall Compare
Logic