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

Create PWM sequence using TIMER/GPIOTE/PPI

Due to the PWM driver having intermittent issues we had to replace it with a TIMER/PPI/GPIOTE setup. The PWM is working great in this way, but now I'd like to have one of the TIMER compare values iterate through a sequence without using interrupts. I'm trying to keep the power draw to a minimum. Is there a way to do this, perhaps with EasyDMA or another method?

Thanks, Ian

Parents Reply
  • Hi Stefan,

    The intermittent issues caused the PWM to jump to 100% occasionally when using the soft device. The issue was brought up with Martin and Ole previously.

    I ended up using an app timer to do the PWM in a similar way as low_power_pwm does, as it did not need to be accurate. I was hoping to avoid using interrupts but current consumption of the LF clock is so low that this method is adequate.

    Thanks for the help, Ian

Children
No Data
Related