In-depth: Raspberry Pi Pico's PIO - programmable I/O!
YouTube Viewers YouTube Viewers
213K subscribers
126,756 views
0

 Published On Mar 9, 2021

In this video we take an in-depth look into the new Raspberry Pi Pico/RP2040 high-speed programmable I/O system: PIO!

For a high level video check    • Raspberry Pi Pico: your new $4 microc...  !

I know this video is quite fast-paced and dense, but I'm trying to experiment with different formats for these in-depth videos :)


Errata:
- 8:20 - the register is always decremented, not only if the condition is met
- 9:01 - The pin will be OFF for one cycle and ON for 2 cycles - said it the other way around accidentally

- Luke on Twitter:   / wren6991  
- Pico PIO examples: https://github.com/raspberrypi/pico-e...
- C SDK Book: https://datasheets.raspberrypi.org/pi...
- BBC Micro Emu on the Pico:    • BBC Micro emulation on a $4 Raspberry...  

Links:
- Twitter:   / ghidraninja  
- Patreon:   / stacksmashing  

Timestamps:
00:00:00​ - Intro
00:01:15​ - PIO architecture
00:02:30 - The state machine
00:05:30​ - IO Mapping
00:06:56​ - Set Instruction
00:07:47​ - Jump Instruction
00:09:08​ - Mov Instruction
00:10:23 - In/Out Instructions
00:10:53 - Push/Pull Instructions
00:11:43 - IRQ Instruction
00:12:47 - Wait Instruction
00:13:38 - Delay
00:14:45 - Side-Set
00:15:48 - Program Wrapping

show more

Share/Embed