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

    TMC2660 - Random Off Time

    Scheduled Pinned Locked Moved
    Firmware wishlist
    2
    7
    2.0k
    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.
    • yngndrwundefined
      yngndrw
      last edited by

      So I was reading through the TMC2660 datasheet, as you do, and noticed a section (9.2.1, page 36) about a "Random Off Time" which is meant to reduce the beat frequency that you get between the two unsynchronised current loops.

      The datasheet isn't clear whether or not it can be used with the Spread Cycle mode than the Duet uses, but I was wondering if you guys had seen / tried this option with the aim of reducing noise ?

      It looks like a constant is already defined for it in the firmware:
      https://github.com/dc42/RepRapFirmware/blob/7df2717ebd680abf1b541dae800cfdc3b6298a02/src/DuetNG/TMC2660.cpp#L67

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

        If you look at the source code carefully you will find there is an undocumented way of setting the TMC2660 chopper control register via GCode. Please use this carefully as it may be possible to damage the drivers by writing inappropriate values to that register.

        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
        • yngndrwundefined
          yngndrw
          last edited by

          Ahh, that's a well hidden command.

          I'll have a go at trying this option and will double check the settings in the datasheet before I do.

          Have you tried these options or have you always just used the default Spread Cycle mode ?

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

            I have only used the default values.

            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
            • yngndrwundefined
              yngndrw
              last edited by

              Fair enough, it sounds like a journey of discovery awaits me. I'll give it a try some time this week and report back.

              1 Reply Last reply Reply Quote 0
              • yngndrwundefined
                yngndrw
                last edited by

                I've just tried all of the combinations of these settings:
                Chopper mode = Spread cycle, Random TOFF time = Disabled (Default)
                Chopper mode = Constant TOFF, Random TOFF time = Disabled
                Chopper mode = Spread cycle, Random TOFF time = Enabled
                Chopper mode = Constant TOFF, Random TOFF time = Enabled

                The default is quietest, constant TOFF was slightly noisier and random TOFF was always noticeably noisier.

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

                  Thanks for that report.

                  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
                  • First post
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA