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

nrf pwm library increases current consumption

Hi, I am using nrf pwm library from here: github.com/.../nrf51-pwm-library. I am driving two gpios for a piezo buzzer.

I call pwm_init(), then use the call set_frequency_and_duty_cycle() to start pwm. To stop, I call nrf_pwm_set_enabled(false)

The buzzer starts and stops fine. However, after calling nrf_pwm_set_enabled(false), the current consumption is now increased by 300 micro amps.

How do I decrease the current consumption?

Related