st7fmc2s7t6 STMicroelectronics, st7fmc2s7t6 Datasheet - Page 176

no-image

st7fmc2s7t6

Manufacturer Part Number
st7fmc2s7t6
Description
8-bit Mcu With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, Five Timers, Spi, Linsci
Manufacturer
STMicroelectronics
Datasheet
ST7MC1/ST7MC2
MOTOR CONTROLLER (Cont’d)
Figure 96. Simulated commutation event generation with only 1 Hall effect sensor (SC bit =1)
Note: If the SC bit is set during Z event interrupt,
then the 8*8 bit hardware multiplication result must
be overwritten in the MCOMP register. Otherwise,
Figure 97. Simulated commutation and Z event
176/308
1
in MCOMP-->C
with MTIM once written
hardware multiplication is put
the result of the
SC bit is reset
Z
C
H
Z
After C interrupt
MCOMP is written for C
if MCOMP<=MTIM
Immediate C
C
H
H
and compared
SC set in MCRC
C interrupt
D
C
S
S
generation
C
S
SC bit is set during Z IT
the hardware multiplication is taken
into account but the value in MCOMP
can be overwritten
D
s
event
Z
MCOMP
register
C
s
Z
D
C
H
SC reset in MCRB
Next C event = C
C interrupt
C
when the SC bit is set, the result of the multiplica-
tion is not taken into account after a Z event.
S
C
S
D
H
Z
Z zero-crossing event
D Demagnetisation event
C
C
with 8*8 bit multiplication
H
S
Simulated commutation
Hardware commutation
C
s
SC bit is already set when Z IT
occurs. The hardware multipli-
-cation is not taken into account
A value has to be written
in the MCOMP register
Z
Z zero-crossing event
D Demagnetisation event
C
C
H
S
Simulated commutation
D
Hardware commutation
Z
t
t

Related parts for st7fmc2s7t6