User Manual
521
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Capture/Compare Unit 6 (CCU6)
18.3.3
T12 Compare Mode
Associated with Timer T12 are three individual capture/compare channels, that can perform compare or
capture operations with regard to the contents of the T12 counter. The capture functions are explained in
18.3.3.1 Compare Channels
), the three individual compare channels CC60 CC61, and CC62 can generate
a three-phase PWM pattern.
Figure 127 T12 Channel Comparators
Each compare channel is connected to the T12 counter register via its individual equal-to comparator,
generating a match signal when the contents of the counter matches the contents of the associated compare
register. Each channel consists of the comparator and a double register structure - the actual compare register
CC6xR, feeding the comparator, and an associated shadow register CC6xSR, that is preloaded by software and
transferred into the compare register when signal T12 shadow transfer, T12_ST, gets active. Providing a
shadow register for the compare 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 of a three-phase PWM.
18.3.3.2 Channel State Bits
Associated with each (compare) channel is a State Bit, CMPSTAT.CC6xST, holding the status of the compare
(or capture) operation (see
). In compare mode, the State Bits are modified according to a set of
switching rules, depending on the current status of timer T12.
CCU6_MCA05513
Comp.
= ?
Compare Register
CC61R
Compare Shadow
Register CC61SR
Comp.
= ?
Compare Register
CC62R
Compare Shadow
Register CC62SR
Comp.
= ?
Compare Register
CC60R
Compare Shadow
Register CC60SR
Compare
Match CM_61
Compare
Match CM_62
Compare
Match CM_60
T12_ST
Counter Register
T12
f
T12