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

Pause and resume arbitrary wave generation with PWM

I'm able to generate a square wave like the one in the picture using the PWM



What I want to know is: is there a way to momentarily pause the generation of such wave and resume from where it left off?

From the tests I did, if I stop the PWM and restart it again, it will start generating the wave from the beginning. So looks like there's no way to do that since there's no method to "pause" the PWM generation in the SDK. I just want a Nordic employee to confirm my hypothesis.

Thank you so much!

Related