SAMD51 counting in stand by mode

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello, I have the following problem.

I have have my custom board with a SAMD51. 

The board is always in stand by and count pulse on PA11. 

To count pulse Ext int 11 event is redirected to TC0, In this way the counter count pulse also in stand by mode,

 

Now, in order to reduce consumption as low as possible I have to wake up the cpu evey 30 sec only if counter is not 0.

Il counter is 0 the cpu can remain in stand by and wake up at the next input pulse.

 

Is this possible or i need to wake up every 30 sec to read counter register ?

Thanks