Page 1 of 1

tmc 2130 on A10m printer

Posted: Mon Nov 04, 2019 3:54 am
by thomas_1
hello,

I spent lots of time trying to update my A10M printer with TMC 2130 stepper dirvers. I want to use SPI mode and later the sensorless homing.
I have an GT2560 V3 board and a LCM0211-C2004A-V00 LCD screen with sd card. I bought the SPI 2130 v3.0 stepper drivers on aliexpress:
https://nl.aliexpress.com/item/32970150 ... 4c4dSW3Htr

after reading the folowing thread: " https://www.geeetech.com/forum/viewtopic.php?t=60658 " I started searching for mosi en miso pins i have a 40 pin sd card connection which is hard to solder so i checked the folowing link with the multimeter and did the same thing.
https://fabrizio.zellini.org/wp-content ... G_8366.jpg

I mounted one tmc 2130 driver on the extruder 0 to test i removed the jumpers underneath the drivers. The cs pin is attatched to the z stop because i have a BL touch. pin 30 in firmware.

the result is that i have a working system but it says TMC connection error. it als works when i disconnect the wires on top of the driver. This says me that i have no spi connection. not connected error all high, connected error all low. so it does something

I tried to disable lot of things in de firmware. dsabled e-prom, LCD, sspin 53, sd connection pin. but nothing woks. the m122 says Send: M122
Recv: E
Recv: Enabled false
Recv: Set current 800
Recv: RMS current 795
Recv: MAX current 1121
Recv: Run current 25/31
Recv: Hold current 12/31
Recv: CS actual 31/31
Recv: PWM scale 255
Recv: vsense 1=.18
Recv: stealthChop true
Recv: msteps 0
Recv: tstep 4294967295
Recv: pwm
Recv: threshold 61
Recv: [mm/s] -
Recv: OT prewarn true
Recv: OT prewarn has
Recv: been triggered false
Recv: off time 15
Recv: blank time 54
Recv: hysteresis
Recv: -end 12
Recv: -start 8
Recv: Stallguard thrs 0
Recv: DRVSTATUS E
Recv: stallguard *
Recv: sg_result 1023
Recv: fsactive *
Recv: stst *
Recv: olb *
Recv: ola *
Recv: s2gb *
Recv: s2ga *
Recv: otpw *
Recv: ot *
Recv: Driver registers:
Recv: E 0xFF:FF:FF:FF Bad response!
Recv:
Recv:
Recv: Testing E connection... Error: All HIGH
Recv: ok

has anyone an idee to fix the spi communication?
attatched the config-h and config adv and the pins marlin 2.0 files
configh.rar
config-h config adv -pins
(59.68 KiB) Downloaded 217 times