Skip to main content
Visitor II
June 13, 2006
Question

PWM output on T1_OCMPB

  • June 13, 2006
  • 2 replies
  • 769 views
Posted on June 13, 2006 at 10:20

PWM output on T1_OCMPB

    This topic has been closed for replies.

    2 replies

    Visitor II
    June 13, 2006
    Posted on June 13, 2006 at 09:34

    Hi!

    I'd like to know if I could use the T1_OCMPB pin (1.6) as an output PWM pin instead of the T1_OCMPA pin? I didn't manage to get it toggling.

    Thanks

    Visitor II
    June 13, 2006
    Posted on June 13, 2006 at 10:20

    I don't think you can use OCMPB pin. Datasheet said only OCMPA pin for output PWM : it's certainly due to implementation of timer.

    If you need absolutely use OCMPB pin with a PWM signal, you can create this signal using 2 output compare Register and interrupt !