Переглядів 126,563
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: you... !
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: github.com/raspberrypi/pico-e...
- C SDK Book: datasheets.raspberrypi.org/pi...
- BBC Micro Emu on the Pico: • BBC Micro emulation on...
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