This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

measuring input GPIO pin frequency with soft device running

Hello,

is it possible to measure frequency from 1Hz up to 400kHz (50% duty cycle) on gpio pin having soft device enabled with Peripheral functionality? The measurement will be invoked on demand by the connected central device. I will use nRF51822, rev. 3, S110 or S130, SDK 8 or 9.

If this is not possible, please tell me if following scenario would be ok:

  • invoke measurement
  • disable soft device (disconnection from central)
  • manage measurement (what's the best way: which timer?, PPI? GPIOTE?)
  • enable soft device

Thank you!

btw, what is the maximum frequency that can be measure on gpio pin?

Related