earlephilhower / arduino-pico

Raspberry Pi Pico Arduino core, for all RP2040 boards
GNU Lesser General Public License v2.1
1.92k stars 402 forks source link

Add asynchronous SPI transactions #2168

Closed earlephilhower closed 3 months ago

earlephilhower commented 3 months ago

Fixes #1192

Uses DMA operations to avoid the need to bit-bang or busy wait for SPI operations that might be very slow. Optional, adds new API calls to enable. Simple example included.