Welcome! Log In Create A New Profile

Advanced

TMC2130 use_tmc_sw_spi driver error

Posted by sarf2k4 
TMC2130 use_tmc_sw_spi driver error
September 20, 2018 07:02AM
Hi,

I've setup everything with tmc2130 to use with spi mode. I did multiple tests that mosi is on pin 44 and able to confirm that I can't use pin 44 because when there's a wire plugged into that pin, firmware just got into "driver error, please restart" screen. Even if the wire just plugged there not connected to the driver pin.

By default, pin 44 are default to e1 if I'm not mistaken and this may be due to clash between them. I still haven't tried to shift mosi pin to other pins yet as I am quite confused which is which. I also tried moving the sw_mosi from pin 44 to 58, the firmware kept throwing me same error regardless of the wire being plugged or not on both ends.

I am using an arduino ch340 mega 2560 burnt 12v regulator along with bigtreetech's ramps1.6+tmc2130 as well as 2004 lcd panel.

I also put 2 power source, 12v to the ramps, usb to the arduino mega so the mega able to function properly
Attachments:
open | download - Conditionals.h (1 KB)
open | download - Configuration_adv.h (67.1 KB)
open | download - pins_RAMPS.h (15.3 KB)
Re: TMC2130 use_tmc_sw_spi driver error
September 20, 2018 07:31AM
software SPI... horrible....

yes the default pin presumes you are not using E1 for anything

you can change it to any pin you like.

Why not just use the real physical SPI ports?

Edited 2 time(s). Last edit at 09/20/2018 07:40AM by Dust.
Re: TMC2130 use_tmc_sw_spi driver error
September 20, 2018 08:03AM
Thought that I would able to use the software spi so the whole board wiring and assembly looks cleaner.

Is there any clash if I leave the x and y cs pin to default which is 53 and 49?

I was thinking to move all cs pins to 63, 40, 42, 65 and 66 if there are no clash on aux-2
Sorry, only registered users may post in this forum.

Click here to login