bigtreetech / SKR-2

195 stars 178 forks source link

BTT SKR-2 and TMC5160 v1.0 issues #167

Closed DaddyCRO closed 2 years ago

DaddyCRO commented 2 years ago

Hi! I replaced recently BTT SKR E3 DIP motherboard with BTT SKR-2. Prepared Marlin FW in Visual Studio Code. After flashing firmware, I am getting "TMC CONNECTION ERROR" message on a main screen (Marlin mode). X and Y axis are using BTT closed loop system with A4988 drivers, and I can manually (through the Marlin LCD menu) move X and Y axis.

BUT, extruder and Z steppers I am running with TMC5160 v1.0 drivers. When I try to move extruder and Z axis, nothing is happening. I set Marlin FW similar to those settings for BTT SKR E3 DIP board (the same drivers and configuration was on that previous board). I would like to mention that in SKR E3 DIP board I did not connect PIN no 6 (CLK) on TMC5160 driver: as suggested this PIN is bent and not connected in board socket. This setup worked in E3 DIP board flawlessly. The same setup is now in SKR-2 board: PIN 6 (CLK) is not connected also.

I would like to ask for a help to solve those TMC5160 issues with SKR-2 board.

Thank you and regards, Darko

DaddyCRO commented 2 years ago

Solved! It was early in the morning when I was testing my new firmware (around 2 AM)... Forgot to uncomment "#define TMC_USE_SW_SPI" line in Configuration_adv.h file. After uncommenting this line, everything worked like a charm... Point taken is: never test new firmware when you are tired...😊