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

On driver board end stops #85

Open
coolerooney opened this issue Oct 2, 2019 · 3 comments
Open

On driver board end stops #85

coolerooney opened this issue Oct 2, 2019 · 3 comments

Comments

@coolerooney
Copy link

Hi,

Probably I am in the wrong section- it is not an error/issue- but here goes

The Trinamic Evaluation, BOB and now also the stepsticks have pins for end stops on them (aliexpress)
How can access these end stops?
My reason for asking: have a X move of say 100 mm, but want to oscillate +/- positions on a micros scale, without interrupting the big move
Thx

Carl

@teemuatlut
Copy link
Owner

On TMC2130, a diagnostic pin can be assigned to the stallGuard measurement. When the measurement is 0, the diag pin gets pulled high or low. You can then act on this signal on the MCU side.

@coolerooney
Copy link
Author

Hi Teemalut

thx for the prompt reply
I assumed that the 2130 and subsequent drivers are similar in design
on page 84 of the below 5160 document, Trinamic refers these pins as reference switches, as I understand, have no connection to stallguard- so instead of output, input

TMC5160_Datasheet_Rev1.10.pdf

thx

best

carel

@teemuatlut
Copy link
Owner

The REFL_STEP and REFR_DIR are inputs and double as either STEP/DIR input lines or when you're using the internal ramp generator, they can act as inputs for physical reference limit switches.

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