I am using an RTC to periodically kick off a PWM pulse train. This all works beautifully, but draws far more current than expected. From what I've read, this is because the EasyDMA draws over 1mA. I think I know the answer, but want to confirm: can I drive a PWM pulse train without using DMA? I have in mind an ISR which would update the compare registers instead of DMA. This post: https://devzone.nordicsemi.com/f/nordic-q-a/37941/how-to-define-and-use-adc-and-pwm-without-dma-on-nrf52832 indicates that this is not the case.
This is the configuration code for the PWM, and the code in the RTC ISR which starts it:
...
Thanks.
Al