1 Reply Latest reply on Jul 27, 2015 5:28 AM by DaKn_263916

    best way to count the number of failing edges?



      I have configured the SPIM component with 11 bits of Manchester data. I want to count the number of falling edges of that Manchester data. Currently have configured the Counter to do so. Counter is configured as :




      Capture Mode: Falling Edge


      Interrupt: On Capture 


      Compare mode: Less than or Equal


      Capture and count input: manchester


      Clock: sclk




      In the ISR, I want to perform action on the particular falling edge.


      What is the best way to count the falling edges of the manchester data?