PWM CAPCOM1/2 XC164CS

hello

I am bit confuse about the period. How can we generate 50micro second period using CAPCOM2 in XC164CS? Can anyone hwlp me plz?

I just want to produce 50micro second period PWM or u can say 20Khz. What should be the timer reload value?

Vivek

Parents
  • Come back with some code you have written and:
    - what hardware you are running it on
    - what timer constants you have been using
    - how you computed your timer constants
    - what frequency you expected
    - what result (frequency or other result) you really got

    Then someone on this forum will be able to help you by pointing out what you did wrong.

Reply
  • Come back with some code you have written and:
    - what hardware you are running it on
    - what timer constants you have been using
    - how you computed your timer constants
    - what frequency you expected
    - what result (frequency or other result) you really got

    Then someone on this forum will be able to help you by pointing out what you did wrong.

Children
More questions in this forum