• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    Th0mpy
    last edited by Th0mpy 15 Sept 2022, 16:27

    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.

    undefined 1 Reply Last reply 15 Sept 2022, 16:50 Reply Quote 0
    • undefined
      T3P3Tony administrators @Th0mpy
      last edited by 15 Sept 2022, 16:50

      @th0mpy its under investigation!

      www.duet3d.com

      undefined 1 Reply Last reply 19 Sept 2022, 01:09 Reply Quote 4
      • undefined
        zapta @T3P3Tony
        last edited by 19 Sept 2022, 01:09

        There are even controllers that are based on the RP2040.

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

        undefined 1 Reply Last reply 19 Sept 2022, 06:32 Reply Quote 0
        • undefined
          o_lampe @zapta
          last edited by o_lampe 19 Sept 2022, 06:32

          @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.

          undefined undefined 2 Replies Last reply 19 Sept 2022, 15:38 Reply Quote 0
          • undefined
            zapta @o_lampe
            last edited by 19 Sept 2022, 15:38

            @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
            • undefined
              pixelpieper @o_lampe
              last edited by 11 Dec 2022, 19:29

              @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

              undefined 1 Reply Last reply 12 Dec 2022, 07:45 Reply Quote 0
              • undefined
                o_lampe @pixelpieper
                last edited by 12 Dec 2022, 07:45

                @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 ?

                undefined 1 Reply Last reply 12 Dec 2022, 15:12 Reply Quote 0
                • undefined
                  dc42 administrators @o_lampe
                  last edited by 12 Dec 2022, 15:12

                  @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

                  undefined 1 Reply Last reply 13 Dec 2022, 08:35 Reply Quote 1
                  • undefined
                    o_lampe @dc42
                    last edited by 13 Dec 2022, 08:35

                    @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.

                    undefined 1 Reply Last reply 13 Dec 2022, 10:05 Reply Quote 1
                    • undefined
                      dc42 administrators @o_lampe
                      last edited by 13 Dec 2022, 10:05

                      @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