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

PWM and Softdevice Problem (SDK9.0)

Hello. I am having trouble setting up two PWM channels on nrf51822. The device is running S110 and SDK9.0.

The PWM initialization sequence looks almost identical to the one listed in this topic, so I assume it should be fine and there is no need to re-post the code (yes, I am enabling the timer in the config file). Additionally, the initialization goes fine without any errors and I can verify that the chip is outputting a pwm signal by observing the brightness of a LED attached to the configured pin.

Unfortunately, when the PWM gets active, the radios stops and the chips is not responsive. But somehow the LED remains dimmed.

I have also tried this example with the same result. This makes me believe that I am doing something conceptually wrong.

I know the description of the setup is far from clear, but I am looking for a general advice or hint. Any advises how to approach the debugging of this problem will be highly appreciated!

Related