English
Language : 

EFM32WG Datasheet, PDF (534/834 Pages) List of Unclassifed Manufacturers – The EFM32WG Wonder Gecko is the ideal choice for demanding 8-, 16-, and 32-bit energy sensitive applications.
...the world's most energy friendly microcontrollers
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
DTIPOL = 0 TIM0_CC0
DTCINV = 0
TIM0 _CD TI0
DTIPOL = 1 TIM0_CC0
DTCINV = 0
TIM0 _CD TI0
DTIPOL = 0 TIM0_CC0
DTCINV = 1
TIM0 _CD TI0
DTIPOL = 1 TIM0_CC0
DTCINV = 1
TIM0 _CD TI0
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 2DTPRESC 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.
The fault sources which trigger a fault in the DTI module are determined by TIMER0_DTFSEN. Any
combination of the available error sources can be selected:
• PRS source 0, determined by DTPRS0FSEL in TIMER0_DTFC
2013-05-08 - Wonder Gecko Family - d0233_Rev0.50
534
www.energymicro.com