...the world's most energy friendly microcontrollers
2016-04-28 - Giant Gecko Family - d0053_Rev1.20
539
www.silabs.com
Example 20.1. TIMER DTI Example 1
DTIPOL = 0 and DTCINV = 0 results in outputs with opposite phase and active-high states.
Example 20.2. TIMER DTI Example 2
DTIPOL = 1 and DTCINV = 1 results in outputs with equal phase. The primary output will be active-high,
while the complementary will be active-low
Figure 20.26. TIMER Output Polarities
Original PWM
TIM0_CC0
TIM0_CDTI0
TIM0_CC0
TIM0_CDTI0
TIM0_CC0
TIM0_CDTI0
TIM0_CC0
TIM0_CDTI0
DTIPOL = 0
DTCINV = 0
DTIPOL = 1
DTCINV = 0
DTIPOL = 0
DTCINV = 1
DTIPOL = 1
DTCINV = 1
Output generation on the individual DTI outputs can be disabled by configuring TIMER0_DTOGEN.
When output generation on an output is disabled, it will go to and stay in its inactive state.
20.3.3.2 PRS Channel as Source
A PRS channel can optionally be used as input to the DTI module instead of the PWM output from the
timer. Setting DTPRSEN in TIMER0_DTCTRL will override the source of the first DTI channel, driving
TIM0_CC0 and TIM0_CDTI0, with the value on the PRS channel. The rest of the DTI channels will
continue to be driven by the PWM output from the timer. The PRS channel to use is chosen by configuring
DTPRSSEL in TIMER0_DTCTRL. Note that the timer must be running even when PRS is used as DTI
source.
The DTI prescaler, set by DTPRESC in TIMER0_DTTIME determines with which accuracy the DTI can
insert dead-time into a PRS signal. The maximum dead-time error equals 2
DTPRESC
clock cycles. With
zero prescaling, the inserted dead-times are therefore accurate, but they may be inaccurate for larger
prescaler settings.
20.3.3.3 Fault Handling
The fault handling system of the DTI unit allows the outputs of the DTI unit to be put in a well-defined
state in case of a fault. This hardware fault handling system makes a fast reaction to faults possible,
reducing the possibility of damage to the system.
Summary of Contents for Giant Gecko EFM32GG
Page 842: ......