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

Anycubic Delta - TMC2208 - TriGorilla Unable to read tmc2208 'extruder' register IFCNT #1588

Closed
totalitarian opened this issue Apr 28, 2019 · 13 comments

Comments

@totalitarian
Copy link

I have the following TMC2208 drivers and have bridged the pins as show

image

I then hooked up to my TriGorilla board on pin D11

image

Here is my config

[tmc2208 extruder]
uart_pin = ar11
microsteps = 32
run_current = 0.8
hold_current = 0.4
stealthchop_threshold = 200

This is the error I get

Traceback (most recent call last):
File "/home/pi/klipper/klippy/klippy.py", line 137, in _connect
cb()
File "/home/pi/klipper/klippy/extras/tmc2208.py", line 327, in _init_registers
self.set_register(reg_name, val)
File "/home/pi/klipper/klippy/extras/tmc2208.py", line 348, in set_register
self.ifcnt = ifcnt = self.get_register("IFCNT")
File "/home/pi/klipper/klippy/extras/tmc2208.py", line 340, in get_register
"Unable to read tmc2208 '%s' register %s" % (self.name, reg_name))
Error: Unable to read tmc2208 'extruder' register IFCNT
Unable to read tmc2208 'extruder' register IFCNT
Once the underlying issue is corrected, use the "RESTART"
command to reload the config and restart the host software.
Printer is halted

klippy.txt

@Hywelmartin
Copy link
Contributor

have you tried another pin. Like ar5 .. a while ago some one claimed that the servo pins where in reverse... #1448

@totalitarian
Copy link
Author

Afraid I tried 4,5,6,11,12 and none worked

@jakep82
Copy link

jakep82 commented May 1, 2019

That indicates a likely issue with the driver itself.

@totalitarian
Copy link
Author

I have tried all 4 drivers, you are right it could be the drivers are not wired correctly from the factory.

@james-golden
Copy link

Did you bridge all three solder pads?

@totalitarian
Copy link
Author

Did you bridge all three solder pads?

Yes, on two set I bridged 2 pads and on the other 2 sets I bridged 3 pads. Confirmed continuity to the pins to make sure my soldering was correct

@james-golden
Copy link

The 3 solder pads sets the pin the uart is on. Check the data sheet. It will help bunches. You might also need a resistor on the pin. Data sheet will tell you much more

@totalitarian
Copy link
Author

@james-golden The pads are soldered and the resistor is not needed with klipper

@ghost
Copy link

ghost commented May 7, 2019

Which pin of the driver did you connect? Pics from the board with the driver on it?

@KevinOConnor
Copy link
Collaborator

I'm going to close this issue as it looks like the conversation has concluded. To the best of my knowledge, the Klipper tmc2208 uart code does work - getting a connection to the uart pin can be tricky however on some stepsticks.

-Kevin

@lych
Copy link

lych commented Sep 26, 2019

TriGorilla doesn't have microstep jumpers so to avoid connecting the uart pin to VCC one have to cut or bent this pin on TMC2208 (probably it's better to do the same thing with MS1 and MS2 pins).
Also, I don't know if it's a problem in Klipper or in the TriGorilla documentation, but for Klipper right order of servo pins looks like this : ar11 ar4 ar6 ar5 ar12.
InkedIMG_20190926_201304_LI

@Hywelmartin
Copy link
Contributor

As you have v1.1 of that board the pinout is as mentioned.. the one without versioning got 4,5,6,11,2

@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants