I'm trying to measure the frequency of a square wave signal at the input of a GPIO (its somewhere between ~ 30kHz and 60kHz and will be pretty steady for the duration of my measurement, which should only take a second or two) and then convert this to a DC voltage in the range 0-3.3Vdc, via a PWM signal on an output (via some low pass filtering on my hardware)
I'm using v2.2.0 of NCS and an nRF52832
There is a thread here that gives an overview of how to go about the frequency measurement side of things, an even includes the code that was written to achieve this. But the code all seems specific to SDK (not sure what version they were using)
I've had a look at the nrfx example that toggles a LED whenever a button is pressed, but its not really cleared up how I go about utilising the GPIOTE and PPI functionality using NCS.
Can anyone give me a bit of guidance as to how I can get going with GPIOTE and PPI with NCS?
Cheers,
Mike