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
[BUG] TMC2209 Sensorless Homing not working #14464
Comments
try reversing * _ENDSTOP_INVERTING |
I tried, but the sanity check won't let me: |
maybe @teemuatlut can say something, why the behavior does not correspond to the TMC2130 |
In SanityCheck.h it says
so I guess this is as intended. TMC2209 says HIGH is triggered, so I guess the above should be correct |
Does it work with sensorless homing uncommented in the config? Someone else on a BigTreeTech FB group was having issues with a CoreXY too. |
Just tried again and now the printer moves (not having a good sensitivity yet). I wonder if a power cycle was necessary. I'll try to investigate further ... |
Interesting: Resetting the SKR (via the reset button) does NOT reset the TRIGGER state of the TMCs. Right now my Y-Stepper is triggered forever |
Maybe this is similar to #8890 ? |
I noticed that after a power cycle (actual unplug, not the reset button) all (any all everything, not just TMC driver settings) are set to 0 even though the correct values are stored in eeprom and loading the eeprom manually (M501 or via lcd) will fix it. |
I don‘t think this issue is related. After power on my settings are just fine.this is only about the TMCs |
It's possible that the stepper init for 2209 is still missing a step. We'll have to see whether it's a problem with |
Hey, im having exactly the same issue except my endstops are now reading "open" on X/Y but the motor just stutters as if its sensitivity to sensorless homing is very low? I have adjusted sensitivity from 0-255 and even taken the belt off my XY but the motor still just turns maybe 2/5mm before stopping on a home command? this is very bizzare as i can read positive voltage from TMC2209 DIAG1 to Xmin signal pin? running SKR 1.3 /TMC2209/ COREXY just as OP heres my M122
any help would be appreciated! |
Interesting, even with a manual switch endstop override im only getting "Open" status, can somebody explain the need for enabling "#define SENSORLESS_HOMING"? im assuming this is only necessary for the TMC drivers themselves? and does not influence the actual endstop configuration in any way? - i say this because when hooking up a z probe in Z-min for example no software change is necessary? thanks! |
Ok that's strange (CODEPENDENT_XY_HOMING off for now):
|
Next observation:
a few times (in relative mode) and that's what I got:
|
I tried to reflash and I got USB not recognised so in the end I returned the board and now have a replacement, I'll check to see if behaviour is the same tomorrow hopefully |
Getting same problem, tried many things but it's always TRIGGERED. However if i return to mechanical endstops it works. If // Stall detection DIAG = HIGH : TMC2209, the pullup doesnt make sense. |
I set up a bench test today with the new SKR 1.3, going to check these, i also have a new revision of TMC2209's (FYSETC V2.1) they seem to be setup differently to my FYSETC V2.0 so ill give them a whirl as well |
Can you post pictures of V2 and V2.1 so I can compare? |
So please forgive my potato vision camera: https://imgur.com/a/cGOylQL the only difference i can see visually on the V2.1 is the two 0 Ohm resistors across the PDN Line jumper pads instead of the single one on the V2.0 However, looking at the IC itself they have done a much better job soldering it on the V2.1 boards i have recieved with the markings clearly visible compared to the V2.0 - i hope they didnt wash these boards lol also i found latest Marlin 2.0 sometimes when flashed with Platform.io bricks the SKR 1.3 - had to reflash Smoothie binary included in the bigtreetech github folder back to the flash storage and recompile fresh version of marlin 2.0 one setting at a time, not sure if its an actual setting within Marlin yet. kept coming up with unrecognised USB device and i triple checked the serial settings? |
ok so I think I narrowed it down to #define PIDTEMPBED, enabling this stops my SKR from working? im sure i had it enabled before though. |
Ok it just gets weirder and weirder, got the V2.1 TMC2209 drivers installed and got no UART on any of them, replaced it with a known good V2.0 and got UART...so I buzzed out the 0 OHM resistors... nothing... no circuit. solder bridged over the 0 Ohm resistor...all working fine on UART! id inspect the jumper 0 ohm resistors on the FYSETC TMC2209 boards if your having UART issues i would check the DIAG resistors/links but its pretty late, If my sensorless endstops still dont work thats the next thing im going to inspect. |
I kinda have the same sort of problem. |
Pull out the diag jumpers. |
Thank you so much! This solved all my problems, I feel so dumb! |
@spazwart What board you use? I have SKR1.3 + ender3 and endstops work without remove diag jumpers. While i have sensorless home ON they don't work and printer react to mechanical endstops. If i remove endstop cable it's always triggering |
@sn4k3 I have the SKR1.3, I have my config in github. |
I fixed the board issue with my skr 1.3. I got sensorless homing working for a while then it stopped working ! I did however have to disable hybrid threshold, Ive subsequently changed around the settings and have toggled it, back to the state where I had previously made it to work, and now its not working. So I can both confirm that it should work, but its not working, and its not in a state where it should work either. I think the issue lies in the firmware as its not reliable at all on the skr 1.3. |
@paulpenney I think the fystec rep that was onto you is misinformed, My v2.1s required me to solder a solder connection between the TX and RX pins to get UART working. |
If I remember correctl the hybrid threshold is set to 0 during (sensorless) homing anyway. I don‘t think it is the SKRs fault, since sensorless homing works just fine using the Bigtreetech TMC2209. My guess would a (design) problem on the Fysetc drivers. |
I can confirm that the Hack suggested by @thisiskeithb works perfectly fine on my MKS SGEN_L with Watterott V2.0 drivers. But I could not manage to get sensorless homing working with the MKS 2209 drivers, no matter what I tried. So I ended up with Watterott drivers on X and Y and MKS drivers on Z and E. UART is no issue on either of the drivers. Also in the meantime I got a statement from a Makerbase Rep on this issue:
|
I bought BTT's TMC2209 drivers, will try it later this week :) |
If it was a hardware issue it would either work or not work, The fact that I got my Fystec v2.1 to work for a while before reuploading the exact same firmware and it breaking, that would indicate that the issue is an issue in the code, Specificly in the implementation of the Stallguard4 version |
So thanks to your picture and video I watch I've figured That by soldering 1 pin to the drivers it should work I have watched this video https://www.youtube.com/watch?v=dOJbSrWVu_Q configure everything as he has set the sensitivity to 50 now it works. ](url) |
Nope, did that, did not work. That‘s just the normal setup you have to do for the SKR and that‘s exactly the setup which doesn‘t work. |
Can anyone confirm that it works when hybrid threshold is set to 0? |
@TheNitek can you enable hybrid threshold for x and y and set them both to 0 then play around with sensorless homing sensitivity. I have mine working around ~65. |
@TheNitek still having issues? |
I don't know - I switched to Bigtreetech Drivers instead of the Fysetc and it worked. I don't plan to invest more time in crappy drivers. |
so that was the only change? ie the driver itself, what changes in config if any? |
@TheNitek will close this one as it seems mostly to be bad hardware we can always reopen if there is an issue we can figurre out |
@boelle Can you figure out why the sensorless homing will work for me when hybrid threshold is set to 0 only? As Id like to have sensorless homing working and also have hybrid threshold be a thing |
@michaelduffy123 doesn't work for me.. |
It is working for me (FINALY): The problem was that everywhere it is written to connect Drivers DIAG1 to end stop pin. I have tried DIAG0 (nearest to EN - as advised above #14464 (comment)) and it is working!!! Happy! Configuration.h
Configuration_adv.h
|
Hi, I have read this thread & stupidly thought that my TMC2209 from Fystec were the same as mentioned above & tried joining a couple of the pins etc... turns out I have been sent Fystec v3.0 and trying to get them to even work on the BTT SKR 1.3 board. The new sticks do come with up & down pins pre-solder : So far I have tracked the voltages of each pin and have: Jumpers I have in place so far: I'm kind of stumped as to how to get these connected to the SKR 1.3 board & working with UART as that was the reason I brought them (well I ordered the v2.1 versions). |
Just to close the above : for v3.0 of fystec drivers you have to follow the jumpers mentioned here to even get them to work: |
I have the SKR 1.3 board and Fysetc TMC2209 V2.1 driver boards. I have spent all day going round in circles... On the Fysetc TMC2209 V2.1 the diag pin is connected to the top of the board and there is no physical connection from the diag pin on the driver board to the header on the SKR board which is connected for senseless homing. The second part of RABZY88's solution above: #14464 (comment) works for the Fysetc TMC2209 V2.1 driver: I had to desolder the diag pin and invert it on the driver board. This way it now connects the driver board to the SKR board and sensorless homing works correctly. |
Yep, I have the same problem with MKS TMC 2209 on MKS SGEN_L. X and Y always triggered. |
I am really confused, because with my SKR 1.3 and BTT TMC2209 V1.2 sensoress homing won't work, regardless of what setting i choose. I have Jumper on XST and YST. Printer moves korrekt, but even software endstops won't work. I'm frustrated. This issue cannot be closed. Obviously there are many people with problems using TMC2209 with sensorless homing. Configuring Marlin is very simple, so there is not much magic to get sensorless homing to work. |
Same setup here SKR 1.3, and BTT TMC2209 v1.2, was having the same problem using source from BTT repositories, my situation was trying to home to XMax and YMax, found 2 possible solution
|
This issue is closed, since it was caused by a hardware issue (PINs are differnt on the Fysetc vs. BTT TMC2209), so it was not a Marlin issue. Using the correct PIN sensorless homing works in general. If you have different problems then open a different issue providing all information needed for it to be debugged. |
i am trying to build my mks sgen l bored with tmc2209 v3 from fysetc and i am getting error low |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
I installed TMC2209 from Fysetc on my SKR 1.3 of my CoreXY and tried to get sensorless homing to work. UART connection works fine, but X and Y endstops always show as "TRIGGERED".
Jumpers on the SKR are closed any I ensured that there is an electrical connection between the DIAG pin and the endstop.
I varied sensitivity from 0 to 250, but nothing changed.
Steps to Reproduce
Most recent Marlin 2.x bugfix
G28 XY
Expected behavior: Axis home
Actual behavior: Axis don't move, X/Y endstops are triggered
Additional Information
Marlin.zip
The text was updated successfully, but these errors were encountered: