st7fmc2s7t6 STMicroelectronics, st7fmc2s7t6 Datasheet - Page 169

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
MOTOR CONTROLLER (Cont’d)
Figure 92. Step Ratio Functional Diagram
** Only in Auto-switched mode (SWA=1 in MCRA register)
MCOMP = MCOMP/2**
MZREG = MZREG / 2
MDREG = MDREG/2
MTIM Timer Overflow
Ratio = Ratio + 1
MZPRV = MZPRV/2
Counter = Counter/2
MPRSR Register
Slow-down control
Ratio < Fh?
Begin
End
Yes
MTIM Timer control over T
+1
No
-1
ST[3:0] Bits
MTIM Timer = 100h?
R-
R+
Zn < 55h?
4
ratio
Z Capture with MTIM Timer Underflow (Zn < 55h)
and register operation
2 MHz - 62.5 Hz
1 / 2Ratio
f
MDREG = MDREG x 2
PERIPH
1 / 2
MZREG = MZREG x 2
Counter = Counter x 2
MZPRV = MZPRV x 2
Ratio = Ratio - 1
Compute MCOMP
Tratio
ck
Speed-up control
Ratio > 0?
Begin
End
Yes
No
ST7MC1/ST7MC2
169/308
1

Related parts for st7fmc2s7t6