Greetings,
Kudos for implementing a no glitch version of PWM with and without using timeslot.
github.com/.../nrf_pwm_noglitch.c.
Could the reasoning for the following be explained with the above PWM driver:
- Why is
pwm_max_value
andpwm_value
multiplied by 2 used for the timer instead of just these values? - Disabling of the PPI channels done in the IRQ routine? Could waiting for 1.5 or 2 times the PWM cycle work?
Also does this implementation have the infamous bug of the polarity inverting at times as mentioned in other posts in this forum? Thanks!