st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 223

no-image

st7pmc2s6

Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
recommended to write the MCOMP register during the Z interrupt routine to avoid any spurious
comparison as several consecutive C
Note that two different simulated events can be used in the same step (like D
Note also that for more precision, it is recommended to use the value captured from the preceding
hardware event to compute the value used to generate simulated events.
Figure
Figure 97. Simulated commutation event generation with only 1 hall effect sensor (SC bit = 1)
1. 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, when the SC bit is set, the result of the multiplication is not taken into account after a Z event.
96,
Figure 97
After C interrupt MCOMP is
written for C
MCOMP MTIM
immediate C
Z
SC set in MCRC
C
H
C interrupt
and
s
S
C
Figure 98
event. If
generation
S
C
S
D
shows details of simulated event generation.
s
events can be generated.
Z
C
H
C interrupt. SC reset in MCRB.
Next C event = C
C
S
C
S
D
H
with 8*8 bit multiplication.
Z
S
Z
D
C
C
H
S
followed by Z
Zero-crossing event
Demagnetization event
Hardware commutation
Simulated commutation
On-chip peripherals
S
).
223/371
t

Related parts for st7pmc2s6