st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 247

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
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
Note:
Table 110. Deadtime programming and example
The deadtime delay is the same for each of the channels and is programmable with the
DTG[5..0] bits in the MDTG register.
The resolution is variable and depends on the DTG5 and DTG4 bits.
the set-up of the deadtime generator.
IT
affected by the XT16:XT8 prescaler bits in the MCONF register).
For safety reasons, and since the deadtime depends only on external component
characteristics (level-shifter delay, power components switching duration, etc.), the register
used to set-up deadtime duration can be written only once after the MCU reset. This
prevents a corrupted program counter modifying this system critical set-up, which may
cause excessive power dissipation or destructive shoot-through in the power stage half
bridges.
When using the three independent U, V and W PWM signals (PCN bit set) (see
to drive the MCOx outputs, deadtime is added as shown in
The deadtime generator is enabled/disabled using the DTE bit.
The effect of the DTE bit depends on the PCN bit value.
If the PCN bit is set:
The reset value of the MDTG register is FFh so when configuring the deadtime, it is
mandatory to follow one the two following sequences:
1.
2.
DTG5 DTG4
mtc
0
1
1
DTE is read only. To reset it, first reset the PCN bit, then reset DTE and set PCN to 1
again.
If DTE = 0, the high and low side outputs are simply complemented (no deadtime
insertion, DTG[5:0] bits are not significant); this is to allow the use of an external
deadtime generator.
To use deadtimes while the PCN bit is set; from reset state write the MDTG value at
once. The DTE bit is read back as 1 whatever the programming value (read only if
PCN = 1)
To use deadtimes while the PCN bit is reset, write first the deadtime value in DTG[5:0],
then reset the PCN bit, or do both actions at the same time.
is the period of the deadtime generator input clock (F
X
0
1
2xT
4xT
8xT
T
dtg
mtc
mtc
mtc
(DTG[3..0]+17) x T
(DTG[4..0]+1) x T
expression
Deadtime
dtg
dtg
From 17 to 32 T
From 1 to 32 T
Deadtime
value
dtg
dtg
mtc
Figure
@ 16 MHz f
= 16 MHz in most cases, not
125ns
250ns
500ns
112.
T
dtg
Table 110
On-chip peripherals
mtc
@ 16 MHz f
0.125µs to 4µs
4.25µs to 8µs
8.5µs to 16µs
summarizes
Deadtime
Figure
range
247/371
115)
mtc

Related parts for st7pmc2s6