ST7FMC1K2B3 STMICROELECTRONICS [STMicroelectronics], ST7FMC1K2B3 Datasheet - Page 210

no-image

ST7FMC1K2B3

Manufacturer Part Number
ST7FMC1K2B3
Description
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
ST7MC1xx/ST7MC2xx
MOTOR CONTROLLER (Cont’d)
CONTROL REGISTER A (MCRA)
Read/Write
Reset Value: 0000 0000 (00h)
Bit 7 = MOE: Output Enable bit.
0: Outputs disabled
1: Outputs enabled
Notes:
– The reset state is either high impedance, high or
– When the MOE bit in the MCRA register is reset
Bit 6 = CKE: Clock Enable Bit.
0: Motor Control peripheral Clocks disabled
1: Motor Control peripheral Clocks enabled
Note: Clocks disabled means that all peripheral in-
ternal clocks (Delay manager, internal sampling
clock, PWM generator) are disabled. Therefore,
the peripheral can no longer detect events and the
preload registers do not operate.
When Clocks are disabled, write accesses are al-
lowed, so for example, MTIM counter register can
be reset by software.
210/309
1
MOE
low state depending on the corresponding option
bit.
(MCOx outputs in reset state), and the SR bit in
the MCRA register is reset (sensorless mode)
and the SPLG bit in the MCRC register is reset
(sampling at PWM frequency) then, depending
on the state of the ZSV bit in the MSCR register,
Z event sampling can run or be stopped (and D
event is sampled).
7
CKE
6
MOE bit
0
1
SR
5
DAC
4
V0C1
3
MCO[5:0] Output pin
Output enabled
SWA
Reset state
2
State
PZ
1
DCB
0
Table 56. Output configuration summary
Note 1: “Peripheral frozen” configuration is not
recommended, as the peripheral may be stopped
in a unknown state (depending on PWM generator
outputs,etc.). It is better practice to exit from run
mode by first setting output state (by toggling ei-
ther MOE or DAC bits) and then to disabling the
clock if needed.
Note 2: In Direct Access Mode (DAC=1), when
CKE=0 (Peripheral Clock disabled) only logical
level can be applied on the MCOx outputs when
they are enabled whereas when CKE=1 (Peripher-
al Clock enabled), a PWM signal can be applied
on them. Refer to
set-up,” on page 221
Note 3: When clocks are disabled (CKE bit reset)
while outputs are enabled (MOE bit set), the ef-
fects on the MCOx outputs where PWM signal is
applied depend on the running mode selected:
– in voltage mode (VOC1 bit=0), the MCOx out-
– in current mode (VOC1 bit=1), the MCOx outputs
In all cases, MCOx outputs where a level 1 was
applied before disabling the clocks stay at level 1.
That is why it is recommended to disable the
MCOx outputs (reset MOE bit) before disabling the
clocks. This will put all the MCOx outputs under re-
set state defined by the corresponding option bit.
CKE
bit
puts where PWM signal is applied stay at level 1.
where PWM signal is applied are put to level 0.
0
0
0
1
1
1
MOE
bit
0
1
1
0
1
1
DAC
bit
0
1
0
1
x
x
Peripheral
Table 74, “DeadTime generator
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Clock
Peripheral frozen (see
MPHST (PWM can be
(only logical level)
Direct access via
Direct access via
Effect on MCOx
running mode.
note 1 below)
Reset state
Reset state
Standard
applied)
MPHST
Output

Related parts for ST7FMC1K2B3