English
Language : 

XC164-16 Datasheet, PDF (198/417 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC164-16 Derivatives
Peripheral Units (Vol. 2 of 2)
Capture/Compare Unit 6 (CAPCOM6)
CC62 Comp.
T12 Count
CC61 Comp.
0000H
CC6POS0
Hall Event captures
and resets T12
1
1
1
CC62 Compare
for Time-Out
CC61 Compare
for Phase Delay
0
0
0
CC6POS1
0
0
1
1
1
0
CC6POS2
1
0
0
0
1
1
CURH
= 101
= 001
= 011
= 010
= 110
= 100
EXPH
= 001
= 011
= 010
= 110
= 100
= ???
MCMP
CC6x
COUT6x
MCT05539
Figure 18-35 Brushless DC-Motor Control Example (all MSEL6x = 1000B)
After the detection of a valid expected Hall pattern, the T12 count value is captured into
channel 0 (representing the actual motor speed), and T12 is reset. When the timer
reaches the compare value in channel 1, the next multi-channel state is switched by
triggering the shadow transfer of bitfield MCMP (if enabled in bitfield SWEN). This trigger
event can be combined with several conditions which are necessary to implement a
noise filtering (correct Hall event) and to synchronize the next multi-channel state to the
modulation sources (avoiding spikes on the output lines). This compare function of
channel 1 can be used as a phase delay from the position sensor input signals to the
switching of the output signals, which is necessary if a sensorless back-EMF technique
is used instead of Hall sensors. The compare value in channel 2 can be used as a time-
out trigger (interrupt), indicating that the motor’s actual speed is far below the desired
destination value, which can be caused by an abnormal load change. In this mode, the
modulation of the outputs by T12 needs to be disabled (T12MODENx = 0).
User’s Manual
CAPCOM6_X, V2.0
18-54
V2.1, 2004-03