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

    Duet WiFi Additional Stepper Drivers with SPI

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    7
    588
    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.
    • MacNiteundefined
      MacNite
      last edited by

      Hey guys,

      I want to add 2 Stepper drivers to my Duet WiFi. I know I can Just use the DUEX2 but that is Overkill because I only Need the drivers.

      What is the simplest was to so that? Preferably in a way that the WiFi can Talk to the drivers over spi.
      What is the easiest way to do so?
      Can I use the breakout Board or can I "Just" Connect additional drivers to the Expansion Header?

      How would you do that?

      Greets
      Max

      CorEssentials on GitHub | Instructables Profile | Thingiverse Profile

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

        The only SPI-controlled drivers supported by the Duet 2 build of RRF is the TMC2660. There are a few TMC2660-based single driver boards, for example the TMC2660-BOB.

        There are a couple of complications with using TMC2660 breakout boards instead of the DueX2. First, RRF assumes that the sense resistors are 0.05 ohms. If your breakout boards use different value sense resistors, the motor current you set will be scaled accordingly. Second, unless RRF detects that a DueX board is present, it will assume that any additional drivers are not addressable via SPI. The simplest way to fix that is to compile the firmware yourself, changing the line in file Platform.cpp that sets the value of numSmartDrivers.

        Alternatively you can use non-SPI controlled driver modules.

        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
        • Danalundefined
          Danal
          last edited by

          @dc42 said in Duet WiFi Additional Stepper Drivers with SPI:

          Alternatively you can use non-SPI controlled driver modules.

          TMC2130s were Trinamic's transition from jumpers to SPI. They do both. It not quite as nice as full SPI control, but very close, to use 2130s with just jumpers and the pot for current, and therefore they'd only need step/dir/enable from the expander.

          Delta / Kossel printer fanatic

          DSGundefined 1 Reply Last reply Reply Quote 1
          • MacNiteundefined
            MacNite
            last edited by

            Thanks for your response!

            For the time beeing I'll try some drivers I have laying around (without SPI) to just test it....maybe later on I'll return to the SPI-question. Mostly because I don't know how to compile duet firmware on my own and have to read that up 🙂

            Have a nice day,
            Max

            CorEssentials on GitHub | Instructables Profile | Thingiverse Profile

            1 Reply Last reply Reply Quote 1
            • DSGundefined
              DSG @Danal
              last edited by

              @Danal you mean duet2 board can use tmc2130 in spi mode? What spi port on the main can I connect to driver? Thanks!

              zaptaundefined dc42undefined 2 Replies Last reply Reply Quote 0
              • zaptaundefined
                zapta @DSG
                last edited by

                @DSG, unfortunately Danal passed away but hopefully somebody else can answer your question.

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

                  @DSG, see my response dated 4 Jan 2020.

                  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