Skip to content

Comments

[1.1.x] Ensure good min/max stepper timing#11011

Merged
thinkyhead merged 2 commits intoMarlinFirmware:bugfix-1.1.xfrom
thinkyhead:bf1_honor_step_rate
Jun 13, 2018
Merged

[1.1.x] Ensure good min/max stepper timing#11011
thinkyhead merged 2 commits intoMarlinFirmware:bugfix-1.1.xfrom
thinkyhead:bf1_honor_step_rate

Conversation

@thinkyhead
Copy link
Member

Based on #11004 by @ejtagle


If MINIMUM_STEPPER_PULSE_TIME was 0, then the minimum period was ignored. Enforce respecting the maximum stepper rate always.

Also fix the improper calculations of timer counts to enforce that maximum stepper rate: Timer counts are not the same as instruction cycle count, so we must convert it using the pulse timer prescaler define

@thinkyhead thinkyhead force-pushed the bf1_honor_step_rate branch 3 times, most recently from 9c96776 to 4af97a9 Compare June 13, 2018 02:32
@thinkyhead thinkyhead force-pushed the bf1_honor_step_rate branch from 4af97a9 to 9d91ea4 Compare June 13, 2018 02:35
@thinkyhead thinkyhead merged commit 91976e3 into MarlinFirmware:bugfix-1.1.x Jun 13, 2018
@thinkyhead thinkyhead deleted the bf1_honor_step_rate branch June 13, 2018 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant