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

    New Raspberry Pi Zero 2W

    Scheduled Pinned Locked Moved
    General Discussion
    10
    65
    4.2k
    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.
    • zaptaundefined
      zapta @T3P3Tony
      last edited by zapta

      @t3p3tony said in New Raspberry Pi Zero 2W:

      definitely worth giving it a go though!

      How about a duet controller board with a plugged in Pi Zero for both controller and SBC functionalities?

      Edit: or a Pi Zero and a minimal MCU for i/o only, basically a Klipper style RRF on a single board.

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

        @pcr said in New Raspberry Pi Zero 2W:

        @pcr btw someone from Germany who Likes to Test the Board ?

        Ich habe heute einen Zero 2W bestellt, aber ich habe weder Duet3 oder Mini5+.
        Vielleicht @cosmowave ?

        English: I've ordered a Z2W, but don't have duet3 nor Mini5...maybe Cosmowave?

        1 Reply Last reply Reply Quote 0
        • PCRundefined
          PCR @PCR
          last edited by

          @pcr

          pi@raspberrypi:~ $ neofetch
            `.::///+:/-.        --///+//-:``    pi@raspberrypi 
           `+oooooooooooo:   `+oooooooooooo:    -------------- 
            /oooo++//ooooo:  ooooo+//+ooooo.    OS: Raspbian GNU/Linux 10 (buster) armv7l 
            `+ooooooo:-:oo-  +o+::/ooooooo:     Host: Raspberry Pi Zero 2 Rev 1.0 
             `:oooooooo+``    `.oooooooo+-      Kernel: 5.10.63-v7+ 
               `:++ooo/.        :+ooo+/.`       Uptime: 10 mins 
                  ...`  `.----.` ``..           Packages: 533 (dpkg) 
               .::::-``:::::::::.`-:::-`        Shell: bash 5.0.3 
              -:::-`   .:::::::-`  `-:::-       Terminal: /dev/pts/0 
             `::.  `.--.`  `` `.---.``.::`      CPU: BCM2835 (4) @ 1.000GHz 
                 .::::::::`  -::::::::` `       Memory: 49MiB / 427MiB 
           .::` .:::::::::- `::::::::::``::.
          -:::` ::::::::::.  ::::::::::.`:::-                           
          ::::  -::::::::.   `-::::::::  ::::
          -::-   .-:::-.``....``.-::-.   -::-
           .. ``       .::::::::.     `..`..
             -:::-`   -::::::::::`  .:::::`
             :::::::` -::::::::::` :::::::.
             .:::::::  -::::::::. ::::::::
              `-:::::`   ..--.`   ::::::.
                `...`  `...--..`  `...`
                      .::::::::::
                       `.-::::-`
          
          pi@raspberrypi:~ $ ls /opt/dsf/sd
          filaments  firmware  gcodes  macros  menu  sys  www
          
          1 Reply Last reply Reply Quote 0
          • PCRundefined
            PCR @T3P3Tony
            last edited by

            @t3p3tony https://copperhilltech.com/canpico-can-fd-module-with-raspberry-pi-pico/

            oliofundefined o_lampeundefined 2 Replies Last reply Reply Quote 0
            • oliofundefined
              oliof @PCR
              last edited by

              @pcr I am game.

              <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

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

                @pcr
                CAN-FD module for RasPi Pico I checked the prices of the main components: the CAN-FD module and the transceiver chip cost less than 3€
                Why is this module so expensive?

                PCRundefined 1 Reply Last reply Reply Quote 0
                • PCRundefined
                  PCR @o_lampe
                  last edited by

                  @o_lampe dont Know. Could be the programming software. If Somebody would be interested in programming i would make a small Board with only the 2040 chip

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

                    @pcr said in New Raspberry Pi Zero 2W:

                    Could be the programming software

                    It's open source

                    The open-source MicroPython SDK from Canis Labs implements a sophisticated CAN API, including priority-inversion free drivers, 1μs accuracy timestamps, large buffers, and an API for triggering a logic analyzer or oscilloscope.
                    

                    If you make your own CAN-board, make sure all Pico through-hole pins are still available

                    PCRundefined 1 Reply Last reply Reply Quote 0
                    • PCRundefined
                      PCR @o_lampe
                      last edited by

                      @o_lampe Sure 😉 First development would be a hat for the pico

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

                        @pcr I wonder, if it would also work for the Zero 2W? A quad-core 1GHz SBC-board with CAN-FD would be a gamechanger...

                        PCRundefined 1 Reply Last reply Reply Quote 0
                        • PCRundefined
                          PCR @o_lampe
                          last edited by

                          @o_lampe
                          Should

                          https://copperhilltech.com/pican-fd-zero-can-fd-hat-for-raspberry-pi-zero-with-1a-smps/

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

                            @pcr @T3P3Tony If we could integrate CAN-FD as PIO state machine in M0(Pico) hardware, we would only need a tranceiver...

                            oliofundefined 1 Reply Last reply Reply Quote 0
                            • oliofundefined
                              oliof @o_lampe
                              last edited by oliof

                              @o_lampe is that realtime capable though?

                              <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

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

                                @oliof I started reading about PIO statemachines yesterday, so I might got a wrong impression. They say, those state machine work independant from the processor.
                                I assume RRF uses them for pulse generation, too.

                                gloomyandyundefined 1 Reply Last reply Reply Quote 0
                                • gloomyandyundefined
                                  gloomyandy @o_lampe
                                  last edited by

                                  @o_lampe said in New Raspberry Pi Zero 2W:

                                  They say, those state machine work independant from the processor.
                                  I assume RRF uses them for pulse generation, too.

                                  Does RRF currently run on any hardware that has a PIO state machine?

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

                                    @gloomyandy
                                    It seems only the M0 processor has those state machines. The M4 (duet2) doesn't have.
                                    I'm not even sure, if the Sam-C21 has them, although it's from the M0 family.

                                    gloomyandyundefined 1 Reply Last reply Reply Quote 0
                                    • gloomyandyundefined
                                      gloomyandy @o_lampe
                                      last edited by

                                      @o_lampe I may be wrong but I think that those pio blocks are part of the rPi silicon and not part of the Arm core.

                                      Most of these devices are a combination of a core from Arm plus manufacturer specific peripheral devices. So for instance the SPI device on an STM mcu is more than likely totally different to the SPI devices on a microchip mcu even if they both have the same Arm core. Things get a little bit more confusing though because Arm does provide some standard peripheral designs, that some manufacturers may use (or I think can even modify). So for instance the the SSP device on the LPC1768 (which provides SPI functionality) is actually an ARM PrimeCell Synchronous Serial Port (PL022).

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

                                        @gloomyandy said in New Raspberry Pi Zero 2W:

                                        pio blocks are part of the rPi silicon and not part of the Arm core.

                                        Yes they are rpi specific

                                        Some Atmel/Microchip processors have a similar (but much more limited) idea called "configurable custom logic" designed as hardware "glue logic".

                                        @o_lampe said in New Raspberry Pi Zero 2W:

                                        PIO statemachines .....I assume RRF uses them for pulse generation

                                        We do not as they are Rpi 2040 specific. Although we have considered a range of options for pulse generation.

                                        @o_lampe said in New Raspberry Pi Zero 2W:

                                        If we could integrate CAN-FD as PIO state machine in M0(Pico) hardware, we would only need a tranceiver...

                                        Yes, that would be great, anyone found an example of CAN or a similar protocol implemented on 2040 statemachines, with a reference for what bus speeds could be accommodated?

                                        @PCR using that CAN-FD bus IC & transceiver with a Pi (either directly on a Pi 2/3/4, or using a 2040 + USB to a PC) could certainly allow for bus monitoring and protocol diagnosis, independent of using an oscilloscope so that could be interesting.

                                        Alternatively it might allow Klipper or similar to use Duet 3 expansion boards w/o a mainboard, they could implement the Duet CAN-FD protocol on the pi and send the planned moves to each board....

                                        www.duet3d.com

                                        o_lampeundefined zaptaundefined 3 Replies Last reply Reply Quote 1
                                        • o_lampeundefined
                                          o_lampe @T3P3Tony
                                          last edited by

                                          @t3p3tony said in New Raspberry Pi Zero 2W:

                                          Alternatively it might allow Klipper or similar to use Duet 3 expansion boards w/o a mainboard, they could implement the Duet CAN-FD protocol on the pi and send the planned moves to each board....

                                          That would be really great for slicing&pre-processing of multi-stream gcode

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

                                            @o_lampe neither of those is really specific to klipper though. slicing sits outside of the firmware used and if you are using a Pi then DSF allows you to intercept and modify the gcode.

                                            www.duet3d.com

                                            o_lampeundefined 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA