Skip to content

Commit 55d8dc2

Browse files
committed
increase default PWM frequency
1 parent 78d0b16 commit 55d8dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firmware/src/StepperWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ template <class T> void StepperWrapper::init(T *stepper) {
380380
TMC5160->pwm_ofs(30); // initial value: PWM amp offset
381381
}
382382
stepper->pwm_ampl(128); // user defined max PWM amp offset
383-
stepper->pwm_freq(0b01); // set PWM Frequency
383+
stepper->pwm_freq(0b10); // set PWM Frequency
384384
delay(150); // stand still for automatic tuning AT#1
385385

386386
// Chopper configuration

0 commit comments

Comments
 (0)