Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Releases: Psylenceo/TMC5160_SPI_example

Clean up comments and restructure read registers

18 Jul 19:17
e656be6
Compare
Choose a tag to compare

Cleaned up a bunch of comments across the entire code.
Added temporary if routines to check for short circuit on the low side of the h bridge.
Moved most of the read registers, registers to their own functions and made it so that read registers just references the new functions. This was done to facilitate reading only one register while doing a motion command or checking an entire registers condition without having 100+ lines of status printouts to sift through.

testing stall detection in autotune

16 Jul 21:02
0cf2ec6
Compare
Choose a tag to compare

Added notes in autotune about possible ways to detect stalls and skipped steps in stealth chop and auto tune modes.

errors in tstep capture

16 Jul 10:23
b54ca96
Compare
Choose a tag to compare

Forgot ( ) in the tstep read and save a section of the up motion

autotune routine

15 Jul 10:32
0140306
Compare
Choose a tag to compare

Adding autotune routine.
Adding features inside autotune to optimize it and detect stalls

Basic motion Fix

11 Jul 10:29
ee0e9ed
Compare
Choose a tag to compare

Added a while statement on lines 285 and 287 due to code exiting faster than real-world motion causing the motor to move a small amount and then stop without finishing the move to 100mm and then back to "home".

Submission

11 Jul 10:27
ee0e9ed
Compare
Choose a tag to compare

Initial release for tracking.