English
Language : 

EFM32WG Datasheet, PDF (530/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
RPWMup = log(TOP+1)/log(2)
(20.3)
The PWM frequency is given by Equation 20.4 (p. 530) :
TIMER Up-count PWM Frequency Equation
fPWMup/down = fHFPERCLK/ ( 2^PRESC x (TOP + 1)
The high duty cycle is given by Equation 20.5 (p. 530)
(20.4)
TIMER Up-count Duty Cycle Equation
DSup = CCVx/TOP
(20.5)
20.3.2.6.1 2x Count Mode
When the Timer is set in 2x mode, the TIMER will count up by two. This will in effect make any odd Top
value be rounded down to the closest even number. Similarly, any odd CC value will generate a match
on the closest lower even value as shown in Figure 20.19 (p. 530)
Figure 20.19. TIMER CC out in 2x mode
Clock
02 4 0 2 4 0
02 4 0 2 4 0
CC Out
Top = 5
CC = 1
Top = 5
CC = 2
The mode is enabled by setting the X2CNT field in TIMERn_CTRL register. The intended use of the
2x mode is to generate 2x PWM frequency when the Compare/Capture channel is put in PWM mode.
Since the PWM output is updated on both edges of the clock, frequency prescaling will result in incorrect
result in this mode. The PWM resolution (in bits) is then given by Equation 20.6 (p. 530) .
TIMER 2x PWM Resolution Equation
RPWM2xmode = log(TOP/2+1)/log(2)
The PWM frequency is given by Equation 20.7 (p. 530) :
(20.6)
TIMER 2x Mode PWM Frequency Equation( Up-count)
fPWM2xmode = 2 x fHFPERCLK/ floor(TOP/2)+1
The high duty cycle is given by Equation 20.8 (p. 530)
(20.7)
TIMER 2x Mode Duty Cycle Equation
DS2xmode = CCVx/TOP
(20.8)
2013-05-08 - Wonder Gecko Family - d0233_Rev0.50
530
www.energymicro.com