st7fmc2s7t6 STMicroelectronics, st7fmc2s7t6 Datasheet - Page 217

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)
PWM CONTROL REGISTER (MPCR)
Read/Write
Reset Value: 0000 0000 (00h)
Bit 7 = PMS: PWM Mode Selection.
0: Standard mode: bit b7 in the MCPxH register
1: “8-bit” mode: bit b7 (extension bit) in the MCPxH
Bit 6 = OVFU: Phase U 100% duty cycle Selec-
tion.
0: Duty cycle defined by MCPUH:MCPUL register.
1: Duty cycle set at 100% on phase U at next up-
Bit 5 = OVFV: Phase V 100% duty cycle Selection.
0: Duty cycle defined by MCPVH:MCPVL register.
1: Duty cycle set at 100% on phase V at next up-
PMS
represents the extension bit.
register is located in the MPCR register (OVFx
bits); the number of active bits in MCPxH and
MCPxL is decreased to b15:b8 instead of
b15:b3.
date event and maintained till the next one. This
bit is reset once transferred to the active register
on update event.
date event and maintained till the next one. This
bit is reset once transferred to the active register
on update event.
7
OVFU OVFV OVFW CMS PCP2
PCP1
PCP0
0
Bit 4 = OVFW: Phase W 100% duty cycle Selec-
tion.
0: Duty cycle defined by MCPWH:MCPWL regis-
1: Duty cycle set at 100% on phase W at next up-
Bit 3 = CMS: PWM Counter Mode Selection.
0: Edge-aligned mode
1: Center-aligned mode
Bits 2:0 = PCP[2:0] PWM counter prescaler value.
This value divides the F
N is PCP[2:0] value.
frequency of the PWM counter input clock.
Table 73. PWM clock prescaler
PCP2
ter.
date event and maintained till the next one. This
bit is reset once transferred to the active register
on update event.
0
0
0
0
1
1
1
1
PCP1
0
0
1
1
0
0
1
1
PCP0 PWM counter input clock
0
1
0
1
0
1
0
1
Table 73
mtc
frequency by N, where
ST7MC1/ST7MC2
shows the resulting
F
F
F
F
F
F
F
F
mtc
mtc
mtc
mtc
mtc
mtc
mtc
mtc
/2
/3
/4
/5
/6
/7
/8
217/308

Related parts for st7fmc2s7t6