mvCNC-Modern-Vintage-CNC-Firmware icon indicating copy to clipboard operation
mvCNC-Modern-Vintage-CNC-Firmware copied to clipboard

TMC driver communication issues via UART/SPI

Open azteknetworking opened this issue 2 years ago • 0 comments

Description

Firmware successfully compiles and installs, but only one of the TMC drivers is able to properly communicate with Marlin. Drivers can move all stepper motors but 4 of 5 drivers cannot change settings within the drivers such as stealth chop vs spread cycle, etc, nor query status.

Board is an Octopus Pro (F446 chip version)

Configuration is Single X(TMC2209-UART), Dual Y(TMC2209-UART), and Dual Z(TMC5160-SPI) motors

Jumpers confirmed for X and Y drivers to enable UART communications Jumpers confirmed for Z drivers to enable SPI communications

Steps to Reproduce

Compile firmware per instructions and install.

From serial console to Marlin, enter "M122" gcode to debug TMC drivers

Expected behavior: [What you expect to happen]

normal debug with all drivers via UART or SPI

Actual behavior: [What actually happens]

M122 Testing X connection... OK Testing Y connection... Error: All LOW Testing Y2 connection... Error: All LOW Testing Z connection... Error: All HIGH Testing Z2 connection... Error: All HIGH //action:notification TMC CONNECTION ERROR ok

X axis communicates perfectly, but all other drivers broken. This has also been tested with all 5 TMC2209 drivers set to UART mode. Same behavior.

Additional Information

config files attached marlinconfigs.zip

azteknetworking avatar Dec 16 '22 17:12 azteknetworking