5 Replies Latest reply on Jun 16, 2015 10:21 AM by user_322064261

    My Counter wont count!

    user_322064261

      So I have a simple program, as soon as a GPIO goes high it fires an interrupt which reloads a counter, when the GPIO goes low again it firest another interrupt which reads the counter.

         

       

         

      I have checked using a logic analyser that the interrupts are firing correctly but for some reason the counter value never changes, I am feeding it an 11ms signal and a 1MHZ clock so I am expecting the counter to read 65535-11000 = 54535 but it is reading zero. Help

         

       

         

      Bundle is attached