AT32F425
Series Reference Manual
2022.03.30
Page 227
Ver 2.01
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-57
Complementary output with dead-time insertion
Delay
Delay
C1ORAW
C1OUT
C1COUT
14.4.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
CxCIOS bits are used to program the level after dead-time. Even in this case, the CxIOS and
CxCIOS cannot be driven to their actival level a the same time. It should be note that because
of synchronization on OEN, the dead-time duration is usually longer than usual (around 2
clk_tmr clock cycles)
―
If FCSODIS=0, the timer releases the enable output, otherwise, it keeps the enable output; the
enable output becomes high as soon as one of the CxEN and CxCEN bits becomes high.
If the break interrupt or DMA request is enabled, the break statue flag is set, and a break
interrupt or DMA request can be generated.
If AOEN=1, the OEN bit is automatically set again at the next overflow event.
Note: When the break input is active, the OEN cannot be set, nor the status flag, BRKIF can be
cleared.