datasheetbank_Logo
数据手册搜索引擎和 Datasheet免费下载 PDF

ST7FMC2N6B6(2004) 查看數據表(PDF) - STMicroelectronics

零件编号
产品描述 (功能)
生产厂家
ST7FMC2N6B6 Datasheet PDF : 294 Pages
First Prev 191 192 193 194 195 196 197 198 199 200 Next Last
ST7MC1/ST7MC2
MOTOR CONTROLLER (Contd)
s 12-bit Mode (PMS bit = 0 in the MPCR register)
This mode is useful for MCMP0 values ranging
from 9 bits to 12 bits. Figure 119 presents the way
Compare 0 and Compare U, V, W should be load-
ed). It requires loading two bytes in the MCMPxH
and MCMPxL registers (i.e. MCMP0, MCMPU,
MCMPV and MCMPW 16-bit registers) following
the sequence described below:
write to the MCMPxL register (LSB) first
then write to the MCMPxH register (MSB).
The 16-bit value is then ready to be transferred in
the active register as soon as an update event oc-
curs. This sequence is necessary to avoid poten-
tial conflicts with update interrupts causing the
hardware transfer from preload to active registers:
if an update event occurs in the middle of the
above sequence, the update is effective only when
the MSB has been written.
s 8-bit PWM mode (PMS bit = 1 in MPCR register)
This mode is useful whenever the MCMP0 value is
less or equal to 8-bits. It allows significant CPU re-
source savings when computing three-phase duty
cycles during PWM interrupt routines. In this
mode, the Compare 0 and Compare U, V, W reg-
isters have the same size (8 bits). The extension of
the MCMPx registers is done in using the OVFx
bits in the MPCR register (refer to Figure 119).
These bits force the related duty-cycles to 100%
and are reset by hardware on occurence of a
PWM update event.
Note about read access to registers with
preload: during read accesses, values read are
the content of the preload registers, not the active
registers.
Note about compare register active bit loca-
tions: the 13 active bits of the MCMPx registers
are left-aligned. This allows temporary calculations
to be done with 16-bit precision, round-up is done
automatically to the 13-bit format when loading the
values of the MCMPx registers.
Note about MCMP0x registers: the configuration
MCMP0H=MCMP0L=0 is not allowed
Figure 119. Comparison between 12-bit and 8-bit PWM mode
12-bit PWM mode
(PMS bit = 0)
b7
MCMP0H
b7
Ext
MCMPxH
b0 b7
MCMP0L
b0 b7
MCMPxL
b0
PWM frequency
set-up
b0
Phase x duty
cycle set-up
8-bit PWM mode
(PMS bit = 1)
b7
MCMP0H
b7
OvfX
MCMPxH
b7
OvfU OvfV OvfW
MPCR
b0 b7
MCMP0L
b0 b7
MCMPxL
b0
b0
PWM frequency
set-up
b0
Phase x duty
cycle set-up
Equivalent bit location
Ext Bit extending comparison range
Bit not available
200/294
1

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]