您尚未登录。

楼主 #1 2021-01-29 23:53:21

kekemuyu
会员
注册时间: 2018-12-13
已发帖子: 843
积分: 724

A closer look at Raspberry Pi RP2040 Programmable IOs (PIO)

amazing!  pio is like the third CPU. That can excute assemble instruntions. Although ,it only has 9 instruntions.

https://www.cnx-software.com/2021/01/27/a-closer-look-at-raspberry-pi-rp2040-programmable-ios-pio/amp/

离线

#2 2021-01-30 01:24:23

metro
会员
注册时间: 2019-03-09
已发帖子: 442
积分: 486

Re: A closer look at Raspberry Pi RP2040 Programmable IOs (PIO)

这两天正在看RP2040的datasheet,我觉得SIO(主要是里面的Interpolator)和PIO是非常有趣的两个东西,值得研究。如果不太忙的话争取整理点文档出来。

离线

#3 2021-01-31 11:32:28

whyabc666
封禁
注册时间: 2019-12-12
已发帖子: 378
积分: 365

Re: A closer look at Raspberry Pi RP2040 Programmable IOs (PIO)

能模拟任何接口?USB3.0,minipcie?

离线

#4 2021-01-31 12:27:06

微凉VeiLiang
会员
所在地: 深圳
注册时间: 2018-10-28
已发帖子: 595
积分: 525
个人网站

Re: A closer look at Raspberry Pi RP2040 Programmable IOs (PIO)

看这个意思是spi等数字接口可以任意配置在一组脚上输出?能否配置多组外设,比如说我只用串口,我全部io都拿来做串口

离线

#5 2021-01-31 15:00:23

openepo
会员
注册时间: 2020-10-16
已发帖子: 16
积分: 14

Re: A closer look at Raspberry Pi RP2040 Programmable IOs (PIO)

我想到的第一个应用场景就是驱动WS2801。这样就可以不耗费太多CPU资源,或者占用一个SPI端口来高速驱动WS2812了。

编辑:原来已经有例程了,除了WS2812, 还有SPI、I2C、方波、ST7789 LCD、逻辑分析仪等应用。
https://github.com/raspberrypi/pico-examples/tree/master/pio

原本还想着这不过就是个M0单片机而已,但是这个PIO功能可以实现一些原来要CPLD/FPGA才好实现的功能。看来又得囤几块板子吃灰了。

最近编辑记录 openepo (2021-01-31 15:10:46)

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn