back to article Raspberry Pi Pico 2 lands with (drum roll) RISC-V cores

It's exciting news for RISC-V fans: Raspberry Pi is adding support for the open ISA with the launch of the Pico 2 and the company's new RP2350 microcontroller. Pi Pico 2 The Pi Pico 2 that arrived at a seaside Vulture outpost today – click to enlarge The Pico 2 board retails for $5 and, according to the Pi team, retains …

  1. carl0s

    This guy frickin' loves it. https://dmitry.gr/?r=06.%20Thoughts&proj=11.%20RP2350

    1. blackcat Silver badge

      Ah someone else that doesn't like STM32s :)

      We were looking at using the 2040 chip for a project but the lack of ADC was a killer so we ended up with an STM32 and all its undocumented quirks.

      1. John Sager

        I built myself a digital graphic equaliser with optical I/O using a STM32H7 device. Luckily I didn't hit any issues with that, or rather the issues I did hit were solved by reading the docs more carefully and a bit of experimentation. I guess production engineering for a proper product would be a whole different ballgame.

  2. Yet Another Anonymous coward Silver badge

    Risc-V milk duo

    Is getting popular, one Risc-V core running Linux and a 2nd core doing real-time Arduino stuff on the same form factor as this for $10

    Yes I bought a couple, played with them and put them in the drawer with the Pi-Picos until I think of an actual use

  3. graeme leggett Silver badge

    It's all Greek to me

    No idea what half the description of it means but I'm getting the message that this is a good thing.

    1. Dan 55 Silver badge

      Re: It's all Greek to me

      It is because RPi hardware gets good software support unlike many other single board manufacturers.

  4. Scene it all

    I was so waiting for this. I have programmed a RISC-V at bare metal and loved it - it brought back memories of programming the IBM 360 but so much faster! (The 360/75, which could fill a room, had a clock speed of just 5 Mhz.)

  5. heyrick Silver badge
    Thumb Up

    which was developed by Luke Wren, one of our ASIC engineers, in his spare time

    That's a pretty solid flex.

  6. theOtherJT Silver badge

    It's amazing how far we have come.

    520k immediately reminded my of my first* computer, a venerable Atari 520ST (which I know didn't actually have 520k of memory, I guess they just thought it sounded better than 512)

    I wonder how the two would compare in capability - the ST obviously being a much more complete general purpose computer, but... 150mhz is a *lot* faster, and we're not having to load everything off 3.5" floppy disks.

    * Technically I used a Vic20 before hand but it was my dads, and the obligatory BBC-B at school, but the Atari was actually mine.

    1. AceRimmer1980

      Re: It's amazing how far we have come.

      512 * 1024 = 524288 bytes

      You're right, 520 sounds better :-D

      1. Anonymous Tribble

        Re: It's amazing how far we have come.

        520 * 1024 = 532480 (2 * 256K striped SRAM, + 2 * 4K non-striped SRAM)

        Yep, 520 sounds good to me :-D

    2. Dan 55 Silver badge

      Re: It's amazing how far we have come.

      They always added a bit more on. Perhaps they thought the customer would believe a 65XE was better than a C64 and a 130XE was better than a C128.

  7. HuBo
    Windows

    Mötley SÖC

    This is one bizarrely peculiar weird design, an intriguing microcontroller potluck gathering to be sure, a chip with four cores dished into it, but you can only use two of them at a time. Two of the cores have an FPU, a DSP, an MPU, and support TrustZone security and secure boot, the other 2 cores are just for integers but can access all chip resources without any security at all (AFAICS they don't go through the MPU, much like Alibaba's "open sesame" C910 vector units). Odd design.

    True enough though that when folks bitbang themselves an HDMI signal out of one of the two M0+ in the RP Pico 1 (the original), they could have done that same thing with an RV32I instead. Still, a strange and puzzling design to me.

    1. Yet Another Anonymous coward Silver badge

      Re: Mötley SÖC

      One SKU - lots of potential uses. If one of the use cases makes it big they can easily spin up a custom version.

      Interesting because well -established micro controllers are insanely specifically designed with a million variations with every combinations of features so you can save 0.1c by choosing the part with exactly the bits you want.

      I wonder if the rate of innovation in new toys means that this is the new normal - more general u-controllers for a few c more but with quicker development

      1. AceRimmer1980
        WTF?

        Re: Mötley SÖC

        I could be that there is a 2-core limitation for power consumption/bus bandwidth issues, or something.

        But as a techie, I want the choice to use all 4. Provide the option to underclock in software, if necessary.

        1. Jason Bloomberg Silver badge

          Re: Mötley SÖC

          It would have been desirable to have all four cores running at the same time. It could be a limitation of bus interfacing or multiplexing?

          But allowing ARM+ARM / RISC-V+RISC-V / ARM+RISC-V is much better than it being ARM or RISC-V only as others which offer the choice seem to be.

          Could adding RISC-V have been inspired by a desire to hit those selling chips with ARM and RISC-V cores? They seem set on world domination, have appeared ruthless when it comes to hitting, undermining, undercutting their competition.

          It would be regrettable if RISC-V wasn't intended as a first class citizen on the chip but every RISC-V addition is a welcome addition. If it furthers RISC-V interest that can only be welcomed..

          1. Scene it all

            Re: Mötley SÖC

            Yes, it is a bus multiplexer limitation. There are two of them, and each one can select ONE Arm or ONE Riscv.

  8. cyberdemon Silver badge
    Unhappy

    Still with the micro-USB that detaches from the board if you look at it the wrong way?

    See icon

    The RPi-proper has gone to USB-C, so why not Pico?

    1. Anonymous Coward
      Anonymous Coward

      Re: Still with the micro-USB that detaches from the board if you look at it the wrong way?

      Possibly because as it's a microcontroller not a full computer and the USB is for programming, power, and a bit of serial work but not everything that USB-C can do, then there's no great benefit to swapping?

      And use it as direct swap for existing equipment that uses the Pico 'as is'?

      1. cyberdemon Silver badge

        Re: Still with the micro-USB that detaches from the board if you look at it the wrong way?

        Well, on the RPi 4 and 5 there is no pin swapping going on either. Its USB-C is nothing more than a power connector, and doesn't support more than 5V. But having USB-C is still useful, because it's that much more mechanically robust, and reversible.

        Most microcontroller boards e.g. esp32 have moved to USB-C for that reason. Some have PD support and include a buck converter for fast battery charging or >5V power output for whatever electronics project you are making

        The pico2 seems to use the same surface-mount micro-USB that always falls off the board, or the data pins detach at the back first. There also appears to be plenty of space on the board to add (optional?) PD components for those who want >5V in their projects

        1. druck Silver badge

          Re: Still with the micro-USB that detaches from the board if you look at it the wrong way?

          Well, on the RPi 4 and 5 there is no pin swapping going on either. Its USB-C is nothing more than a power connector, and doesn't support more than 5V. But having USB-C is still useful, because it's that much more mechanically robust, and reversible.

          That is incorrect, the USB-C port is a fully functioning USB OTG port. With Raspberry Pi OS, it is normally only used for power.

          1. bernmeister
            Facepalm

            Re: Still with the micro-USB that detaches from the board if you look at it the wrong way?

            The USB-C port is a fully functioning USB OTG port but many USB A to C patch leads only have the 5V and GND connections wired in. If you just pick a lead out of your cables box you may well end up with a 5V and GND only lead. All those leads I thought were faulty and put to one side are now clearly labelled 5V ONLY.

    2. carl0s

      Re: Still with the micro-USB that detaches from the board if you look at it the wrong way?

      On the Oico they have 4x through-hole soldered lugs to keep them in place. Should be pretty strong, shouldn't it? The (clone)Arduino Pro Micro's have a micro-USB without through-hole lugs and those indeed were a nightmare. Very easy to rip the port off the pads.

      I do agree it's time for USB-C on them though and I will stick to decent clones, or maybe wait for something with that -B chip from someone like WeAct Studio hopefully.

  9. Bartholomew
    Big Brother

    If ...

    If all 4 cores could run at once and all shard the exact same memory, I wonder what fun could be had learning RISC-V+ARM "multi-architecture executable code" or "Fat binary" or "multiarchitecture binary". Basically each program has a tiny machine code stub in front that on one architecture is harmless junk instructions followed by a jump to native binary code, and on another architecture is harmless junk instructions followed by a different jump to native binary code. Basically you need to understand the machine code of both architectures at a binary level to create that tiny "stub" once and then reuse it. Was popular with "Multi-architecture shellcode - shellcode targeting multiple platforms"* , but with the dominance of x86/x64 has mostly vanished. It still exists, but is obscure knowledge.

    * (ref: phrack.org issues 57)

    1. Bartholomew

      Re: If ...

      Just spotted what eben said "You can even, if you're feeling obtuse, run with one of each" - yea FUN!

  10. Bartholomew
    Happy

    Luke Wren's Hazard3 (Verilog)

    I found the gateware source code https://github.com/Wren6991/Hazard3

    1. werdsmith Silver badge

      Re: Luke Wren's Hazard3 (Verilog)

      What a brilliant bit of detective work…

      Bit this thing was launched last week and the introduction on the Raspberry Pi site gave a link to Luke’s twitterx which had his GitHub on his public profile.

  11. MONK_DUCK

    Should help get risc-v out to more developers in an easy to access manner, which can only be a good thing.

  12. Jason Bloomberg Silver badge
    FAIL

    Old habits die hard

    Once again launching a product which isn't available at launch.

    And it appears to be another rushed release to meet some internal schedule instead of waiting until it is ready to be launched.

    1. Darkk

      Re: Old habits die hard

      I have a feeling since these are first batch at launch they're waiting to see if any hardware bugs crop up before committing to large quantity in manufacturing for the masses. It's one of the reasons why I didn't order the RaspberryPi 5 at launch. I just placed a new order for the Pi 5 8 gig along with five Pico 2s to try out. A side note I did pre-ordered the Pi 4 at launch and a few months later they did a revision for a faster clocked CPU as they tweaked the power supply design. I was a bit miffed at that because how expensive these Pi's are these days.

      Considering how cheap these Picos are if bugs do creep up it's not too big of a deal to buy the updated ones if I need to.

    2. James Hughes 1

      Re: Old habits die hard

      There's quite a few RP2350 based designs available off the shelf right now, so it's not quite right to say not available. It's certainly ready to be launched as shown by the DefCon badge, and all those products already on sale.

  13. StrangerHereMyself Silver badge

    Dominate

    RISC-V will eventually dominate (unless the U.S. government takes steps to reign it in) so it's a good thing Raspberry Pi Foundation added a few cores for tinkerers to play with. They're sufficient for most simple control applications, but lack things like floating point math to be used as signal processors.

  14. Gene Mosher

    Will the RPi 6 use RISC-V instead of ARM ? or both ? or optional ?

    After all, it's clear that RISC-V is not going away, nor is the concept of free software or free hardware.

    1. StrangerHereMyself Silver badge

      I'm pretty sure it will still use ARM, since there's a incestuous relationship between Broadcom and the Raspberry Pi Foundation. Eben Upton, the founder of RP used to work at Broadcom.

      I do believe RISC-V is the future and that it will see greater and greater usage everywhere. Many Chinese microcontroller manufacturers produce RISC-V-based products.

  15. antony123
    Unhappy

    I want to make a device that can recognize the melody of a song. I have no idea at all. This problem is probably related to AI and it is quite difficult for a beginner like me. I just want to recognize Taylor Swift's new song. https://myinstants39.com/soundboard/i-can-do-it-with-a-broken-heart/

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like