cancel
Showing results for 
Search instead for 
Did you mean: 

counting pulses on timer while in stop mode

zsmith
Associate II
Posted on May 26, 2009 at 09:26

counting pulses on timer while in stop mode

2 REPLIES 2
zsmith
Associate II
Posted on May 17, 2011 at 13:11

I need to be able to go into stop mode (low power) and still count pulses coming in from an external source.

I set up TIM1 (also tried TIM2) to use an external clock source and it doesn't continue to count when I go into stop mode.

Is this possible?, to count pulses from an external clock source when in stop mode?

ngaylard
Associate II
Posted on May 17, 2011 at 13:11

Quote:

On 05-05-2009 at 22:52, Anonymous wrote:

I need to be able to go into stop mode (low power) and still count pulses coming in from an external source.

I set up TIM1 (also tried TIM2) to use an external clock source and it doesn't continue to count when I go into stop mode.

Is this possible?, to count pulses from an external clock source when in stop mode?

If you have resolved this I would be interested as I need to do this in the next few weeks. If you haven't I intend to use external interrupts which are listed as wake-sources from stop mode (I have used successfully in the past). I will update as I make progress.