Change Frequency of PWM2 and 11 in Arduino Due

I would like to change the default frequency for PWM2 and 11 from 1K to 1.2KHz and PWM5 to 20K. Please advise how to do it in Due

Thanks

There are PWM and Timer Counter libraries. See PWM_lib and TC_lib from antodom.

Or you can search in the DUE sub forum for example sketches with TC or PWM registers.

Thanks. I have studied PWM_Lib as well. Does it work on Due?