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

    Support for RP2040?

    Scheduled Pinned Locked Moved
    Other control boards
    6
    10
    935
    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.
    • Th0mpyundefined
      Th0mpy
      last edited by Th0mpy

      Happened to notice in Github today that there's a new repository for RP2040. Are there plans to add support for the RP2040 as a CAN-Connected Duet controller? I suppose it'd be similar to a Sammy-C21. Drooling at the possibility 😄

      Usually the team that scores the most points wins the game.

      T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
      • T3P3Tonyundefined
        T3P3Tony administrators @Th0mpy
        last edited by

        @th0mpy its under investigation!

        www.duet3d.com

        zaptaundefined 1 Reply Last reply Reply Quote 4
        • zaptaundefined
          zapta @T3P3Tony
          last edited by

          There are even controllers that are based on the RP2040.

          https://www.tomshardware.com/news/raspberry-pi-rp2040-3d-printer-control-board

          o_lampeundefined 1 Reply Last reply Reply Quote 0
          • o_lampeundefined
            o_lampe @zapta
            last edited by o_lampe

            @zapta
            Without CAN-FD expandability it's a dead end.
            It comes with 4 drivers and a fancy heatsink. The heatsink wouldn't be neccessary with propper board layout, but it sells 😉

            I'd like to see a RasPi-Hat with CAN-FD and some headers for external driver modules.

            zaptaundefined pixelpieperundefined 2 Replies Last reply Reply Quote 0
            • zaptaundefined
              zapta @o_lampe
              last edited by

              @o_lampe said in Support for RP2040?:

              Without CAN-FD expandability it's a dead end.

              It's a low cost board ($25) that was designed to be attached to Raspberry Pi for printers such as Voron V0 that don't have too many steppers and use Klipper. It's a nice looking little board.

              I did a project with the RP2040 and it was a pleasure using it. Intuitive design and API and great documentation. Didn't have to struggle with it as I do with other MCUs.

              1 Reply Last reply Reply Quote 1
              • pixelpieperundefined
                pixelpieper @o_lampe
                last edited by

                @o_lampe it doesn't have dedicated CAN hardware, but it does have programmable GPIO (PIO) which can be used to implement CAN, offloading at least some of the processing into a sequencer like state machine. There is still a need for the processor to take care of some of the package handling, but since we have two cores it's not that bad...

                Voron V2.434 / Duet 3 Mini5+, Duet 3 Expansion Mini 2+, Duet 1LC V1.1 Toolboard
                Voron V0.250 / Duet 2 Maestro

                o_lampeundefined 1 Reply Last reply Reply Quote 0
                • o_lampeundefined
                  o_lampe @pixelpieper
                  last edited by

                  @pixelpieper
                  That's great to hear! I knew the state machines were good for something...
                  I just read the github readme and I'm not sure if it's CAN-FD? It mentiones Can2.0B ?

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

                    @o_lampe we have implemented a subset of CAN-FD on the RP2040 in the 3.5-dev branch of project Duet3Expansion. It's still experimental because we need to stress test it in a large system to make sure it's reliable enough.

                    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

                    o_lampeundefined 1 Reply Last reply Reply Quote 1
                    • o_lampeundefined
                      o_lampe @dc42
                      last edited by

                      @dc42
                      ...and does that mean, with a RP2040, we wouldn't need the CAN-transceivers? AFAIK, they are (were?) hard to get because car industry has such high demand of it.

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

                        @o_lampe you do need the CAN transceivers. They should have low propagation delay because we can't do transmitter delay compensation on the RP2040. And yes, the MCP2542 CAN transceivers that we use on Duets and recommend for the RP2040 are hard to find at present, however the SOIC version is currently available from Microchip Direct.

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