![GigaDevice Semiconductor GD32E23 Series User Manual Download Page 397](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32e23-series/gd32e23-series_user-manual_2225794397.webp)
GD32E23x User Manual
397
Complementary Parameters
Output Status
POEN
ROS
IOS
CHxEN
CHxNEN
CHx_O
CHx_ON
CHx_O output enable
CHxNP
CHx_ON output enable
1
0
0
CHx_O = CHxP
CHx_O output disable.
CHx_ON = CHxNP
CHx_ON output disable.
1
CHx_O = CHxP
CHx_O output enable
CHx_ON=OxCPRE
⊕
CHxNP
CHx_ON output enable
1
0
CHx_O=OxCPRE
⊕
CHxP
CHx_O output enable
CHx_ON = CHxNP
CHx_ON output enable.
1
CHx_O=OxCPRE
⊕
CHxP
CHx_O output enable
CHx_ON=(!OxCPRE)
⊕
CHxNP
CHx_ON output enable.
Insertion dead time for complementary PWM
The dead time insertion is enabled when both CHxEN and CHxNEN are 1
’b1, and set POEN
is also necessary. The field named DTCFG defines the dead time delay that can be used for
channel 1. The detail about the delay time, refer to the register TIMERx_CCHP.
The dead time delay insertion ensures that no two complementary signals drive the active
state at the same time.
When the channel (x) match (TIMERx counter = CHxVAL) occurs, OxCPRE will be toggled
because under PWM0 mode. At point A in the
Figure 14-80. Complementary output with
CHx_O signal remains at the low value until the end of the deadtime
delay, while CHx_ON will be cleared at once. Similarly, At point B when counter match
(counter = CHxVAL) occurs again, OxCPRE is cleared, CHx_O signal will be cleared at once,
while CHx_ON signal remains at the low value until the end of the dead time delay.
Sometimes, we can see corner cases about the dead time insertion. For example:
The dead time delay is greater than or equal to the CHx_O duty cycle, then the CHx_O
signal is always the inactive value. (as show in the
Figure 14-80. Complementary output
The dead time delay is greater than or equal to the CHx_ON duty cycle, then the CHx_ON
signal is always the inactive value.