84
MC95FG308 / MC95FG208
ABOV Semiconductor Co., Ltd.
11.5.1.6
PWM Mode
The timer 1 has a high speed PWM (pulse Width Modulation) function. In PWM mode, the 6-channel pins output up to
10-bit resolution PWM output. This pin should be configured as a PWM output by set PWM1E to ‘1’. The period of the
PWM output is determined by the T1PPR (PWM period register) + T1PHR[1:0], T1xDR (each channel PWM duty
register) + T1PHR[7:2].
PWM Period = [ T1PHR[1:0]T1PPR ] X Source Clock
PWM Duty(A-ch) = [ T1PHR[7:6] T1ADR ] X Source Clock
NOTE)
1. T1PPR must be set to higher than T1PDR for guaranteeing operation.
Resolution
Frequency
T1CK[3:0]=0001 (250ns)
T1CK[3:0]=0010 (500ns)
T1CK[3:0]=0100 (2us)
10-bit
3.9kHz
1.95kHz
0.49kHz
9-bit
7.8kHz
3.9kHz
0.98kHz
8-bit
15.6kHz
7.8kHz
1.95kHz
7-bit
31.2kHz
15.6kHz
3.91kHz
Table 11.6
PWM Frequency vs. Resolution at 8MHz
The POLx bit of T1PCR3 register decides the polarity of duty cycle. If the duty value is set same to the period value,
the PWM output is determined by the bit POLx (1: High, 0: Low). And if the duty value is set to "00H", the PWM output
is determined by the bit POLx (1: Low, 0: High). PWM output is not retain high or low but toggle.
Содержание 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...