bigtreetech / BIGTREETECH-SKR-PRO-V1.1

Aiming at some problems existing in 3D printed motherboards in the market. Bigtree Technology Co., Ltd. launched a high performance 3D printer master board with STM32F407ZGT6 as the core controller, BIGTREETECH-SKR-PRO-V1.1.
274 stars 221 forks source link

Endstops not working with TMC5160 #52

Closed MtPegasus closed 3 years ago

MtPegasus commented 5 years ago

Hello,

I have set up the board with TMC5160 on X/Y/Z-axis. I use mechanical switches like before on my old board. When the endstops switch the LED on the board goes on but the axis continues to move.

I tried different things like changing the logic, changing the pin and the port. It does not work Sensorless homing is off!

MtPegasus commented 5 years ago

additional info: the diag pin is not connected

JJHMARR2020 commented 5 years ago

Does the Z axis acknowledge the endstops?

MtPegasus commented 5 years ago

no she does not

JJHMARR2020 commented 5 years ago

Are the drivers running in SPI?

JJHMARR2020 commented 5 years ago

In the section where motor drivers are defined you should try changing from TMC5160 to TMC5160_Standalone; this disables SPI for the motors. This setting is found starting on line 650 in Configuration.h There is a possibility it might fix the issue, but it doesn't explain why it was happening. I originally had a similar issue with my TMC2130's. I run all in SPI with Stallgaurd 2 on X and Y with two physical endstops for the dual Z axis. This board requires inverted logic for endstops.

MtPegasus commented 5 years ago

Yes they are running in SPI. Im compiling now with TMC5160_Standalone.

MtPegasus commented 5 years ago

ok, now the axes are not moving

JJHMARR2020 commented 5 years ago

I would connect to the board with Pronterface and send the command M119. Share your results to see the states of your endstops

emilhse commented 5 years ago

Hello,

I have set up the board with TMC5160 on X/Y/Z-axis. I use mechanical switches like before on my old board. When the endstops switch the LED on the board goes on but the axis continues to move.

I tried different things like changing the logic, changing the pin and the port. It does not work Sensorless homing is off!

can you please share how did you setup tmc5160 ? some how i can't get it working please help

emilhse commented 5 years ago

@MtPegasus can you please share your config files to set up tmc5160 with skr pro?

evandene commented 4 years ago

Could it be you are using the row of connectors closest to de stepper drivers? X Y Z is the other row

emilhse commented 4 years ago

Hello,

I have set up the board with TMC5160 on X/Y/Z-axis. I use mechanical switches like before on my old board. When the endstops switch the LED on the board goes on but the axis continues to move.

I tried different things like changing the logic, changing the pin and the port. It does not work Sensorless homing is off!

Please check if you have inverted endstops in Marlin settings because most likely board sees them as they are triggered ,that can cause the problem

dineshvyas commented 4 years ago

can you post photoghtaph of your board with jumpers? this might give some clue.

emilhse commented 4 years ago

Ok I will do that tomorrow

evandene commented 4 years ago

can you post photoghtaph of your board with jumpers? this might give some clue. No need for jumpers when in SPI mode = standard. Works out of the box including end stops

MrLAtt commented 4 years ago

I am having the same issue, but I am using sensorless homing with TMC2209 drivers.

the sensorless homing on the X and Y axis works perfectly, but the endstop on the Z Axis doesn't work at all.

I'm sure I'm plugged into the right port, and that my endstop is triggering the correct way ( I've tried all the ports, and have switched between the endstop pulling low, and high)

When I send an M119 it says that all three are open, regardless of actual endstop status

can anyone help?

HugeMissedSteak commented 4 years ago

If you use sensorless homing compatible drivers, then usually the stallguard pin needs to be disconnected (cut off) so that the mechanical switches will work. Alternatively you can change the firmware to use the endstops of a different input that is not shared with the stallguard (i.e. from an unsed axis)

image

MrLAtt commented 4 years ago

Perfect, that (and then reversing the triggering of the endstop) solved the problem!

however, now i have a new problem, my extruder motor isnt moving. It worked for about 5 Minutes, then just stopped.

i've tried swapping driver boards, extruder motors, and switching the pins of E0 and E1 and then using the E1 'slot' instead, and nothing has solved it.

I also tried switching to the BigTreeTech pre-setup firmware, and it still didn't work.

As far as i can tell, i have ruled out the board, the driver and the motor. What could it be?

And its not the cold extrusion prevention, I am preheating the nozzel ;)

evandene commented 4 years ago

It's now a few months ago and I wonder if you have managed to run you SKR PRO V1.1 board with the TMC5160 drivers

Perfect, that (and then reversing the triggering of the endstop) solved the problem!

however, now i have a new problem, my extruder motor isnt moving. It worked for about 5 Minutes, then just stopped.

i've tried swapping driver boards, extruder motors, and switching the pins of E0 and E1 and then using the E1 'slot' instead, and nothing has solved it.

I also tried switching to the BigTreeTech pre-setup firmware, and it still didn't work.

As far as i can tell, i have ruled out the board, the driver and the motor. What could it be?

And its not the cold extrusion prevention, I am preheating the nozzel ;)

It's now a few months ago and I wonder if you have managed to run you SKR PRO V1.1 board with the TMC5160 drivers, did you? Could you please share your solution(s)? Thanks

oldman4U commented 4 years ago

Seems this ticket is not in use any more.

@thinkyhead (Could you please close this ticket due to inactivity)

Thank you

thinkyhead commented 4 years ago

Only @mtpegasus or @bigtreetech can close this issue.

oldman4U commented 4 years ago

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

oldman4U commented 3 years ago

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