teemuatlut / TMCStepper

MIT License
515 stars 201 forks source link

ESP32 SOFTWARE SERIAL USE #257

Open Rmdhn1 opened 2 years ago

Rmdhn1 commented 2 years ago

It's possible to use up to 8 drivers with the ESP32 using 2 hardware serial and TMC2209 which can be set to differing UART addresses. But because the esp32 only has 3 UARTs, one for usb, you can only connect two TMC2208s, is it possible to connect more using software serial? https://github.com/plerup/espsoftwareserial

cranefist commented 2 years ago

I noticed that in the datasheet there is explained a method on how to use more than 4 drivers in single UART port. image Page 18 https://www.trinamic.com/fileadmin/assets/Products/ICs_Documents/TMC2209_Datasheet_V103.pdf

Rmdhn1 commented 2 years ago

That'd seems like a fun challenge to make it work with marlin

On Tue, 1 Nov 2022, 01:23 cranefist, @.***> wrote:

I noticed that in the datasheet there is explained a method on how to use more than 4 drivers in single UART port. [image: image] https://user-images.githubusercontent.com/35430692/199081497-9b38d654-b07e-4015-9d9f-926391be4ad3.png Page 18

https://www.trinamic.com/fileadmin/assets/Products/ICs_Documents/TMC2209_Datasheet_V103.pdf

— Reply to this email directly, view it on GitHub https://github.com/teemuatlut/TMCStepper/issues/257#issuecomment-1297492958, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM4WETMFIPYYVU74K4A4YCDWGAFCFANCNFSM6AAAAAARNXUTGY . You are receiving this because you authored the thread.Message ID: @.***>