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

Reasoning behind nrf51-pwm-library implementation

FormerMember
FormerMember

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 and pwm_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!

Parents Reply Children
No Data
Related