7 Replies Latest reply on Jun 20, 2014 7:15 AM by user_14586677

    Counting pulse width during sleep






      In an power sensitive application, I would like to count the pulsewidth of a signal on a GPIO Pin while the PSoC3 is in sleep. The resolution doesn't need to be very high so the ILO clock @ 1kHz is more than sufficient.


      I have the system working without the sleep enabled, using either the component COUNTER and TIMER. But  when entering sleep mode, using CyPMSleep(...), the counting process stops .




      Note: with the first pin of the AND gate tied to "1" it doesn't work either.


      Any suggestions how I can fix this?