mmm, yeah it works.. but a scope attach to show few glitches... mine too.

Deeper analysis show that flicker go away if i don't turn off the PWM off before updating the duty cycle. So maybe i have those latest silicon version.. and why the datasheet no longer suggest to turn off the PWM module...

aarrrggghh