filmov
tv
Raspberry Pi Pico (RP2040) GPIO speed with PIO

Показать описание
I did a test of driving a GPIO via the PIO system on the RPI Pico. The clock divider was set to 1 (1.0) which of course gives no division of the system clock. This allowed for a 31MHZ "wave". I had to even take the bandwidth limit off my scope to read it ok :) I'm not sure how useful that would be for driving other IO, but it may be ok for reading pins, but am not sure yet.
Note: After I reclaimed my brain, I set the volts per division right on my scope and the hardware counter matched the Soft and my hardware counter.
Code used for the test:
Note: After I reclaimed my brain, I set the volts per division right on my scope and the hardware counter matched the Soft and my hardware counter.
Code used for the test: