|
dirk_999
8 posts
 Popping In
|
28-11-2011 21:24
can anyone clarify the following sentence p234
depending on the pwm frequency the resolution of the width of the pulses will vary. The lower the frequency the higher the resolution. The limit for the resolution is 10 bits.
thanks in advance
|
|

GeenBert
64 posts
 Frequent Visitor
|
29-11-2011 10:06
This is basically an ad verbum description of the formula on the next page which shows the relationship between PWM resolution and frequency.
The limit for the resolution is 10 bits, meaning the resolution that can be entered into the PWM module is 10 bits or less. The lines following your quote explains this: 8 bits are in ccpr1l and 2 bits are in ccp1con, for a total of 10 bits. So even if the formula would give a higher resolution you still cannot use more than 10 bits. This is shown as an example on the next page.
|