Skip to main content
Visitor II
June 27, 2006
Question

PWM mode -fixed frequency, 16 bit

  • June 27, 2006
  • 1 reply
  • 562 views
Posted on June 27, 2006 at 05:48

PWM mode -fixed frequency, 16 bit

    This topic has been closed for replies.

    1 reply

    raizmanAuthor
    Visitor II
    May 17, 2011
    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,