st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 282

no-image

st7pmc2s6

Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
On-chip peripherals
Caution:
Caution:
282/371
1: The PWM mode is selected via the 00[5:0] bits in the MPHST register, the OE[5:0] bits in
the MPAR register and the OS2 and OS0 bits in the MCRB register as shown in
PWM mode when SR = 1 on page
2: When driving motors with three independent pairs of complementary PWM signals
(PCN = 1), disabling the deadtime generator (DTE = 0) causes the deadtime to be null: high
and low side signals are exactly complemented.
It is therefore recommended not to disable the deadtime generator (it may damage the
power stage), unless deadtimes are inserted externally.
Polarity register (MPOL)
Table 156. MPOL register description
1. This bit always has to be configured whatever the sampling method.
2. Write-once bits; once write-accessed these bits cannot be rewritten unless the processor is reset (see
Table 157. Output channel state control
MPOL
Bit
5:0 OP[5:0]
7
6
‘Caution: Access to write-once bits’ on
ZVD
R/W
7
OP[5:0] bit
Warning:
Name
REO
ZVD
0
0
1
1
Z vs D edge polarity
Read on High or Low channel bit
Output channel polarity
REO
R/W
6
0: Zero-crossing and End of Demagnetization have opposite edges
1: Zero-crossing and End of Demagnetization have same edge
0: Read the BEMF signal on High channels
1: Read on Low channels
These bits are used together with the OO[5:0] bits in the MPHST register to control
the output channels (see
0: Output channel is Active Low
1: Output channel is Active High
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
OP[5:0] bits in the MPOL register must be configured as
required by the application before enabling the MCO[5:0]
outputs with the MOE bit in the MCRA register.
OO[5:0] bit
5
0
1
0
1
page
269.
(2)
280).
4
Table
(1)
157).
Function
Write once only
3
OP[5:0]
0 (PWM possible)
1 (PWM possible)
MCO[5:0] pin
2
1 (Off)
0 (Off)
Reset value: 0011 1111 (3Fh)
1
Table 134:
0

Related parts for st7pmc2s6