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

two GPIOTE / PPI tasks on a single pin

Hi,

We are trying to use GPIOTE / PPI to turn a MOSFET on A microseconds after an event clears a timer and to turn it off B microseconds afterwards.

It is easy to do this with a single GPIOTE toggle event, however that is not reliable and often changes to turning it off after A microseconds and on after B microseconds.

We should like to setup two GPIOTE tasks specifically to turn it on then off. Per the nRF52832 documentation that seems to be supported by the hardware, but there doesn't seem to be a way to do it using the SDK and we haven't been able to kludge it. We can use interrupts, but we want it to operate autonomously without CPU involvement.

Is there some way we can do that ? (and, if so, could official support be added to a future version of the SDK?)

Thanks,

~ Scott

Parents Reply Children
No Data
Related