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

TMC2130: SDI and SDO swapped in Fritzing PCB view #56

Open
eyer1951 opened this issue Nov 5, 2018 · 10 comments
Open

TMC2130: SDI and SDO swapped in Fritzing PCB view #56

eyer1951 opened this issue Nov 5, 2018 · 10 comments

Comments

@eyer1951
Copy link

eyer1951 commented Nov 5, 2018

In the PCB definition, the Fritzing part for TMC2130 has SDO and SDI swapped. I had some boards manufactured, unfortunately.

In this example i just connected DIR to SDO to illustrate the issue.
bad2130pcb.zip

@teemuatlut
Copy link
Owner

@soswow

@eyer1951
Copy link
Author

eyer1951 commented Nov 5, 2018

Oy! CS and SCK are also swapped.

@teemuatlut
Copy link
Owner

I'm not that familiar with Fritzing but everything looks good to me. Something I'm missing?

@eyer1951
Copy link
Author

eyer1951 commented Nov 5, 2018

Thanks for checking. Can you open the sketch file I provided? If so, you will quickly see that the PCB design does not match the TMS2130 icon shown in the breadboard (part layout). Pin locations for PCB wiring don't match the part. The location of the SDO connection (should be in the middle of the row) in the PCB layout is shown (wrongly) as 2nd from the end of the part (location of SDI). There is a simplified parts editor in Fritzing, but i could not fix this. Also note, CS and SCK are swapped. It appears @soswow was the author of the Fritzing parts file.

@teemuatlut
Copy link
Owner

teemuatlut commented Nov 5, 2018

Now I see the issue!
I think the order of named pins need to be changed in the Connecters tab.

EDIT: After reordering
image

@eyer1951
Copy link
Author

eyer1951 commented Nov 5, 2018

I tried renaming them in the Connectors tab, but that didn't work. I couldn't get Schematic, Breadboard, and PCB to synchronize correctly.
'

@eyer1951
Copy link
Author

eyer1951 commented Nov 6, 2018

How did you accomplish the reordering? Exactly.
Will you publish the corrected Fritzing part?
Thanks.

@eyer1951
Copy link
Author

eyer1951 commented Nov 6, 2018

I did figure out how to associate each connections with the "icon" (holes on the part). I had not seen how to enable the menu with the checkmarks and "select graphic." So, for my own use, i now have a part that works. It would be nice if the "official" one were to be corrected and re-published.

@soswow
Copy link
Contributor

soswow commented Nov 6, 2018 via email

soswow added a commit to soswow/TMC2130Stepper that referenced this issue Nov 6, 2018
@soswow
Copy link
Contributor

soswow commented Nov 6, 2018

raised a PR

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

3 participants