Marlin PWM frequency questions March 27, 2019 11:53AM |
Registered: 5 years ago Posts: 2 |
// SOFT_PWM_SCALE to frequency: // // 0: 16000000/64/256/128 = 7.6294 Hz // 1: / 64 = 15.2588 Hz // 2: / 32 = 30.5176 Hz // 3: / 16 = 61.0352 Hz // 4: / 8 = 122.0703 Hz // 5: / 4 = 244.1406 Hz
Re: Marlin PWM frequency questions March 27, 2019 04:08PM |
Registered: 6 years ago Posts: 265 |
Re: Marlin PWM frequency questions March 31, 2019 01:50PM |
Registered: 5 years ago Posts: 2 |
Quote
MMcLure
By default on an AVR such as RAMPS with Arduino Mega the heatbed/hotend PWM frequency is the 7.6294 Hz from the table above. You can easily see the heatbed and hotend MOSFET LEDs flashing at that rate. This makes sense since SOFT_PWM_SCALE defaults to 0.
Re: Marlin PWM frequency questions March 31, 2019 06:15PM |
Registered: 6 years ago Posts: 265 |