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
TMC2209 support #59
Comments
Hey, I was wondering if I could get these to work on the skr 1.3 non pro version. That mod you made is that little jumper I'm assuming? And this would work on any standard tcm2209? Thanks I'm a bit new to this. |
Thanks for this advice Dilbert. I've been getting an "all Low" for Y on my 2208s and a "TMC connection error" on the LCD for the last week. I've been through countless pages of issues that are similar to mine, but we're not able to fix the problem. |
Actually this IS a SKR1.3 non-pro. The Pro is actually revision v1.1. But there ist no standard for TMC220x. Basically any vendor can route secondary signals to any unused port. This is exactly what happens here with Rx/Tx. You should have an ohmmeter ready and check how your sticks are routed to the TMC chip pins. |
And it wasn't a resistor. The XYZ and E all work perfectly well when I turn on 'movement' mode on the LCD. I'm still getting the tmc connection error, but it is interesting. I have 4 total 2208s on xyze. When I run a check through terminal xy and z will be fine, but e will be 'All Low'. I'll move x to y (for example) and xze will be fine with a 'All Low' on y. |
So you're telling me that if I get the stepstick drivers I'd have to do this but if I get the bigtree or some other brand I might not? |
Curious, do the 2209s still need the pads bridging like the 2208s did? |
Dilbert0815 Thank you very much. This jumper config has solved my problem. Endless variations with these chips as you say. |
@Dilbert0815: you left the MS1 and MS2 pins floating. In UART more they are to set the slave address. Isn't it a problem? |
@Dilbert0815: also, it seems that this mod with the cross-jumper drives the SPREAD at times when UART communication takes place. As I see, during communication on the UART interface the driver is 'required' to rapidly switch between spreadCycle and stealthChop many times. Isn't it a problem? And this is not the only problem: based on 'TMC2209 DATASHEET (Rev. 1.03 / 2019-JUN-26)', chapter '5.1 General Registers', a high level on SPREAD (see our case) inverts whatever value was configured for GCONF.en_SpreadCycle. As I see, the printer will always work in the opposite mode as it was configured by GCONF.en_SpreadCycle Did you cut the pin on the silentstepstick? |
@asdmin : I don't have the board mounted acutally. MS1/2 should have internal pull-down resistors according data sheet. It is normal to leave them open to my knowledge. |
@Dilbert0815 : Please update this as a hardware fix for the FTYSET sticks. I am receiving the same error messages for the BTT SKR V1.3 and the BTT TMC2209s. I tried your pin fix and the TMC2209s from Big tree Tech still issue null responses from the X, Y, Z, and E0 registers. (0x00:00:00:00) |
hi there. |
I'm having issue w/BTT 2209s and my SKR 1.3 as well. Anybody have links to data sheets/shematics for BTT Stepper driver board? |
hi @generalPanic. |
@generalPanic just in case my reply doesn't solve your problem... |
Thanks for the link. I have my 2209s inserted into my SKR 1.3 with the
UART jumper set, the SPI jumpers removed and I get all zeros when i do
gcode M122.
I changed the appropriate values in my Configuration.h (set drivers to
TMC2209 etc.).
Thanks,
Ben
…On Wed, Dec 18, 2019 at 11:49 PM klubglied ***@***.***> wrote:
https://github.com/bigtreetech/BIGTREETECH-TMC2209-V1.2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#59?email_source=notifications&email_token=ABI3NEAVDY74AIENQ556R2LQZMDPTA5CNFSM4IHHIZM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHIP4VA#issuecomment-567344724>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABI3NEAGFHVIZITRAPMOGB3QZMDPTANCNFSM4IHHIZMQ>
.
|
hi Ben. |
Yessir.
#define X_DRIVER_TYPE TMC2209
#define Y_DRIVER_TYPE TMC2209
#define Z_DRIVER_TYPE TMC2209
//#define X2_DRIVER_TYPE A4988
//#define Y2_DRIVER_TYPE A4988
//#define Z2_DRIVER_TYPE A4988
//#define Z3_DRIVER_TYPE A4988
#define E0_DRIVER_TYPE TMC2209
BTW, I do not have the motor power or any motors connected. I'm using the
power from the USB port to power the stepper logic.
Cheers,
Ben
…On Thu, Dec 19, 2019 at 10:23 AM klubglied ***@***.***> wrote:
hi Ben.
Just to make sure... did you uncomment the "#define x_driver_type TMC2209"
(etc.) in "configuration. h"? what else did you change for your TMC's in
Marlin?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#59?email_source=notifications&email_token=ABI3NECX4SGKS6Y6GCLIP5TQZONXDA5CNFSM4IHHIZM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHKEMAQ#issuecomment-567559682>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABI3NEB2ZWS4GPE6JNEIJ2LQZONXDANCNFSM4IHHIZMQ>
.
|
hi ben.
is there a reason you don't want to connect your DC input to the SKR? I can imagine that the USB power solution is only suitable for flashing the FW but nothing else. again, just a guess! I'm Sebastian, BTW... |
I did connect 12v dc power, and this solved the problem. Thanks for your
help.
Cheers,
Ben
…On Thu, Dec 19, 2019 at 12:48 PM klubglied ***@***.***> wrote:
hi ben.
BTW, I do not have the motor power or any motors connected. I'm using the
power from the USB port to power the stepper logic.
is there a reason you don't want to connect your DC input to the SKR?
i am not a great electronics wizard but maybe you should connect the real
DC input (12V/24V) as each of your stepper drivers is trying to power the
virtual stepper motor with about 0.8A-1.0A which would be too much for a
normal USB power supply. but really i am just guessing here...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#59?email_source=notifications&email_token=ABI3NECICF375XVMBDY4OYLQZO6WXA5CNFSM4IHHIZM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHKRXFI#issuecomment-567614357>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABI3NEANIPCPUBO7YIL5VQ3QZO6WXANCNFSM4IHHIZMQ>
.
|
Hi Ben. |
I had problems getting TMC2209 step sticks working with UART configuratio in Marlin 2.x..
Some Bigtree TMC2208 before were working correctly, so I was debugging the case.
Problem is on these TMC2209 sticks the port RST1 is wired directly to PDN_UART from TMC2209 while M3 port is having an addtional 1k ohm resistor to PDN_UART of TMC chip..
So using the normal UART jumper on SKR1.3 we get a total of 2k (1k + 1k) in the TMC TX line, causing it to fail.
Hardware Fix:
Fix is possible in hardware by using a adtional jumper in SPI jumper block between pins 1/3.
This shortens RSTI and M3 ports of step stick, effectively disabling the stick internal 1k ohm resistor. UART jumper is of cause also set.
Communication is now working and TMC_DEBUG with M122 returns correct register values and reports TMC2209 communication as online.
May be you can add this to board FAQ for troubleshooting TCM2209 stick problems of other users.
The text was updated successfully, but these errors were encountered: