MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.19k stars 19.22k forks source link

TMC5160 Uart Support #21555

Open Maazshakir opened 3 years ago

Maazshakir commented 3 years ago

Is your feature request related to a problem? Please describe.

No

Are you looking for hardware support?

I made a custom electronics with stm32 f4 chip , so its compatible with marlin

Describe the feature you want

I would love to see a uart support for tmc5160 i have a board which doesnt support software spi but is capable of uart mode

thisiskeithb commented 3 years ago

@teemuatlut Does your library support UART for the 5160? Should this FR go there instead?

Maazshakir commented 3 years ago

In my opinion in marlin uart mode for tmc5160 is not supported yet but it would be great if you can include it in nest update

Keith Bennett @.***> ezt írta (időpont: 2021. ápr. 9., P, 4:06):

The 5160 can communicate through SPI or UART, but defaults to SPI within Marlin (and that's why I tagged teemuatlut to see if this is a library or Marlin request).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MarlinFirmware/Marlin/issues/21555#issuecomment-816349415, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALBOAPWOJP6Q57IXFRPUDTTTHZOJXANCNFSM42PDW2MA .

teemuatlut commented 3 years ago

The current architecture doesn't make it easy as 5160 derives from 5130->2160->2130. The new v1 release uses CRTP and it would make implementing this easier. Though I would always prefer a synchronous protocol like SPI over UART.