in a project my Electron has to receive about 128kB of data every second over SPI. This stream lasts for a maximum of 3 seconds, then all data received has to be uploaded to a website from the Electron. I tried using a NAND flash with SPIFFS for temporary storage, but the flash is just too slow to write the data. SD cards won’t work either as they have similar maximum data rates as the flash.
I could use a Raspberry Pi Zero W but it looks overkill and I really want to avoid running a full-on operating system on the device for security reasons.
SRAMs could work but they are too small. Also I need serial storage; there’s not enough data lines available to interface in parallel.
Anyone has an idea which way to go from here?