4 Replies Latest reply on Mar 23, 2017 10:01 AM by richard.li

    Measure time period of PWM pulse

    frodi.dam_2324141

      Hello everyone.

         

      I am a newbie at using the PSoC.
      I need to measure the time period of an external PWM signal using PSoC5, but I am finding it hard how to use the counter. How to i configure the counter, and how do I connect the ports on the counter? 
      The PWM signal varies from 500Hz to 5kHz, and I want to find the time period from rising edge on first pulse to rising edge on second pulse.

         

      Example projects would be much appreciate :)

      Regards
      Frodi