cancel
Showing results for 
Search instead for 
Did you mean: 

PWM mode -fixed frequency, 16 bit

raizman
Associate
Posted on June 27, 2006 at 05:48

PWM mode -fixed frequency, 16 bit

1 REPLY 1
raizman
Associate
Posted on May 17, 2011 at 11:50

The clock input to the 16-bit up counter in the PCA block

is user-programmable.

I need it for calculate the time of the period.

fPCA0CLK = fOSC / (2 ^ PCA0PS[3:0])

Divisor range: 1, 2, 4, 8, 16... 16384, 32768

I don't understand how can I get the divisor range up to 7?

Due to the fact that I have only 3 bits in the prescaler PCA0PS[3:0].

Thank you,