Silicon Laboratories EFR32xG14 Wireless Gecko Reference Manual page 667

Table of Contents

Advertisement

20.3.2.11 Up/Down-count (Dual-slope) PWM
If the counter is set to up-down count and the Compare/Capture channel is put in PWM mode, dual slope PWM output will be generated
by
Figure 20.29 TIMER/WTIMER Up/Down-count PWM Generation on page
ER/WTIMER Up/Down-count PWM Resolution Equation on page
Figure 20.30. TIMER/WTIMER Up/Down-count PWM Resolution Equation
The PWM frequency is given by
Figure 20.31. TIMER/WTIMER Up/Down-count PWM Frequency Equation
The high duty cycle is given by
The figure below provides cycle accurate timing and event generation information for up-count mode.
TIMn_CCx
TIMERn_TOP =
TIMERn_CCx_CCV =
Overflow
Compare match
Buffer update
silabs.com | Building a more connected world.
TIMn_CCx
TIMERn_TOP
TIMERn_CCx_CCV
0
Compare match
Overflow
Buffer update
Figure 20.29. TIMER/WTIMER Up/Down-count PWM Generation
R
PWM
up/down
Figure 20.31 TIMER/WTIMER Up/Down-count PWM Frequency Equation on page
f
= f
PWM
HFPERCLK
up/down
Figure 20.32 TIMER/WTIMER Up/Down-count Duty Cycle Equation on page 667
DS
Figure 20.32. TIMER/WTIMER Up/Down-count Duty Cycle Equation
4
3
2
1
0
Figure 20.33. TIMER/WTIMER Up/Down-count PWM Generation
667.The resolution (in bits) is given by
667.
= log(TOP+1)/log(2)
/ ( 2^(PRESC+1) x TOP))
= CCVx/TOP
up/down
Reference Manual
TIMER/WTIMER - Timer/Counter
Figure 20.30 TIM-
667:
TIMERn_CCx
Rev. 1.1 | 667

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EFR32xG14 Wireless Gecko and is the answer not in the manual?

Table of Contents