klipper/docs
Alex Voinea bee1c67416 tmc5160: allow changing the globalscaler at runtime
Previously, the globalscaler was calculated during the config parsing and set to a fixed value. If the current was changed for any reason after the initialization, only IRUN and IHOLD would be changed. This however caused issues:
- If the new current was lower, then the resolution of the possible current values would be low since there are only 32 IRUN/IHOLD steps.
- If the new current was higher, it wouldn't actually work since IRUN and IHOLD are capped at 31, so it wouldn't be possible to increase the current without increasing globalscaler.

With this commit, the globalscaler is recalculated whenever necessary in order to ensure the correct range of IRUN/IHOLD is used.

Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
2023-03-07 10:55:44 -05:00
..
_klipper3d docs: Add a Sponsors.md file 2022-07-16 10:48:10 -04:00
img mpu9250: add MPU6500 (#5767) 2022-11-19 09:58:24 -05:00
prints
API_Server.md docs: Add link to Moonraker in API_Server.md 2022-04-09 19:32:38 -04:00
BLTouch.md docs: Docs comma culture (#4822) 2022-01-09 21:13:53 -05:00
Beaglebone.md docs: Rename Documents 2021-11-22 21:03:32 -05:00
Bed_Level.md docs: Clarify the Thickness of Paper 2021-12-27 12:24:58 -05:00
Bed_Mesh.md docs: Fix typos (#6032) 2023-02-20 11:06:25 -05:00
Benchmarks.md ar100: Support for ar100 (#6054) 2023-02-20 20:15:01 -05:00
Bootloaders.md docs: Fix typos (#6032) 2023-02-20 11:06:25 -05:00
CANBUS.md atsamd: Add support CANbus on ATSAME5x chips 2022-10-13 11:28:27 -04:00
CANBUS_protocol.md docs: Updates to CANBUS_protocol.md 2022-07-29 11:40:54 -04:00
CNAME
CONTRIBUTING.md docs: Add a note about fixing underlying bugs in CONTRIBUTING.md 2022-10-25 11:53:55 -04:00
Code_Overview.md docs: Minor wording update to Code_Overview.md 2022-05-17 11:55:17 -04:00
Command_Templates.md docs: fix rawparams example by truncating comments 2022-07-19 12:48:16 -04:00
Config_Changes.md tmc5160: allow changing the globalscaler at runtime 2023-03-07 10:55:44 -05:00
Config_Reference.md tmc2240: initial implementation 2023-03-01 20:43:53 -05:00
Config_checks.md docs: Various minor fixes (#5175) 2022-01-26 18:00:18 -05:00
Contact.md docs: Update Contacts.md with improved github issue tracker description 2022-11-15 16:54:19 -05:00
Debugging.md docs: Fix typos (#6032) 2023-02-20 11:06:25 -05:00
Delta_Calibrate.md docs: Note to run DELTA_CALIBRATE before DELTA_ANALYZE in Delta_Calibrate.md 2022-04-29 13:58:05 -04:00
Endstop_Phase.md docs : make modifications to all md files to make them compatible with mkdocs 2021-07-27 13:15:25 -04:00
Example_Configs.md docs: Update Example_Configs.md to note that baud should be 250000 2022-04-30 14:51:14 -04:00
Exclude_Object.md docs: fix typo in Exclude_Object.md 2022-06-03 18:11:35 -04:00
FAQ.md docs: Add a Sponsors.md file 2022-07-16 10:48:10 -04:00
Features.md ar100: Support for ar100 (#6054) 2023-02-20 20:15:01 -05:00
G-Codes.md tmc5160: allow changing the globalscaler at runtime 2023-03-07 10:55:44 -05:00
Hall_Filament_Width_Sensor.md docs: Fix typos (#6032) 2023-02-20 11:06:25 -05:00
Installation.md docs: Updates to Installation.md document 2022-05-17 11:36:36 -04:00
Kinematics.md docs: Use hash marks for header lines 2021-07-27 13:29:36 -04:00
MCU_Commands.md docs: Update MCU_Commands.md with new config_stepper command 2021-11-04 12:06:27 -04:00
Manual_Level.md docs: Note that "minutes" in screws_tilt_adjust means minutes of a clock face 2022-04-05 20:35:56 -04:00
Measuring_Resonances.md docs: use correct mpu9250 i2c_bus (#6064) 2023-02-20 20:19:04 -05:00
Multi_MCU_Homing.md mcu: Support multi-mcu homing 2021-08-28 16:08:57 -04:00
Overview.md docs: Fix typos (#6032) 2023-02-20 11:06:25 -05:00
Packaging.md docs: Fix typos (#6032) 2023-02-20 11:06:25 -05:00
Pressure_Advance.md docs : make modifications to all md files to make them compatible with mkdocs 2021-07-27 13:15:25 -04:00
Probe_Calibrate.md docs: Reorganize layout of G-Codes.md 2022-02-01 11:59:55 -05:00
Protocol.md docs : make modifications to all md files to make them compatible with mkdocs 2021-07-27 13:15:25 -04:00
README.md
RPi_microcontroller.md docs: update RPi_microcontroller.md to systemd 2023-01-17 18:17:25 -05:00
Releases.md docs: Note the release of v0.11.0 2022-11-28 21:27:09 -05:00
Resonance_Compensation.md docs: Update Resonance_Compensation.md to recommend SET_VELOCITY_LIMIT 2022-01-31 18:36:42 -05:00
Rotation_Distance.md docs: Docs comma culture (#4822) 2022-01-09 21:13:53 -05:00
SDCard_Updates.md docs: Fix typos (#6032) 2023-02-20 11:06:25 -05:00
Skew_Correction.md docs: Rename Documents 2021-11-22 21:03:32 -05:00
Slicers.md docs : make modifications to all md files to make them compatible with mkdocs 2021-07-27 13:15:25 -04:00
Sponsors.md docs: Update koconnor donation links 2022-08-24 21:02:43 -04:00
Status_Reference.md stepper_enable: report status 2023-02-13 12:16:17 -05:00
TMC_Drivers.md tmc: Fix s2vs field formatters 2023-03-07 10:52:52 -05:00
TSL1401CL_Filament_Width_Sensor.md docs: Reorganize layout of G-Codes.md 2022-02-01 11:59:55 -05:00
Using_PWM_Tools.md docs: Match Single Blank Line Above and Below A Title 2021-11-19 10:25:06 -05:00
developer-certificate-of-origin
index.md docs: Add a Sponsors.md file 2022-07-16 10:48:10 -04:00

README.md

Welcome to the Klipper documentation. The overview document is a good starting point.