Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.6 - 10 Flashing light fix #167

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions MM-control-01/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@
#define AX_SEL 1
#define AX_IDL 2

// currents
// currents (Drive?, Selector?, Idler)
#define CURRENT_HOLDING_STEALTH {1, 7, 22} // {?,?,570 mA}
#define CURRENT_HOLDING_NORMAL {1, 10, 22} // {?,?,570 mA}
#define CURRENT_RUNNING_STEALTH {35, 35, 45} // {?,?,910 mA}
#define CURRENT_RUNNING_NORMAL {30, 35, 47} // {?,?,910 mA}
#define CURRENT_HOMING {1, 35, 30}
#define CURRENT_RUNNING_STEALTH {35, 35, 42} // {?,?,910 mA}
#define CURRENT_RUNNING_NORMAL {30, 35, 42} // {?,?,910 mA}
#define CURRENT_HOMING {1, 35, 35}

//mode
#define HOMING_MODE 0
Expand Down
2 changes: 1 addition & 1 deletion MM-control-01/tmc2130.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ int8_t tmc2130_setup_chopper(uint8_t axis, uint8_t mres, uint8_t current_h, uint
uint8_t fd3 = 0;
uint8_t rndtf = 0; //random off time
uint8_t chm = 0; //spreadCycle
uint8_t tbl = 2; //blanking time
uint8_t tbl = 1; //blanking time
if (current_r <= 31)
{
if (tmc2130_wr_CHOPCONF(axis, toff, hstrt, hend, fd3, 0, rndtf, chm, tbl, 1, 0, 0, 0, mres, intpol, 0, 0)) return -1;
Expand Down