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

information and request #16

Open
HCY06 opened this issue Dec 12, 2024 · 2 comments
Open

information and request #16

HCY06 opened this issue Dec 12, 2024 · 2 comments

Comments

@HCY06
Copy link

HCY06 commented Dec 12, 2024

i have stm32f103c8t6 mcu, tmc5160 and NEMA 17 stepper motor. may i use that libraries on my project? does it work? the telecommunication is spi between tmc and stm32, and also do you have any examples how to use that libraries on stm32? i just get stuck on project right now. guide me pls thx

@HCY06
Copy link
Author

HCY06 commented Dec 13, 2024

waiting up

@terjeio
Copy link
Owner

terjeio commented Dec 13, 2024

You can use the library but you will have to supply your own low level code for communication with the drivers. This is how I do it for the F4xx which is simlar to the F103.

The tmc5160hal.c code was written to provide a higher level API for grblHAL and is used by the motors plugin. If this API is to be used some data structures and possible code from grblHAL has to be extracted. The motors plugin is even tighter integrated into grblHAL, not sure if it would be of any help to study that.

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