I want to play around with the stallguard feature of the TMC2209 drivers but I need clarification about the physical setup. On JP1, it looks like I need to run a jumper from the DIAG pin on the 2209 to one of the GPIOs on the limit switch input rail. Can somebody confirm this? And, if that is true, how is this handled on the JP3?
Thanks Jason. Great info as usual. I am pondering introducing a homing feature on the PolarGraph but since it is not feasible to have physical limit switches, I was thinking about using lasers and photo diodes. I just wanted to use stallguard to prevent the gondola from being ripped apart in the event that the laser switches malfunctioned. Yeah … too much time on my hands.
For homing or missed steps? If it is for homing, it is not accurate enough for repeatable use (like CNC Routers), for your polargraph, if you are able to tune it, it is good enough for “rough” homing.
If you were to try this I would probably use the module port for the raw IO.
I really just want to use it for protection, especially during homing, but during running as well. Is there a schematic of the JP3 somewhere? I could swear I looked at one for the JP1 at one time, but I can’t find that either.
Stallguard is way too complicated for all of that. Just lower your drive current. Lower it until you skip steps (probably much lower than you think), then raise it 10%. You can even tune lower accels to use lower current.