Question on changing PWM frequency / setPwmFrequency

Hi all!

I'm using an arduino feather m0 to control(pwm) two N channel fets. One is regulating a TEC and the other is regulating a PC fan speed. I don't have any programming questions regarding that setup, however i do get a pretty nasty whine at low-to-mid speeds with the fan, and i'm reading this can be helped by altering the pins pwm frequency.

Currently using pins 10,11,12
10,12 are the fet signals
11 is a temp sensor

What is the base frequency for pwm on the m0?

Can i use setPwmFrequency on 10 or 12?

Will changing the frequency affect anything or any other pwm control i have going on or plan to use? (i do want to add a small oled readout)

Does setPwmFrequency revert back to base if i dont call it say in another sketch?

Thanks for any ideas!

bump

You might want to have a look at the Adafruit_ZeroTimer library. There is an example for modifying the pwm frequency on pins 10 and 12 which are both controlled by Timer3.

I would also suggest working directly with Adafruit customer service or technical support as they are usually pretty good with support for their products.