English
Language : 

C868_02 Datasheet, PDF (100/244 Pages) Infineon Technologies AG – 8 - Bit CMOS Microcontroller
C868
On-Chip Peripheral Components
the sampled pattern equals to the next expected pattern the edge on CCPOSx was a
correct Hall event, the bit CHE is set which causes an interrupt and the resets T12 (for
speed measurement, see description mode ’1000’ below).
This correct Hall event can be used as a transfer request event for register MCMOUTS.
The transfer from MCMOUTS to MCMOUT transfers the new CURH-pattern as well as
the next EXPH-pattern. In case of the sampled Hall inputs were neither the current nor
the expected Hall pattern, the bit WHE (wrong Hall event) is set which also can cause
an interrupt and sets the IDLE mode clearing MCMP (modulation outputs are inactive).
To restart from IDLE the transfer request of MCMOUTS have to be initiated by software
(bit STRHP and bitfields SWSEL/SWSYN).
write by
software
6
STRHP
CURHS EXPHS
ENIDLE
OR
AND set IDLE
DTC0_1o
sampled
Hall pattern
reset_T12
CURH
3
=
EXPH
3
=
3
AND
N
A
O
N
R
D
A
N
D
MSEL6x=
’1000’
set
CHE
Correct
Hall
Event
set
WHE
Wrong
Hall
Event
Figure 4-34 Hall Logic
WHEEN
O int_event
R
CHEEN
User’s Manual
4-56
V 0.4, 2002-01