pulse counting with GPIOTE, PPI and TIMER

Hello, 

I am trying to count pulses on nRF52840 DK's pin for measuring water flow with hall effect sensor. I tried to implement PPI + GPIOTE + TIMER in counter mode, but it looks like values in capture register are just some garbage data. I am working with NCS v3.0.2 in VS Code. My project is in attachements. Can you please look at my code and point me in some direction so I can fix it?

one_to_one_gppi.zip

Thank you for your time,

Pepam

Related