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

How to connect the TMC2160 drive board to DUET3MB6XD

Scheduled Pinned Locked Moved
Using Duet Controllers
2
4
169
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.
  • undefined
    ansonyang
    last edited by 1 Nov 2022, 08:02

    hello everyone

    How to connect the TMC2160 drive board to DUET3MB6XDQQ截图20221101155321.jpg

    undefined 1 Reply Last reply 1 Nov 2022, 08:26 Reply Quote 0
    • undefined
      dc42 administrators @ansonyang
      last edited by 1 Nov 2022, 08:26

      @ansonyang please post a link to the user manual for that board.

      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

      undefined 1 Reply Last reply 1 Nov 2022, 08:31 Reply Quote 0
      • undefined
        ansonyang @dc42
        last edited by 1 Nov 2022, 08:31

        @dc42 https://www.aliexpress.com/item/1000007377570.html?spm=a2g0o.productlist.0.0.79bc231dBcsQSC&algo_pvid=7685f28d-8bc0-4f41-ac00-6200ee55258d&algo_exp_id=7685f28d-8bc0-4f41-ac00-6200ee55258d-0&pdp_ext_f={"sku_id"%3A"1000108751369"}&pdp_npi=2%40dis!USD!12.0!9.6!!!!!%402133f17c16672914432608735e3ac6!1000108751369!sea&curPageLogUid=d03Nm0gnDpXh&gatewayAdapt=4itemAdapt

        undefined 1 Reply Last reply 1 Nov 2022, 09:35 Reply Quote 0
        • undefined
          dc42 administrators @ansonyang
          last edited by 1 Nov 2022, 09:35

          @ansonyang unfortunately they have chosen to use a common ground for the three optically isolated inputs, instead of providing both +ve and -ve inputs as is normal. As a result, the inputs of that board are not directly compatible with the outputs of the 6XD, which are open drain. You could connect them directly as shown in the diagram on that page and add a pullup resistor (I suggest between 470 ohm and 1K) between each one and the +5V pin on the 6XD. This will result in all three signals being inverted. You can correct for direction inversion using the M569 command in config.g, and you can correct for Enable inversion using the Enable polarity jumper on the 6XD if all your external drivers need the same polarity. The Step input pulse polarity cannot be inverted, however I think using reverse step polarity may work if you set the direction hold time to at least 1us.

          I am puzzled at to why you are using these drivers with the 6XD, instead of choosing the 6HC which has similar drivers on board with full SPI control.

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