Don't use adc power saving mode, it disables all i/o modules
which makes the pwm generation stop.