1 Reply Latest reply on Jun 29, 2015 12:09 PM by user_1377889

    5 Time Counters

    val.ojda

      Hi

         

      I have CY8CKIT PSoC 5LP KIT and I want to measure time between 6 signals that coming on 6 different pins.

         

      First signal is TR. When TR happened (rising edge) 5 time counters start.

         

      When MP1 happened (rising edge) first counter stop.

         

      When MP2 happened (rising edge) counter 2 stop.

         

      All same to MP5.

         

      After 100 ms send 5 time values ( number in ms) to COM Port (RS232).

         

      If I have 2 TR before MP that counter send message AAAAAAAA.

         

      If MP don't happened 100 ms after TR that counter send message CCCCCCCC.

         

      I am new to PSoC and don't have C code experience.

         

      Can somebody help me with this?

         

      Thanks

         

      Val