5 Replies Latest reply on Jan 2, 2017 7:27 AM by vsrs

    PSoC4 TCPWM Counter Mode Interrupt Trigger on Capture

    jane.yang

      I have an application needs to measure the pulse width. I used the demo code PWMexample as a start. I added a TCPWM counter component to try to measure the pulse width of the PWM signal. Hope that the counter will start at the rising edge and capture at the falling edge so by reading the capture register I can get the pulse width. But the problem here is: whenever I added start or reload input to the component, the capture won't trigger the interrupt.

         

      Does anyone knows what I missed?