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

fatal error: trinamic2130.h #2

Closed
drom89 opened this issue Oct 3, 2021 · 4 comments
Closed

fatal error: trinamic2130.h #2

drom89 opened this issue Oct 3, 2021 · 4 comments

Comments

@drom89
Copy link

drom89 commented Oct 3, 2021

Hello, so when compiling thru MCUX i get this error:

/src/trinamic/TMC2130_I2C_map.h:44:10: fatal error: trinamic2130.h: No such file or directory
44 | #include "trinamic2130.h"
| ^~~~~~~~~~~~~~~~

So i just changed 44 | #include "trinamic2130.h" to #include "tmc2130.h" and its working, but im not sure if its correct.

EDIT: this issue should be in : Trinamic-library/TMC2130_I2C_map.h

@drom89
Copy link
Author

drom89 commented Oct 3, 2021

Anyway i have BTT TMC2209 with BTT SKR 1.4T and with #define TRINAMIC_ENABLE 2130
it still dont communicate with drivers :(
I think 2209 dont have SPI and only have UART communication.

@terjeio
Copy link
Contributor

terjeio commented Oct 3, 2021

/src/trinamic/TMC2130_I2C_map.h

This file (and the corresponding .c file) should no be there, delete them. I have removed them in the repo already.

I think 2209 dont have SPI and only have UART communication.

Correct, and the LPC176x driver does not support TMC2209 as BTT connected the UART lines to pins that cannot be routed to hardware UARTs. To support them software UARTs has to be implemented, and I have no plans to do so myself. I'll accept a pull request if you do so, ref. this comment.

@drom89
Copy link
Author

drom89 commented Oct 3, 2021

Thanks for reply, my programing skills are really bad, so i will order 2130 and 5160 and use them with SPI

@terjeio
Copy link
Contributor

terjeio commented Jun 15, 2022

FYI soft UART support was added to the LPC17xx driver in january.

@terjeio terjeio closed this as completed Jun 15, 2022
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