bigtreetech / BIGTREETECH-SKR-E3-DIP-V1.0

BIGTREETECH SKR-E3-DIP-V1.0 motherboard is launched by the 3D printing team of Shenzhen BIGTREE technology co., LTD. This board is specially tailored for Ender 3 printer, perfectly replacing the original Ender3 printer motherboard.
130 stars 111 forks source link

TMC5160 connection error #18

Closed n-e-g closed 4 years ago

n-e-g commented 5 years ago

I have problem using SKR-E3-DIP-V1.0 with TMC5160 (v1.2) drivers. Configuration includes

#define X_DRIVER_TYPE  TMC5160
#define TMC_USE_SW_SPI

  #if AXIS_IS_TMC(X)
    #define X_CURRENT     800  // (mA) RMS current. Multiply by 1.414 for peak current.
    #define X_MICROSTEPS   16  // 0..256
    #define X_RSENSE     0.075
  #endif

Yet TMC seems not to be responding:

SENDING:M122
        X
Enabled     false
Set current 800
RMS current 790
MAX current 1114
Run current 23/31
Hold current    11/31
Global scaler   130/256
CS actual   31/31
PWM scale   4294967295
vsense
stealthChop true
msteps      0
tstep       4294967295
pwm
threshold
[mm/s]
OT prewarn  true
OT prewarn has
been triggered  false
off time    15
blank time  54
hysteresis
-end        12
-start      8
Stallguard thrs 0
DRVSTATUS   X
stallguard      *
sg_result   1023
fsactive        *
stst        *
olb     *
ola     *
s2gb        *
s2ga        *
otpw        *
ot      *
Driver registers:
        X   0xFF:FF:FF:FF    Bad response!
Testing X connection... Error: All HIGH

I there any special configuration needed to use TMC5016 with this board ?

hopatz commented 4 years ago

I have skr e3 dip with 4 tmc5160 v1.2 and no problems.. maybe you need try with newest bugfix marlin 2.0

RedTornado66 commented 4 years ago

Did you connected 24V during test?

oldman4U commented 4 years ago

Hello n-e-g.

Please close this ticket.

Thank you

oldman4U commented 4 years ago

@bigtreetech Could you please close this unneeded ticket. Thank you

oldman4U commented 4 years ago

Please help the community and close the ticket once you do not need it anymore. Thank you

n-e-g commented 4 years ago

Not needed anymore