High-resolution timer (HRTIM)
Compare 2
Compare 1
Roll-over
events
Push-Pull
logic
Crossbar
Set on
output
Period
Reset
HRTIM_CHx1
on
CMP1
HRTIM_CHx2
Crossbar
Set on
output
Period
Reset
HRTIM_CHx1
on
CMP2
HRTIM_CHx2
Deadtime
A deadtime insertion unit allows to generate a couple of complementary signals from a
single reference waveform, with programmable delays between active state transitions. This
is commonly used for topologies using half-bridges or full bridges. It simplifies the software:
only 1 waveform is programmed and controlled to drive two outputs.
The Dead time insertion is enabled by setting DTEN bit in HRTIM_OUTxR register. The
complementary signals are built based on the reference waveform defined for output 1,
using HRTIM_SETx1R and HRTIM_RSTx1R registers: HRTIM_SETx2R and
HRTIM_RSTx2R registers are not significant when DTEN bit is set.
Two deadtimes can be defined in relationship with the rising edge and the falling edge of the
reference waveform, as in
830/2083
Figure 194. Push-Pull with deadtime
Deadtime
rising
Negative
Deadtime falling
Figure
Deadtime
falling
Negative
Deadtime
rising
195.
RM0440 Rev 1
RM0440
MSv48356V2
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?
Questions and answers