Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    TMC2660 What khz?

    Scheduled Pinned Locked Moved
    Third-party add-ons
    5
    9
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • FBGundefined
      FBG
      last edited by

      I am try to find in this website

      https://wilriker.github.io/microstep-calculator/

      the best values for me extruder but i don't know the Maximum step rate-KHZ of TMC2660 driver than use the Duet Ethernet.

      Somebody can help me?

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by dc42

        I recommend that you normally keep below 100kHz to avoid overloading the processor. However for single motor moves such as extruder retraction, you can go to 200kHz or even higher.

        As a rule of thumb, when using 1.75mm filament I suggest choosing extruder microstepping to give about 800 microsteps/mm.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • FBGundefined
          FBG
          last edited by

          If i use 200khz:

          So, if my step/mm is 600 in x16 (non interpolated) i can use a retraction of 10mm in 6000mm/min. True?

          But i can't use x16 interpolated to 256 because the table say me than maximum is 1250mm/min?

          I am confused or i say true?

          Phaedruxundefined deckingmanundefined 2 Replies Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @FBG
            last edited by

            @fbg 16 interpolated to 256 still uses the same step rate as 16.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • wilrikerundefined
              wilriker
              last edited by

              To conclude an that topic a little bit more:
              the TMC2660 driver can probably handle a lot more steps than the Duet's processor can create. Therefore the processor is the limiting factor in this case.

              This is also why - as @Phaedrux already pointed out - the driver will happily interpolate from x16 to x256 by dividing every pulse coming from the Duet at x16 into another sub-set of 16 microsteps.

              In your case you with 600 steps/mm you can retract with up to 20,000mm/min at x16 (interpolated or not) - but unless you are using 24V it is highly unlikely that back EMF won't stop you from reaching this speed even with the lowest induction motors around.

              Manuel
              Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
              with probably always latest firmware/DWC (incl. betas or self-compiled)
              My Tool Collection

              1 Reply Last reply Reply Quote 0
              • deckingmanundefined
                deckingman @FBG
                last edited by

                @fbg said in TMC2660 What khz?:

                If i use 200khz:

                So, if my step/mm is 600 in x16 (non interpolated) i can use a retraction of 10mm in 6000mm/min. True?

                But i can't use x16 interpolated to 256 because the table say me than maximum is 1250mm/min?

                I am confused or i say true?

                In case you are still confused after @Phaedrux and @wilriker answers, when you use 16x with interpolation, the Duet outputs 16X micro stepping but the TMC driver chip takes those micro steps and subdivides them into 16 smaller steps. The 200KHz limit applies to the Duet output and it does not matter if you use interpolation or not.

                Ian
                https://somei3deas.wordpress.com/
                https://www.youtube.com/@deckingman

                1 Reply Last reply Reply Quote 0
                • FBGundefined
                  FBG
                  last edited by

                  OMG!!! Thanks for the answers!
                  Now i understand perfectly than is the Khz value.
                  @wilriker : I use 24V dc yes

                  @Phaedrux If the step rate will be 16 interpolated or not, SO, WHY use interpolated?
                  What is the advantage of use interpolated if the final step rate will be the same and the calculations is the same if i use interpolated or not???

                  deckingmanundefined 1 Reply Last reply Reply Quote 0
                  • deckingmanundefined
                    deckingman @FBG
                    last edited by

                    @fbg said in TMC2660 What khz?:

                    @Phaedrux If the step rate will be 16 interpolated or not, SO, WHY use interpolated?
                    What is the advantage of use interpolated if the final step rate will be the same and the calculations is the same if i use interpolated or not???

                    It just makes it quieter. As we've tried to explain, Duet will output 16X micro-stepping but then the driver chip will divide those 16 micro-steps into another 16 smaller ones. So effectively what the motor sees is 256X even though Duet outputs 16X.

                    Ian
                    https://somei3deas.wordpress.com/
                    https://www.youtube.com/@deckingman

                    1 Reply Last reply Reply Quote 0
                    • FBGundefined
                      FBG
                      last edited by

                      Ok i understand.
                      So with the same "CPU load" in duet, i will have 256 micro-steps between TMC2660 and stepper.

                      Thanks for explain

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA