A Deep Dive Into Utilizing PIO And DMA On The RP2350

Editorial Team
2 Min Read


Right here’s a enjoyable rabbit gap to run down if you happen to don’t have already got the RP2040/RP2350 PIO feather in your cap: how you can serve information with out CPU intervention utilizing PIO and DMA on the RP2350.

If you happen to don’t know a lot concerning the RP2040 or RP2350 right here’s the essential run down: the unique Raspberry Pi Pico was launched in 2021 with the RP2040 at its coronary heart, with the RP2350 making its debut in 2024 with the Pico 2. Each microcontrollers embody a function generally known as Programmed I/O (PIO), which helps you to configure tiny state machines and different services (shift registers, scratch registers, FIFO buffers, and so on) to course of easy I/O logic, liberating up the CPU to do different duties.

The underside line is you could write quite simple applications to do very quick and environment friendly I/O and these applications can run individually to the opposite code operating in your micro. Within the video under, [piers] explains the way it works and the way he’s used it in his One ROM mission.

That is the newest installment from [piers rocks] whose One ROM mission we’ve been monitoring since July this yr once we first heard about it. Since then we’ve been watching this mission develop up and we have been there when it was solely carried out on the STM32F4, when it was renamed to One ROM, and when it obtained its USB stack. Alongside the best way [piers rocks] was on FLOSS Weekly Episode 850: One ROM To Rule Them All too.

Have you ever seen PIO being put to good use in different tasks? Tell us within the feedback, or on the information line!

Share This Article