I am interested in using an Arduino Uno to produce an analog signal by running PWM through an RC low-pass filter.
I'll be controlling a highly dynamic object and need a clean voltage signal to avoid instabilities. Per this calculator on RC designs, it's suggested that one strategy to reducing voltage ripple is to increase the PWM frequency.
With PWM configured to a default of 980Hz for pins 5 and 6, and PWM of 490Hz for the remaining pins, I've decided that this will create too much voltage ripple for my filter. I've found resources that describe how to configure the registers to increase the PWM frequency rather drastically.
My question is very simple: Are there any disadvantages to using a higher frequency PWM? Why is the default set to be so slow?
Thank you!