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

Sensorless homing + Skr Pro 1.1 + TMC5160 + Marlin 2.0 = is that possible ? #96

Closed GiovaneMunhoz closed 4 years ago

GiovaneMunhoz commented 4 years ago

Hello guys, i'm trying to setup a sensorless homing on tmc5160 v1.2 (spi) and skr pro, using Marlin 2.0, but I did every single sh*** that I found on google, but the endstops dont trigger, Im about to give you, becouse there's is nothing that I didnt do.

But, if someone has figured out how to make it work, I Will be very happy to know how.

My marlin files: https://drive.google.com/open?id=1FXjLBxjaVRBTd6YxUVsU0fO5yQepG6gC

Edit: Diag pin is conected!

Thanks.

GadgetAngel commented 4 years ago

@GiovaneMunhoz If you setup Sensorless Homing on all your axis, then by definition of Sensorless homing you will not need to trigger your ENDSTOPs. When you do a M119 all your endstops should show OPEN, that’s assuming you defined Sensorless Homing on X, Y and Z. I hope this helps

GiovaneMunhoz commented 4 years ago

@GadgetAngel of course my endstop will not trigger, couse' Im using sensorless homing! But when I home any axis, the stallguard dont stop the axis when hit the corner, my machine keeps pushing the axis through the corner even when gets stuck. So sensorless homing dont work, it dont sense when is on end of course.

Mariu86 commented 4 years ago

You must change the sensitivity for sensorless homing!

GiovaneMunhoz commented 4 years ago

@Mariu86 I've tried every single sensitivity number possible. From -64 to 64, that is the range that I've found of tmc5160, tell me if im wrong.

GadgetAngel commented 4 years ago

@GiovaneMunhoz Can you post a link to your Marlin files?? Like put the whole Marlin folder on Google Drive and share it to the public by supplying us with the link to the top Marlin folder. If you do that I could look at your configuration of Marlin and see if something is off.

GadgetAngel commented 4 years ago

@GiovaneMunhoz Did you de-solder the CLK pin on the TMC5160, and then, connect CLK pin on the TMC5160 to the GND pin on the TMC5160 before pugging them into the SKR PRO V1.1 board?? https://github.com/MarlinFirmware/Marlin/issues/13544#issuecomment-478625383

Here is a file that shows All the Stepper Motor Driver configuration for the SKR PRO board. It was created by @rflulling. Here it is: https://doc-0k-c4-docs.googleusercontent.com/docs/securesc/seim4417k8n16rvc6rl28ib17otc3iek/3ohsos0r5999avqtuin34rmgbvo6bq7t/1580551200000/06483777329211841429/05169398407596378373/1CR7NcZsWs012gB1fWaCSrZSwWh_6bvzq?e=download&nonce=atcujea3apa26&user=05169398407596378373&authuser=0&hash=rsfcp8t4m3890olu52lalaj8va4kdtqd

If the above link does not work, try this one: https://drive.google.com/file/d/1AK4_RM3cvM4ar4Fx1Kf7UHncVgKvZTg5/view?usp=drivesdk

GiovaneMunhoz commented 4 years ago

@GadgetAngel I didnt solder CLK pin to GND, on my research I found that is not needed on BTT TMC5160 v1.2, even on v1.2 I still have to do this?

Check this info: Sem título

GiovaneMunhoz commented 4 years ago

@GadgetAngel Check my marlin files: https://drive.google.com/open?id=1FXjLBxjaVRBTd6YxUVsU0fO5yQepG6gC

GadgetAngel commented 4 years ago

@GadgetAngel I didnt solder CLK pin to GND, on my research I found that is not needed on BTT TMC5160 v1.2, even on v1.2 I still have to do this?

Check this info: Sem título

Check with Multi-Meter to see if the CLK is going to ground. I see conflicting info on weather this fix has been implemented. So depending on when you bought your TMC5160, it could be fixed OR it could NOT be fixed. Again check the CLK pin on the TMC5160 to ensure it is going to GND with your multimeter.

GiovaneMunhoz commented 4 years ago

@GadgetAngel Thanks for the tips, I will check.

What about my marlin configs, is everything ok?

GiovaneMunhoz commented 4 years ago

@GadgetAngel I didnt solder CLK pin to GND, on my research I found that is not needed on BTT TMC5160 v1.2, even on v1.2 I still have to do this? Check this info: Sem título

Check with Multi-Meter to see if the CLK is going to ground. I see conflicting info on weather this fix has been implemented. So depending on when you bought your TMC5160, it could be fixed OR it could NOT be fixed. Again check the CLK pin on the TMC5160 to ensure it is going to GND with your multimeter.

I did What you said using multi-meter, and all my tmc5160 v1.2 have CLK and GND conected. I used the continuity test to check.

GiovaneMunhoz commented 4 years ago

@GadgetAngel One question, the only wiring I have to do, is solder the diag pin on stepper driver and plug it on the board, right?

GiovaneMunhoz commented 4 years ago

Thanks everyone who try to help, Reading about stallguard I saw that stallguard Will only work when stealthchop is disabled and in my case mas enabled, know sensorless homing is working. Marlin site: "StallGuard is only active when the driver is in spreadCycle mode."

So I had to disable stealthchop and marlin Will auto switch to spreadcycle and sensorless Will work. Using tmc5160 v1.2 I set sensitivity at 3 or even 2 for X and Y.

Thanks @GadgetAngel for helping.

GadgetAngel commented 4 years ago

@GadgetAngel Thanks for the tips, I will check.

What about my marlin configs, is everything ok?

I will look at it tomorrow, I have been testing my stepper drivers on the SKR PRO V1.1 board today. I have A4988, DRV8825, LV8729, TMC2100, TMC2130, TMC2208,TMC2209,TMC5160. I only got the A4988 and DRV8825 today. But I will look at your conf files tomorrow. I have a copy of Marlin already done for my TMC5160. I just have not tested it yet.

GadgetAngel commented 4 years ago

Thanks everyone who try to help, Reading about stallguard I saw that stallguard Will only work when stealthchop is disabled and in my case mas enabled, know sensorless homing is working. Marlin site: "StallGuard is only active when the driver is in spreadCycle mode."

So I had to disable stealthchop and marlin Will auto switch to spreadcycle and sensorless Will work. Using tmc5160 v1.2 I set sensitivity at 3 or even 2 for X and Y.

Thanks @GadgetAngel for helping.

I was not aware of this either, thanks for letting me know

GiovaneMunhoz commented 4 years ago

@GadgetAngel Thanks for the tips, I will check. What about my marlin configs, is everything ok?

I will look at it tomorrow, I have been testing my stepper drivers on the SKR PRO V1.1 board today. I have A4988, DRV8825, LV8729, TMC2100, TMC2130, TMC2208,TMC2209,TMC5160. I only got the A4988 and DRV8825 today. But I will look at your conf files tomorrow. I have a copy of Marlin already done for my TMC5160. I just have not tested it yet.

Dont bother to check those files, I have changed. I Will up again my files with changes that make my print work, maybe help you or someone.

DroneMang commented 4 years ago

Does anyone on this thread have their current config and configuration advanced files for the SKR pro and TMC5160? I have been working with the 2209's but I can't seem to get above 350 milliamps without strong active cooling and I would like to not have a fan in the case. Thanks!

sn0wrider commented 4 years ago

Thanks everyone who try to help, Reading about stallguard I saw that stallguard Will only work when stealthchop is disabled and in my case mas enabled, know sensorless homing is working. Marlin site: "StallGuard is only active when the driver is in spreadCycle mode."

So I had to disable stealthchop and marlin Will auto switch to spreadcycle and sensorless Will work. Using tmc5160 v1.2 I set sensitivity at 3 or even 2 for X and Y.

Thanks @GadgetAngel for helping.

Hi, can you put works configuration files to google drive? Best rgs

GiovaneMunhoz commented 4 years ago

Does anyone on this thread have their current config and configuration advanced files for the SKR pro and TMC5160? I have been working with the 2209's but I can't seem to get above 350 milliamps without strong active cooling and I would like to not have a fan in the case. Thanks!

Im using tmc5160 with 300-400 mah with no cooling at all, they run very cold. Just lower the mah.

GiovaneMunhoz commented 4 years ago

Thanks everyone who try to help, Reading about stallguard I saw that stallguard Will only work when stealthchop is disabled and in my case mas enabled, know sensorless homing is working. Marlin site: "StallGuard is only active when the driver is in spreadCycle mode." So I had to disable stealthchop and marlin Will auto switch to spreadcycle and sensorless Will work. Using tmc5160 v1.2 I set sensitivity at 3 or even 2 for X and Y. Thanks @GadgetAngel for helping.

Hi, can you put works configuration files to google drive? Best rgs

I gave up of using sensorless, they dont work at all. Im using endstop in all axis.

DroneMang commented 4 years ago

Here are working config files for an SKR Pro V1.1 with TCM 5160 V1.2 on an FT-6, BLTouch 3.1 in 5V and SW mode, sensorless homing. Sensorless homing works fine. 800 mah for XYZ and sensitivity set M914 X2 Y4.

Marlin-2.0.x-5160.zip

5V mode may not be necessary, but having probe issues per here: https://github.com/MarlinFirmware/Marlin/issues/17337

so I am trying to diagnose.

sn0wrider commented 4 years ago

Thank you!!!