ST7FMC1K2B3 STMICROELECTRONICS [STMicroelectronics], ST7FMC1K2B3 Datasheet - Page 185

no-image

ST7FMC1K2B3

Manufacturer Part Number
ST7FMC1K2B3
Description
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
MOTOR CONTROLLER (Cont’d)
10.6.7.6 Summary
The use of the Delay manager registers for the
various available modes is summarized in
42.
Table 42. MTIM Timer-related Registers
10.6.8 PWM Manager
The PWM manager controls the motor via the six
output channels in voltage mode or current mode
depending on the V0C1 bit in the MCRA register.
A block diagram of this part is given in
10.6.8.1 Voltage Mode
In Voltage mode (V0C1 bit = ”0”), the PWM signal
which is applied to the switches is generated by
the 12-bit PWM Generator compare U.
Its duty cycle is programmed by software (refer to
the PWM Generator section) as required by the
application (speed regulation for example).
The current comparator is used for safety purpos-
es as a current limitation. For this feature, the de-
tected current must be present on the MCCFI pin
and the current limitation must be present on pin
MCCREF. This current limitation is fixed by a volt-
MCOMP
MDREG
MZREG
MZPRV
MTIML
Name
MTIM
Reset Value
00h
00h
00h
00h
00h
00h
Switched / Auto Switched Mode
Figure
Capture/compare Zn
Demagnetization Dn
Table
106.
Compare Cn+1
Capture Zn-1
Timer Value
N/A
age reference depending on the maximum current
acceptable for the motor. This current limitation is
generated with the V
external resistor divider but can also be adjusted
with an external reference voltage (≤ 5 V). The ex-
ternal components are adjusted by the user de-
pending on the application needs. In Voltage
mode, it is mandatory to set a current limitation. As
this limitation is set for safety purposes, an inter-
rupt can be generated when the motor current
feedback reaches the current limitation in voltage
mode. This is the current limitation interrupt and it
is enabled by setting the corresponding CLM bit in
the MIMR register. This is useful in voltage mode
for security purposes.
The PWM signal is directed to the channel manag-
er that connects it to the programmed outputs (see
Figure
106).
Capture of 16-bit Timer MSB
Speed Measurement Mode
Capture of 16-bit Timer LSB
DD
Compare for Speed Error
16-bit Timer MSB Value
16-bit Timer LSB Value
ST7MC1xx/ST7MC2xx
interrupt generation
voltage by means of an
N/A
185/309
1

Related parts for ST7FMC1K2B3