...the world's most energy friendly microcontrollers
2014-07-02 - Gecko Family - d0001_Rev1.30
289
www.silabs.com
Figure 19.24. 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.
19.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.
19.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
• PRS source 1, determined by DTPRS1FSEL in TIMER0_DTFC
• Debugger
• Core Lockup
Summary of Contents for EFM32G
Page 505: ......