Join James Adams, CTO of Hardware at Raspberry Pi, alongside engineers Luke Wren and Liam Fraser, along with Chris Boross from the commercial team. They discuss the new RP2350 microcontroller, highlighting its dual-core architecture and security features. The conversation delves into innovative applications like satellite technology and motor control. They also touch on power management, memory vulnerabilities, and the importance of testing for security. Expect insights on chip design complexities and the exciting future of microcontrollers!
The RP2350 microcontroller incorporates dual dual-core architecture for enhanced performance and flexibility compared to its predecessor, the RP2040.
Key advancements include security features like secure boot and memory protection, addressing vulnerabilities absent in earlier models.
The improved Programmable Input/Output (PIO) functionality allows developers to efficiently manage peripherals, expanding the RP2350's application potential in various domains.
Deep dives
Overview of RP2350 Development
The RP2350 is the latest microcontroller from Raspberry Pi, building upon lessons learned from its predecessor, the RP2040. Changes included a focus on security and power efficiency, addressing limitations seen in the earlier model. For instance, the RP2040 lacked significant power-saving modes and security features, leading the development team to implement dual-core RISC-V architecture in the RP2350 for enhanced performance. The addition of features like secure boot and multiple power states reflects a substantial evolution aimed at both consumer and commercial markets.
Architectural Improvements
The RP2350 introduces dual RISC-V cores, enhancing the overall performance compared to the previous RP2040's dual Cortex-M0 design. This shift allows for more effective processing tasks, particularly beneficial in educational contexts. The architecture aims to provide considerable flexibility by incorporating 48 GPIO pins, which enhances connectivity options for users. The architectural changes also facilitate better integration of features for future projects and applications, further cementing its usability.
Applications in Diverse Industries
The RP2350 has garnered interest across various domains, from consumer devices to aerospace applications, due to its radiation robustness. By not incorporating on-chip flash memory, the RP2350 can utilize external flash options that have shown resilience to radiation, making them suitable for satellite usage. Several early adopters have begun testing the processor in environments such as low Earth orbit, highlighting its potential in innovative technologies. This versatility not only positions the RP2350 well for hobbyists but also for critical industry applications where dependability is essential.
Enhanced PIO Feature Set
The Programmable Input/Output (PIO) functionality has been significantly enhanced in the RP2350, allowing developers to offload timing-sensitive tasks more effectively. This update enables higher-level control over peripherals through easily adjustable states, such as converting PIO resources into UART or I²C interfaces. Additionally, the RP2350 supports more complex applications including motor controllers and real-time robotics functions. The enhancements in PIO implementation provide users with increased flexibility to leverage the full capabilities of their hardware configurations.
Security Features and Developments
Security has become a principal concern in the RP2350, introducing features such as secure boot and memory protection, which were absent in the RP2040. The chip is designed to prevent unauthorized code execution and protect sensitive data stored on the device. Furthermore, hardware support for code redundancy and fault detection has been implemented, safeguarding against potential glitches during operation. These advancements not only protect user applications but also prepare the microcontroller for a market increasingly focused on cybersecurity.
Future Iterations and Sustainability
Looking ahead, Raspberry Pi intends to continuously support the RP2040 alongside the RP2350, with an emphasis on community feedback and integration of features. Enhancements based on user experience will be prioritized, even as work continues on future iterations. Additionally, production processes will be maintained to ensure reliability and sustainability of existing product lines. By committing to ongoing development of both microcontrollers, Raspberry Pi aims to adapt quickly to technological advancements while catering to evolving user needs.
The RISC V side is a Hazard 3 processor, designed by Luke based on a previous processor called the Hazard 5
HB5
There is a mux on the core and you select which side you’re going to use at boot
There are 48 GPIO (but users always want more)
Chris Boross (first time on the show) is on the commercial team. He’s seing interesting applications for the RP2350 including devices that are using it for motor control.
They also have seen the part used in satellites because mRAM or masked ROM is less susceptible to radiation errors
The PIOs have changed, but are more evolutionary from the RP2040
The PIO allows you to create state machines that process inputs without processor interventions, basically like tiny cores