bigtreetech / Manta-M5P

57 stars 8 forks source link

TMC5160 HV / Unable to write tmc spi 'stepper_x' register GLOBALSCALER / BTT mini12864 LCD #14

Closed michalfrnoch closed 1 year ago

michalfrnoch commented 1 year ago

If I use the TMC5160 HV/PRO controllers for X and Y, when I try G28, the bed moves down (Ender5) correctly, and then when the motors should move for movement in the X axis, an error pops up: Unable to write tmc spi 'stepper_x' register GLOBALSCALER. Properly connected to SPI and motor power set to VBB. Tried 2 brands of TMC5160HV/PRO drivers: Bigtreetech and XinDongWang. and the 2 Manta M5P boards I bought behave the same way.

printer.cfg.txt

355633370_233644296160334_6848734761731783607_n

358649701_3541738982775338_6534356711774007447_n

359239156_973600390618778_8502846487677271629_n

355663334_234949042809656_5356906042237872929_n

klippy.log

michalfrnoch commented 1 year ago

So the whole problem was in the disputed setting between HW SPI and SW SPI on the TMC and the display. it was enough to correct the display settings on the SPI SW, see screen

image image