Configurable PWM frequency