资料介绍
The PIC17C42 is equipped with two high frequency
Pulse Width Modulation (PWM) outputs. In a pulse
width modulated signal the period of the signal is
(usually) kept fixed, while the duty cycle is varied. In this
application note, we will discuss options in selecting
PWM frequency and resolution.
This application note assumes that the internal clock is
used for the time-base, which is typically the preferred
setup. Also, throughout this application note, PWM1
output is used in examples, Timer1 is assumed to be
the time-base. AN539
Frequency and Resolution Options for PWM Outputs
(PR1 = 18h), then PWM frequency is:
Authors: Stan D’Souza and Sumit Mitra
1/(100 x 62.5) ns = 160 kHz.
Microchip Technology Inc.
Note however that the duty cycle resolution is a little
INTRODUCTION less than 7-bits.
Useful and Common PWM Modes
The PIC17C42 is equipped with two high frequency
Pulse Width Modu