Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Solved TMC2208 Causing Duet WiFi to reset

    General Discussion
    3
    8
    80
    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.
    • Noa Treiman
      Noa Treiman last edited by

      Hello, when I send a move command to the external motor driver, connect through drive 9, the duet resets itself. I’ve checked the wiring with the stepper motor and it is correct. There don’t appear to be any faults. I’ve noticed before that the TMC2208 causes significant voltage spikes when it is in use in other circuits, so maybe this is the problem. I don’t have any decoupling capacitors placed at the moment. Please let me know if you’ve encountered a similar problem. Thanks!

      o_lampe dc42 2 Replies Last reply Reply Quote 0
      • o_lampe
        o_lampe @Noa Treiman last edited by

        @Noa-Treiman Using TMC boards can be tricky, because you have to configure them to match your controller.
        Are you familiar with the FYSETC Wiki? There you can find more details about them.
        I had good results with them in standalone mode (no UART support) on Duet2Wifi and in UART mode on a Fly Mellow board running RRF.

        Noa Treiman 1 Reply Last reply Reply Quote 1
        • dc42
          dc42 administrators @Noa Treiman last edited by

          @Noa-Treiman are you using a stepstick-format TMC2208 board? If so, have you connected a 100uF or greater capacitor between the power pins of that module, close to the module? That capacitor is required and not included on the stepstick.

          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

          Noa Treiman 1 Reply Last reply Reply Quote 1
          • Noa Treiman
            Noa Treiman @dc42 last edited by

            @dc42 Thanks so much for your advice! I believe it is a stepstick format. I didn’t realize I connected a 12V capacitor across the 24V power input to the motor driver. Suffice it to say the capacitor popped. Now the board’s wifi network is not showing up anymore and I can’t communicate with it over serial. LEDs are still illuminated on the duet wifi. Do you think I could’ve killed the board with this mistake?

            Noa Treiman 1 Reply Last reply Reply Quote 0
            • Noa Treiman
              Noa Treiman @Noa Treiman last edited by

              @Noa-Treiman Update: The Atmel CPU is very hot

              dc42 1 Reply Last reply Reply Quote 0
              • Noa Treiman
                Noa Treiman @o_lampe last edited by

                @o_lampe Thanks for the link. The wiki is super handy!! I also found standalone to be the easiest in prior setups—the current setting potentiometer is pretty finicky though!

                1 Reply Last reply Reply Quote 0
                • dc42
                  dc42 administrators @Noa Treiman last edited by

                  @Noa-Treiman said in TMC2208 Causing Duet WiFi to reset:

                  @Noa-Treiman Update: The Atmel CPU is very hot

                  Unfortunately, that probably means that the CPU has been damaged by incorrect wiring between the Duet and the stepstick, resulting in more than 3.3V being fed back into one of the Duet pins that you connected it to. A bad or missing ground connection between the stepstick and the Duet could do that.

                  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

                  Noa Treiman 1 Reply Last reply Reply Quote 1
                  • Noa Treiman
                    Noa Treiman @dc42 last edited by

                    @dc42 Oh you know what, I think the ground connection did get separated. I did not know that was a thing. Oh well, good to learn 🙂

                    I have a duet6HC mainboard that I connected and will finish my project with it. It’s a duel extruder add-on for my ender 3. I will post when its done!

                    1 Reply Last reply Reply Quote 0
                    • Topic has been marked as a question  T3P3Tony T3P3Tony 
                    • Topic has been marked as solved  T3P3Tony T3P3Tony 
                    • First post
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA