TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Recreating RP2040 PIO Interface in an FPGA

95 pointsby f_devdalmost 2 years ago

5 comments

qiqitorialmost 2 years ago
The RP2040&#x27;s PIO is awesome. Here are two retro-related projects I did in the last ~year.<p>You can capture video in a weird format with PIO on one core, and output it with PIO (in a standard format like VGA, or even DVI) on the other core, like here: <a href="https:&#x2F;&#x2F;blog.qiqitori.com&#x2F;2022&#x2F;09&#x2F;raspberry-pi-pico-15-6-khz-analog-rgb-to-vga-adapter-part-1-poc-wip&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.qiqitori.com&#x2F;2022&#x2F;09&#x2F;raspberry-pi-pico-15-6-khz...</a><p>Or you can implement old DACs that expect a weird input data format, to a certain extent, like here: <a href="https:&#x2F;&#x2F;blog.qiqitori.com&#x2F;2023&#x2F;03&#x2F;raspberry-pi-pico-implementation-of-the-ym3012-dac-mono&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.qiqitori.com&#x2F;2023&#x2F;03&#x2F;raspberry-pi-pico-implemen...</a><p>(Now I&#x27;m almost at the end of my sabbatical but think these projects (and others) were totally worth doing even if it meant living off savings, heh.)
评论 #36027142 未加载
Accujackalmost 2 years ago
As soon as I read about the programmable I&#x2F;O setup, it reminded me of the Propeller series chips from Parallax. The &quot;cogs&quot; that are the main processors of those chips aren&#x27;t as general use as something like the STM32 cores, but they do certain things very, very well.
评论 #36023611 未加载
sfrigonalmost 2 years ago
That&#x27;s interesting!<p>If AMD incorporates scaled down Xilinx&#x27;s FPGAs into their x86-family product line, that could bring a lot of RasperryPi&#x27;s community effort into a mainstream products too (home PC) and let us experiment embedded software directly on our PC! ...and break our main PC during our experiments too, oopsie. But it would be worth it haha.
评论 #36023414 未加载
评论 #36023737 未加载
评论 #36023099 未加载
评论 #36023310 未加载
cdcarteralmost 2 years ago
I stumbled upon this project a few weeks ago, while starting to get a better handle on how to use PIO (and the rest of the RP2040 infrastructure, like PIO&#x2F;DMA interactions). I searched for it at first, thinking that an HDL implementation of PIO would be a good way to test and simulate PIO interactions and timings. It turns out there are some neat and more specific PIO simulator&#x2F;emulator projects out there, so I&#x27;ve moved that way.<p>Still, this project is quite interesting. I have a design I&#x27;m working on that would really benefit from 4 PIO blocks all cooperating on a piece of RP silicon. Since that&#x27;s not likely to ship anytime soon, I am vaguely interested in piecing together some HDL that stitches together a RISC-V core with several PIOs.
评论 #36026636 未加载
synergy20almost 2 years ago
that&#x27;s very cool, maybe one day it can be burnt into a CPLD or integrated into other MCUs&#x27; designs directly.<p>Motorola used to have CPM, TI has PRU for higher end chips.<p>All of these are doing similar things: using software to create IO peripherals on the fly.
评论 #36022960 未加载