-
Notifications
You must be signed in to change notification settings - Fork 90
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
Is TMC2209 enabled? #68
Comments
It is but not for all boards supported.
There are many in the Inc folder with names ending in _map.h, which to use is configured in my_machine.h. |
Thank you for your response. Is TMC2209 UART mode enabled for STM32F407 based boards? |
There is support in the driver for both soft and hard UART modes, if the board in question supports TMC2209 drivers either there is support or it may easily be added. Which board do you have? |
I have mks eagle |
Ok, then a board map has to be created - you can do it? When you have a working board map it can then be added with a proper name (after a few additions to my_machine.h and driver.h), either via a PR or by posting the map file in a comment. |
Hi Terjeio, My initial goal is to get the code talk to TMC2209 driver chip though initialization and reading the registers & sending commands to it. Once I reach that point, i will share the map file here. Thank you. |
Some info here. If you want to interact with the drivers via your own code you have to call the driver API from a custom plugin - plugin examples can be found here. |
I was going through the code and read somewhere (in my_machine.h) that it is work in progress. Also generic_map.h, i see that if TRINAMIC_ENABLE is present then error will be generated.
#if TRINAMIC_ENABLE
#error "Trinamic plugin not supported!"
#endif
I am trying to compile grbl with STM32CubeIDE for STM32F407. Since my board is using TMC2209 so i wanted to know if the code is ready for TMC2209 in UART mode?
I also wanted to know is there a pin configuration file (like generic_map.h) where I can see which pin/port is assigned to which name.
Thank you
The text was updated successfully, but these errors were encountered: