0 Replies Latest reply on Apr 14, 2010 3:56 PM by user_35297604

    PWM Interrupt

    user_35297604

      I am trying to use the PWM interrupt out to generate an interrupt on both the tc and compare 1 events.  I only get what appears to be an interrupt on the tc event no matter what interrupt source box is checked (tc, compare 1, or both).

         

      The PWM is configured as:  8 bit, one output, period = 49, compare1 = 25, 2-256 deadband = 19, implementation = UBD, enable mode = software only, run mode = continuous, trigger mode = none, kill mode = disabled, capture mode = none, Interrupt on Terminal Count is checked, Interrupt on Compare 1 is checked, all other sources are grayed out.

         

      I have an isr function tied to the interrupt out terminal on the PWM.

         

      Thanks!