English
Language : 

M0564LE4AE Datasheet, PDF (116/161 Pages) List of Unclassifed Manufacturers – 32-BIT MICROCONTROLLER
M0564
In Independent mode, there are mask control, brake control, polarity control and output enable
control to control output waveform as shown in Figure 6.17-12.
mask control
output enable control
brake control polarity control
MSKEN0
(TIMERx_PWMMSKEN[0])
TIMERx_PWMBRKCTL[15:0]
PINV0
POEN0
(TIMERx_PWMPOLCTL[0]) (TIMErx_PWMPOEN[0])
Pulse
Generator
Mask Data
Brake
MSKDAT0
BRKAEVEN
(TIMERx_PWMMSK[0]) (TIMERx_PWMBRKCTL[17:16])
Independent Mode Four Steps
Tx
(PWMx_CH0)
Figure 6.17-12 PWMx_CH0 Output Control in Independent Mode
In complementary mode, there are dead-time insertion control and four control steps the same as
independent mode to control PWMx_CH0 and PWMx_CH1 outputs as shown in Figure 6.17-13.
complementary
control dead-time insertion control
Pulse
Generator
Dead-Time
12-bits
Independent Mode
Four Steps
Tx
(PWMx_CH0)
Dead-Time
12-bits
Independent Mode
Four Steps
Tx_EXT
(PWMx_CH1)
DTEN
DTCNT
(TIMERx_PWMDTCTL[16])
(TIMERx_PWMDTCTL[11:0])
DTCKSEL
(TIMERx_PWMDTCTL[24])
Figure 6.17-13 PWMx_CH0 and PWMx_CH1 Output Control in Complementary Mode
6.17.3.15 Dead-Time Insertion Control
In the complementary application, the complement channels may drive the external devices like
power switches. The dead-time generator inserts a low level interval between complementary
outputs PWMx_CH0 and PWMx_CH1 as shown in Figure 6.17-14. User sets DTEN
(TIMERx_PWMDTCTL[16]) bit to enable dead-time control function, DTCNT
(TIMERx_PWMDTCTL[11:0]) and DTCKSEL (TIMERx_PWMDTCTL[24]) to control dead-time
interval. The dead-time interval can be calculated from the following formula:
Dead-time interval = (DTCNT + 1) * TMRx_PWMCLK period, if DTCKSEL is 0
Dead-time interval = (DTCNT + 1) * TMRx_PWMCLK * (CLKPSC + 1) period, if DTCKSEL is 1
May 05, 2017
Page 116 of 161
Rev 1.00