Quantcast
Viewing all articles
Browse latest Browse all 5299

SDK • Fast interface from RP2040 to CM4 over SPI or other

I've been using USB to transfer data from RP2040 to CM4 but would like to implement something faster (right now max around 600kB/sec despite it being 12mbps). I want to send a 100kB block to the RP2040 as quickly as possible so I'm thinking to implement this as a SPI write:
-RPi CM4 as SPI Master
-RP2040 as SPI slave, 10mhz (seems this is max speed with 12x oversampling from my reading)
-use as write only interface with SWD to initiate

Has anyone seen any libraries doing something similar to above - seems talking to RP2040 from RPI should be a common request but better if I can use some library instead of reinventing the wheel. Thanks!

Statistics: Posted by scienceisfun4u — Sat Apr 13, 2024 10:36 pm



Viewing all articles
Browse latest Browse all 5299

Trending Articles