AT32F425
Series Reference Manual
2022.03.30
Page 244
Ver 2.01
Figure 14-72
One-pulse mode
0
1
2
3
4
5
6
...
40
41
42
43
44
...
5F
60
61
0
COUNTER
61
PR[15
:
0]
42
C1DT[15
:
0]
TRGIN
C1ORAW
C1OUT
Dead-time insertion
The channel 1 of the TMR16 and TMR17 timers contains a set of reverse channel output. This function
is enabled by the CxCEN bit and its polarity is defined by CxCP. Refer to Table 14-17
for more information
about the output state of CxOUT and CxCOUT.
The dead-time is activated when switching to IDLEF state (OEN falling down to 0).
Setting both CxEN and CxCEN bits, and using DTC[7:0] bit to insert dead-time of different durations.
After the dead-time insertion, the rising edge of the CxOUT is delayed compared to the rising edge of
the reference signal; the rising edge of the CxCOU is delayed compared to the falling edge of the
reference signal.
If the delay is greater than the width of the active output, and if C1OUT and C1COUT are to generate
corresponding pulses, the dead-time should be less than the width of the active output.
gives an example of dead-time insertion when CxP=0, CxCP=0, OEN=1, CxEN=1 and
CxCEN=1.
Figure 14-73
Complementary output with dead-time insertion
Delay
Delay
C1ORAW
C1OUT
C1COUT
14.5.3.5 TMR break function
When the break function is enabled (BRKEN=1), the CxOUT
和
CxCOUT are jointly controlled by OEN,
FCSODIS, FCSOEN, CxIOS and CxCIOS. But, CxOUT and CxCOUT cannot be set both to active level
at the same time. Please refer to 14-15 for more details.
The break souce can be the break input pin or a clock failure event. The polarity is controlled by the
BRKV bit.
When a break event occurs, there are the following actions:
The OEN bit is cleared asynchronously, and the channel output state is selected by setting the
FCSODIS bit. This function works even if the MCU oscillator is off.
Once OEN=0, the channel output level is defined by the CxIOS bit. If FCSODIS=0, the timer
output is disabled, otherwise, the output enable remains high.
When complementary outputs are used:
―
The outputs are first put in reset state, that is, inactive state (depending on the polarity). This
is done asynchronously so that it works even if no clock is provided to the timer.
―
If the timer clock is still active, then the dead-time generator is activated. The CxIOS and