Raspberry Pi RP2350

Raspbertty Pi has release a new board: Pico 2. The Pico 2 has Raspberry Pi’s latest silicon, the RP2350. It is available now for $5.

Raspberry Pi Pico 2: a RISC-V bet!
https://www.youtube.com/watch?v=oXF_lVwA8A4

The RP2350 is Raspberry Pi’s second-generation in-house microcontroller design. The Raspberry Pi RP2350 is a major upgrade over the earlier Raspberry Pi RP2040, boasting newer Arm Cortex-M33 cores running at a faster 150MHz, almost twice the static RAM (SRAM) plus support for external pseudo-static RAM (PSRAM), an additional programmable input/output (PIO) block, and more — but it also brings with it an architectural complexity: the presence of two RISC-V cores, based on the free and open source Hazard3 design, which can be chosen in place of the Arm cores or even split with one Arm and one RISC-V core running simultaneously.

New microcontroller boasts a choice of 150MHz Arm Cortex-M33 or RISC-V Hazard3 cores, a dedicated display peripheral, 520kB SRAM, and more. RP2350 is built using quad-core dual-architecture with two ARM and two RISC-V cores, but only two of those four cores can run at the same time. There is 520 Kb of SRAM memory on the chip and the new features include Arm TrustZone, 8 Kb OTP memory and Secure Boot support. The previous PR2040 had two Arm Cortex-M0+ cores with a maximum clock frequency of 133 MHz and 264 KB of SRAM memory. It is possible to integrate extra two megabytes of Flash to the same chip package.

“Raspberry Pi Pico 2 is our new $5 microcontroller board, built on RP2350: our new high-performance, secure microcontroller,” the company says of its latest launch. “With a higher core clock speed, double the on-chip SRAM, double the on-board flash memory, more powerful Arm cores, optional RISC-V cores, new security features, and upgraded interfacing capabilities, Raspberry Pi Pico 2 delivers a significant performance and feature boost, while retaining hardware and software compatibility with earlier members of the Raspberry Pi Pico series.”

For programming Raspberry Pi RP2350′shave Day-One Rust Support. Pallant says, “this is the first ever microcontroller launch with Rust support out-of-the-box.” Raspberry Pi Pico 2 board serves as a quick-start development platform.

Sources:

Raspberry Pi RP2350
https://www.hackster.io/news/jonathan-pallant-details-the-deeply-impressive-raspberry-pi-rp2350-s-day-one-rust-support-057ea35ce84e

Raspberry Pi Unveils the Pico 2, Powered by the Dual-Architecture Quad-Core RP2350
https://www.hackster.io/news/raspberry-pi-unveils-the-pico-2-powered-by-the-dual-architecture-quad-core-rp2350-605253ab1235

Raspberry Pi Pico 2:n uudesta RP2350:stä löytyy sekä Arm- että RISC-V-ytimiä
https://www.io-tech.fi/uutinen/raspberry-pi-pico-2n-uudesta-rp2350sta-loytyy-seka-arm-etta-risc-v-ytimia/

20 Comments

  1. Tomi Engdahl says:

    Raspberry Pi Unveils the Pico 2, Powered by the Dual-Architecture Quad-Core RP2350
    New microcontroller boasts a choice of 150MHz Arm Cortex-M33 or RISC-V Hazard3 cores, a dedicated display peripheral, 520kB SRAM, and more.
    https://www.hackster.io/news/raspberry-pi-unveils-the-pico-2-powered-by-the-dual-architecture-quad-core-rp2350-605253ab1235

    Reply
  2. Tomi Engdahl says:

    DEF CON 32′s Raspberry Pi RP2350-Powered Badge Sits at the Center of a Major Disagreement
    Refusal to pay and manhandling of the firmware author puts DEF CON’s latest badge in the spotlight for all the wrong reasons.
    https://www.hackster.io/news/def-con-32-s-raspberry-pi-rp2350-powered-badge-sits-at-the-center-of-a-major-disagreement-05e96385a3dc

    The DEF CON 32 badge, a Raspberry Pi RP2350-powered gadget that runs a PalmOS-based Nintendo Game Boy emulator on firmware written by Dmitry Grinberg, has become the subject of a major falling-out — with the event organizers accused of hiding the work of hardware designer Entropic Engineering and Grinberg himself being dramatically man-handled off stage ahead of a scheduled talk on the badge’s development.

    Reply
  3. Tomi Engdahl says:

    Solder Party’s “RP2350 Stamp” modules features Raspberry Pi RP2350A or RP2350B microcontroller
    Solder Party’s RP2350 Stamp is an update to the company’s tiny RP2040 Stamp module based on a Raspberry Pi RP2350A, and they also introduced the RP2350 Stamp XL module that makes use of the extra GPIO pins on the RP2350B, and a “RP2xxx Stamp Carrier XL” carrier board taking either module
    https://www.cnx-software.com/2024/08/10/solder-partys-rp2350-stamp-modules-features-raspberry-pi-rp2350a-or-rp2350b-microcontroller/

    Reply
  4. Tomi Engdahl says:

    Jonathan Pallant Details the “Deeply Impressive” Raspberry Pi RP2350′s Day-One Rust Support
    “To my knowledge,” Pallant says, “this is the first ever microcontroller launch with Rust support out-of-the-box.”
    https://www.hackster.io/news/jonathan-pallant-details-the-deeply-impressive-raspberry-pi-rp2350-s-day-one-rust-support-057ea35ce84e

    Reply
  5. Tomi Engdahl says:

    Sam Hocevar has announced a work-in-progress clone of the Raspberry Pi Pico 2, the new development board powered by the RP2350 chip, which aims to deliver as close a design as possible while switching from the older micro-USB Type-B socket to a new USB Type-C socket — a continuation of what he calls “project-piCo.”

    Sam Hocevar’s Project-piCo Continues with a Raspberry Pi Pico 2 Clone — Adding USB Type-C
    A mystery component and dead links to official schematics, though, mean that the near-final design isn’t quite ready for production yet.
    https://www.hackster.io/news/sam-hocevar-s-project-pico-continues-with-a-raspberry-pi-pico-2-clone-adding-usb-type-c-3e00acf41ba7?fbclid=IwY2xjawEpvxhleHRuA2FlbQIxMQABHQX3sMlz_Cuu33V_ZV9GEA7BOEzGQO30yqCJ2DP7rrUCt0rP04mr5Shyeg_aem_JsbeMSWFYNhLgC1nh63e3Q

    Reply
  6. Tomi Engdahl says:

    Raspberry Pi SBC touts RISC-V cores
    https://www.edn.com/raspberry-pi-sbc-touts-risc-v-cores/?fbclid=IwZXh0bgNhZW0CMTEAAR2JTSHO07JVVqUlPX-EeO8yMhdck7i15OrTvEjRr5DMtWp8eiFtoy0OYYc_aem_Jve1v1w2Z3zHnVwRJB-M6g

    The Raspberry Pi Pico 2 single-board computer is powered by the RP2350 MCU, featuring two Arm cores or optional RISC-V cores. This $5 computer board also boasts higher clock speeds, twice the memory, enhanced security, and upgraded interfacing compared to its predecessor, the Pico 1.

    Designed by Raspberry Pi, the RP2350 MCU leverages a dual-core, dual-architecture with a pair of Arm Cortex-M33 cores and a pair of Hazard3 RISC-V cores. Users can select between the cores via software or by programming the on-chip OTP memory. Both the Arm and RISC-V cores run at clock speeds of up to 150 MHz.

    Pico 2 offers 520 kbytes of on-chip SRAM and 4 Mbytes of onboard flash. A second-generation programmable I/O (PIO) subsystem provides 12 PIO state machines for flexible, CPU-free interfacing.

    Reply
  7. Tomi Engdahl says:

    A closer look at Raspberry Pi RP2350’s HSTX high-speed serial transmit interface
    The Raspberry Pi RP2350 microcontroller adds an HSTX (High-Speed Serial Transmit) interface adding the PIOs (Programmable IOs) introduced on the Raspberry Pi RP2040 three years ago. The RP2350 MCU now has three PIOs and one HSTX interface going over 8x GPIOs. So let’s try to better understand what HSTX is exactly, what it is used for, and how it differs from PIOs. We’ll also check out some programming examples in C and MicroPython.

    The high-speed serial transmit (HSTX) interface is detailed in the RP2350 datasheet starting on page 1118 where it reads “The high-speed serial transmit (HSTX) interface streams data from the system clock domain to up to 8 GPIOs at a rate independent of the system clock”. Reading further, we also learn that it runs at 150 MHz enabling up to 300 Mbps per pin with DDR output operation, or a combined 2,400 Mbps over 8 pins if I understood that right…

    https://www.cnx-software.com/2024/08/15/raspberry-pi-rp2350-hstx-high-speed-serial-transmit-interface/

    Reply
  8. Tomi Engdahl says:

    https://hackaday.com/2024/08/20/close-up-on-the-rp2350-hstx-peripheral/

    The new Raspberry Pi Pico 2 with its RP2350 microcontroller has only been with us for a short time, and thus its capabilities are still being tested. One of the new peripherals is HSTX, for which the description “High speed serial port” does not adequately describe how far it is from the humble UART which the name might suggest. CNX Software have taken a look at its capabilities, and it’s worth a read.

    With a 150 MHz clock and 8 available pins, it’s a serial output with a combined bandwidth of 2400 Mbps, which immediately leaves all manner of potential for streamed outputs. On the RP2040 for example a DVI output was made using the PIO peripherals, while here the example code shows how to use these pins instead. We’re guessing it will be exploited for all manner of pseudo-analogue awesomeness in the manner we’re used to with the I2S peripherals on the EP32. Of course, there’s no corresponding input, but that still leaves plenty of potential.

    A closer look at Raspberry Pi RP2350’s HSTX high-speed serial transmit interface
    https://www.cnx-software.com/2024/08/15/raspberry-pi-rp2350-hstx-high-speed-serial-transmit-interface/

    The Raspberry Pi RP2350 microcontroller adds an HSTX (High-Speed Serial Transmit) interface adding the PIOs (Programmable IOs) introduced on the Raspberry Pi RP2040 three years ago. The RP2350 MCU now has three PIOs and one HSTX interface going over 8x GPIOs. So let’s try to better understand what HSTX is exactly, what it is used for, and how it differs from PIOs. We’ll also check out some programming examples in C and MicroPython.

    The high-speed serial transmit (HSTX) interface is detailed in the RP2350 datasheet starting on page 1118 where it reads “The high-speed serial transmit (HSTX) interface streams data from the system clock domain to up to 8 GPIOs at a rate independent of the system clock”. Reading further, we also learn that it runs at 150 MHz enabling up to 300 Mbps per pin with DDR output operation, or a combined 2,400 Mbps over 8 pins if I understood that right…

    Here’s a bit more of the description from the datasheet

    The HSTX is asynchronous from the rest of the system. A 32-bit-wide FIFO provides high-bandwidth access from the system DMA. The command expander performs simple manipulation of the datastream, and the output shift register portions the 32-bit data out over successive HSTX clock cycles, swizzled by the bit crossbar. The outputs are double-data-rate: up to two bits per pin per clock cycle.

    HSTX drives data through GPIOs using DDR output registers to transfer up to two bits per clock cycle per pin. The HSTX balances all delays to GPIO outputs within 300 picoseconds, minimizing common-mode components when using neighboring GPIOs as a pseudo-differential driver. This also helps maintain destination setup and hold time when a clock is driven alongside the output data.

    The maximum frequency for the HSTX clock is 150MHz, the same as the system clock. With DDR output operation, this is a maximum data rate of 300Mb/s per pin. There are no limits on the frequency ratio of the system and HSTX clocks, however, each clock must be individually fast enough to maintain your required throughput. Very low system clock frequencies coupled with very high HSTX frequencies may encounter system DMA bandwidth limitations since the DMA is capped at one HSTX FIFO write per system clock cycle.

    On the Raspberry Pi RP2350, GPIOs 12 through 19 are HSTX-capable. Note that HSTX is output-only, so it’s not quite as flexible as PIOs which allow users to create all sorts of high-speed (or not) interfaces.

    What HSTX can it be used for?

    HSTX is capable of high-speed transfer but can only transmit data and not receive it, so it appears especially useful for video outputs and display interfaces. However, it would not be suitable for bidirectional transfers, for instance, you could not emulate an Ethernet interface.

    The Raspberry Pi RP2040’s PIOs were used to create DVI, VGA, and composite video outputs, but in the RP2350 board the programmable I/O blocks may be freed, and the HSTX interface used instead. While you could use the Raspberry Pi Pico 2 to play around with the HSTX interface, you’d have some soldering to do, and a more convenient way to be started is getting a board like the RP2xxx Stamp Carrier XL in combination with the R2350 Stamp module since it exposes the HSTX interface through a micro HDMI port.

    Raspberry Pi provides two HSTX code samples in the Raspberry Pi Pico C/C++ SDK:

    dvi_out_hstx_encoder – This sample generates DVI output using the command expander and TMDS encoder in HSTX. The frame buffer resolution is set to 640×480. This example requires an external digital video connector connected to GPIOs 12 through 19 with appropriate current-limiting resistors, e.g. 270 ohms. This example can be used directly with the Pico DVI Sock board which can be soldered onto a Raspberry Pi Pico 2.
    spi_lcd – This sample drives an ST7789 SPI LCD using the HSTX. The SPI clock rate is fully independent of (and can be faster than) the system clock. It was tested at a 240×240 resolution using a WaveShare 1.3-inch ST7789 module.

    Reply
  9. Tomi Engdahl says:

    Raspberry Pi has confirmed a bug in the new RP2350 microcontroller family, which causes pins to freeze outputting 2.15V when configured as inputs using the internal pull-down resistors.

    A Surprise Hardware Bug in Raspberry Pi’s RP2350 Leads to Unexpected Pull-Down Behavior

    https://www.hackster.io/news/a-surprise-hardware-bug-in-raspberry-pi-s-rp2350-leads-to-unexpected-pull-down-behavior-76b51ec22ede

    Errata includes a warning of “latching” GPIO pins when using the internal pull-down resistors, thanks to a faulty fault-tolerant pad.

    Reply
  10. Tomi Engdahl says:

    Earle F. Philhower, III Brings the Arduino Pico Core to V4.0.1, Adds RP2350 and Pico 2 Support
    New release lets you program boards built around Raspberry Pi’s latest chip in the Arduino IDE.
    https://www.hackster.io/news/earle-f-philhower-iii-brings-the-arduino-pico-core-to-v4-0-1-adds-rp2350-and-pico-2-support-df2940f52792

    Reply
  11. Tomi Engdahl says:

    This Video Tour Dives Deep Into the Raspberry Pi RP2350′s Silicon Die — By Stripping Off Its Package
    After initial efforts yielded little more than a power distribution network, electronupdate delivers a look at what’s hiding in the RP2350.
    https://www.hackster.io/news/this-video-tour-dives-deep-into-the-raspberry-pi-rp2350-s-silicon-die-by-stripping-off-its-package-51ff08139a96

    Reply

Leave a Comment

Your email address will not be published. Required fields are marked *

*

*