I'm running into an odd problem with the PWM driver. We're using SDK 17.0.2 and the S113 softdevice on an nRF52833. We're using the PWM module to drive some LEDs.
The nRF52833 will consistently reset without hitting any of the error handlers or printing out any kind of diagnostic over RTT when PWM_CONFIG_LOG_ENABLED is set to 0. I've tried attaching a debugger to see if any __asm__("BKPT 0"); calls get hit, and none of them get hit. None of the app_error_x functions (like app_error_fault_handler) get called either. The board is being powered from a Segger J-Link and the voltage rails are rock solid, so it's not a power glitch. It's always resetting in a call to nrfx_pwm_stop.
The nRF52833 will be up and running for a little bit of time (a few seconds to a minute) when the reset happens.
But the system becomes 100% stable when PWM_CONFIG_LOG_ENABLED is set to 1, which (I think) says there's a timing issue somewhere.