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

TMC5161 driver stalls immediately after move #3

Open
richardklingler opened this issue Sep 7, 2020 · 1 comment
Open

TMC5161 driver stalls immediately after move #3

richardklingler opened this issue Sep 7, 2020 · 1 comment

Comments

@richardklingler
Copy link

Using the BTT TMC5161 v1.1 sticks on a BTT SKR v1.4 and SKR Pro v1.1.

In both situation the TMC5161 driver recognizes a stall and shuts down...

With the same settings a TMC5160 stick works just fine,and both TMC5160 and TMC5161 have the same configuration.

Also Rsense is set correctly in firmware.

Also after a stall the settings are messed up, for example when using initially a microstep of 4 turns the into microstep 256:

M122
X
Enabled false
Set current 1000
RMS current 992
MAX current 1399
Run current 16/31
Hold current 8/31
Global scaler 129/256
CS actual 8/31
PWM scale 8
vsense
stealthChop false
msteps 4
tstep max
PWM thresh.
[mm/s]
OT prewarn false
off time 3
blank time 24
hysteresis
-end -1
-start 1
Stallguard thrs 0
uStep count 160
DRVSTATUS X
sg_result 0
stallguard
fsactive
stst
olb *
ola *
s2gb
s2ga
otpw
ot
Driver registers:
X 0xE0:08:00:00

@herbertvs
Copy link

Same problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants