Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

How to read frequency of pulse signal in GPIO pin?

I have a custom board using nRF52832, s132 softdevice and nRF5 SDK. I would like to add a new circuit on my board, that will contain a 555 timer which gives as output signal a pulse stream. The aim is to measure the frequency of the pulse. If I have undrestood correctly this is possible if I connect this output pin to a GPIO digital pin, and using PPI, GPIOTE or timer I will be able to measure the incoming frequency. My questions are:
1. What is the best way to measure the frequency of the signal? Is there any code I could use as a guide/example to help me develop this?
2. I have read in the forum that high frequency signals might cause interference in the radio signal of BLE. Is this true for all digital GPIO pins? and what exactly will be the consequences to the radio signal?

Thank you in advance. Any suggestions or alternatives are welcomed.

Related