I have encountered two issues while using the NRF PWM driver on the nRF52 DK, with or without SoftDevice S132, along with SDK v11.0.0
The first one is the use of the NRF_DRV_PWM_PIN_INVERTED flag. Looking at the oscilloscope, I don't see the waveform's polarity changed, whether I OR the pin output number with the flag or not.
The second is stepping through a looped sequence. I never see the last duty value of my sequence being applied.
What could be going wrong, or what could I be missing here?
Below is the main.c I used to produce the issues without SoftDevice. It should run by just replacing main.c in peripheral\pwm_driver example. main.c