st7fmc2s7t6 STMicroelectronics, st7fmc2s7t6 Datasheet - Page 173
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
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
1.ST7FMC2S7T6.pdf
(308 pages)
- Current page: 173 of 308
- Download datasheet (5Mb)
MOTOR CONTROLLER (Cont’d)
Note on using the auto-updated MTIM timer:
The auto-updated MTIM timer works accurately
within its operating range but some care has to be
taken when processing timer-dependent data such
as the step duration for regulation or demagnetiza-
tion.
For example if an overflow occurs when calculat-
ing
(MCOMP+demagnetisation_time>FFh), the value
that is stored in MDREG will be:
80h+(MCOMP+demagnetization_time-FFh)/2.
Note on commutation interrupts: It is good prac-
tice to modify the configuration for the next step as
soon as possible, i.e within the commutation inter-
rupt routine.
All registers that need to be changed at each step
have a preload register that enables the modifica-
tions for a complete new configuration to be per-
formed at the same time (at C event in normal
mode or when writing the MPHST register in direct
access mode).
a
simulated
end
of
demagnetization
These configuration bits are:
CPB, HDM, SDM and OS2 in the MCRB register
and IS[1:0], OO[5:0] in the MPHST register.
Note on initializing the MTC: As shown in
all the MTIM timer registers are in read-write mode
until the MTC clock is enabled (with the CKE bit).
This allows the timer, prescaler and compare reg-
isters to be properly initialized for start-up.
In sensorless mode, the motor has to be started in
switched mode until a BEMF voltage is present on
the inputs. This means the prescaler ST[3:0] bits
and MCOMP register have to be modified by soft-
ware. When running the ST[3:0] bits can only be
incremented / decremented, so the initial value is
very important.
When starting directly in autoswitched mode (in
sensor mode for example), write an appropriate
value in the MZREG and MZPRV register to per-
form a step calculation as soon as the clock is en-
abled.
ST7MC1/ST7MC2
Table 41
173/308
1
Related parts for st7fmc2s7t6
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![HCF4040BF](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
STMicroelectronics [RIPPLE-CARRY BINARY COUNTER/DIVIDERS]
Manufacturer:
STMicroelectronics
Datasheet:
![HCF4054BF](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
STMicroelectronics [LIQUID-CRYSTAL DISPLAY DRIVERS]
Manufacturer:
STMicroelectronics
Datasheet:
![STEVAL-MKI062V2](/photos/28/39/283999/steval-mki062v2_tmb.jpg)
Part Number:
Description:
BOARD EVAL FOR MEMS SENSORS
Manufacturer:
STMicroelectronics
Datasheet:
![BUT32V](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
NPN TRANSISTOR POWER MODULE
Manufacturer:
STMicroelectronics
Datasheet:
![STTA12006TV2](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
TURBOSWITCH ULTRA-FAST HIGH VOLTAGE DIODE
Manufacturer:
STMicroelectronics
Datasheet:
![E110NS20FD](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Manufacturer:
STMicroelectronics
Datasheet:
![MDS50-800](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
DIODE / SCR MODULE
Manufacturer:
STMicroelectronics
Datasheet:
![MDS35-800](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
DIODE / SCR MODULE
Manufacturer:
STMicroelectronics
Datasheet:
![E16N100](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Search -----> STE16N100
Manufacturer:
STMicroelectronics
Datasheet:
![E53NA50](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Search ---> STE53NA50
Manufacturer:
STMicroelectronics
Datasheet:
![BUV98AF](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
NPN Transistor Power Module
Manufacturer:
STMicroelectronics
Datasheet:
![MDS80-1200](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
DIODE / SCR MODULE
Manufacturer:
STMicroelectronics
Datasheet: