113
MC95FG308 / MC95FG208
ABOV Semiconductor Co., Ltd.
Figure 11.35
Example of PWM at 4MHz
Figure 11.36
Example of Changing the Period in Absolute Duty Cycle at 4Mhz
11.5.2.7
8-bit (16-bit) Compare Output Mode
If the T3 (T2+T3) value and the T3DR (T2DR+T3DR) value are matched, T3/PWM3 port outputs. The output is 50:50
of duty square wave, the frequency is following
)
1
(
Value
Prescaler
2
Frequency
Oscillator
TDR
COMP
f
To export the compare output as T3/PWM3, the T3_PE bit in the T3PWHR register must set to ‘1’.
T3
00 01 02 03 04
T3/PWM
POL = 1
T3CR[1:0] = 10
H
(2us)
T3PWHR = 00
H
T3PPR = 0E
H
T3PDR = 05
H
09
08
07
06
05
0D
0C
0B
0A
02
01
00
0E
06
05
04
03
0A
09
08
07
03
02
01
00
05
04
Source Clock
(f
X
)
06
Duty Cycle
(1+05
H
)X2us = 12us
Duty Cycle
(1+05
H
)X2us = 12us
Duty Cycle
(1+05
H
)X2us = 12us
Period Cycle
(1+0E
H
)X2us = 32us
31.25kHz
Period Cycle
(1+0A
H
)X2us = 22us
45.5kHz
Write 0A
H
to T3PPR
Source Clock
(f
X
)
Duty Cycle(1+80
H
)X250ns = 32.25us
T3
00
01
02
03
04
7F
80
81
82
3FF
00
01
02
T3/PWM3
POL = 1
T3/PWM3
POL = 0
Period Cycle(1+3FF
H
)X250ns = 256us
3.9kHz
T3PPR(8-bit)
T3PDR(8-bit)
PW3H3
PW3H2
PW3H1
PW3H0
1
1
FF
H
0
0
80
H
T3CR[1:0] = 00
H
(f
XIN
)
T3PWHR = 03
H
T3PPR = FF
H
T3PDR = 80
H
Содержание MC95FG208 Series
Страница 14: ...14 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 32 Pin SOP Package...
Страница 15: ...15 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 2 32 Pin QFN Package...
Страница 16: ...16 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 3 32 Pin LQFP Package...
Страница 17: ...17 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 4 28 Pin SOP Package...
Страница 18: ...18 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 5 28 Pin SOP Package continue...
Страница 19: ...19 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 6 28 Pin SOP Package...
Страница 20: ...20 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 7 28 Pin TSSOP Package...
Страница 21: ...21 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 8 20 Pin SOP Package...
Страница 22: ...22 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 9 20 Pin TSSOP Package...
Страница 23: ...23 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 10 16 Pin SOP Package...
Страница 24: ...24 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 11 16 Pin TSSOP Package...