User Manual
554
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Capture/Compare Unit 6 (CCU6)
18.7.1
Hall Pattern Evaluation
The Hall sensor inputs CCPOSx can be permanently monitored via an edge detection block (with the module
clock
f
CC6
). In order to suppress spikes on the Hall inputs due to noise in rugged inverter environment, two
optional noise filtering methods are supported by the Hall logic (both methods can be combined).
• Noise filtering with delay:
For this function, the mode control bit fields MSEL6x for all T12 compare channels must be programmed
to 1000
B
and DBYP = 0. The selected event triggers Dead-Time Counter 0 to generate a programmable delay
(defined by bit field DTM). When the delay has elapsed, the evaluation signal HCRDY becomes activated.
Output modulation with T12 PWM signals is not possible in this mode.
• Noise filtering by synchronization to PWM:
The Hall inputs are not permanently monitored by the edge detection block, but samples are taken only at
defined points in time during a PWM period. This can be used to sample the Hall inputs when the switching
noise (due to PWM) does not disturb the Hall input signals.
If neither the delay function of Dead-Time Counter 0 is not used for the Hall pattern evaluation nor the Hall
mode for Brushless DC-Drive control is enabled, the timer T12 block is available for PWM generation and
output modulation.
Figure 154 Hall Pattern Evaluation
If the evaluation signal HCRDY (Hall Compare Ready, see
) becomes activated, the Hall inputs are
sampled and the Hall compare logic starts the evaluation of the Hall inputs.
illustrates the events for Hall pattern evaluation and the noise filter logic,
summarizes
the selectable trigger input signals.
Table 289 Hall Sensor Mode Trigger Event Selection
HSYNC
Selected Event (see register T12MSEL)
000
B
Any edge at any of the inputs CCPOSx, independent from any PWM signal (permanent
check).
001
B
A T13 Compare-Match (CM_63).
010
B
A T13 Period-Match (T13_PM).
011
B
Hall sampling triggered by HW sources is switched off.
CCU6_MCB05553
Edge
Detect
Hall
Compare
Logic
HCRDY
C
C
P
O
S
0..2
CM_61
T12_OM
T12_PM
T13_PM
CM_63
Dead-Time
Counter 0
Hall
Inputs
Delay
Bypass
DBYP
HSYNC
Event
Selection
CDIR
Hall Pattern Evaluation
f
CC6