This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Parallel time-stamps of GPIO edges with PPI? (timer capture)

Hi, all!

Is it really possible to timestamp 4 GPIO edges in parallel with the nRF52?

It would need to be as fast as possible and some edges might be simultaneous so PPI seems to be the trick.

The documentations (PPI, GPIOTE, GPIO, TIMER) as well as these Nordic tutorial and repo give some good hope, but it's not completely clear if it can really be parrallel.

If it is, would anyone have any other example repository, tutorial, or suggestion to tackle this problem?

Also, is it right to say that the GPIO shortcut register (doesn't seem to exist) can't be connected to the TIMER shortcut register (doesn't seem to do any capture)?

So the best granularity for these timestamps would be 16MHz (62.5ns), right?

Finally, would there be any potential conflict with the soft device?

Thanks a lot for reading all of this!

Cedric ;)


PS: some of you might suggest using the cypress FPGA+MCU+BLE but it's not as power efficient so it would only be a last resort...

Related