I have an STM32F0 microcontroller wich is controlling an RS-485 bus interface. The sensors on this bus are providing 220 bytes of data every millisecond.
I want to get the data from the microcontroller to an Beaglebone black so I can store the data in files and FTP them to an server.
The problem here is I have only an gap of 200-300 usec for sending data and I can buffer max 2200 bytes on the STM32.
I tried to send the data over SPI interface, but the Beaglebone can only work master mode so I cant use DMA or a buffer on the Beaglebone. I also tried it with interrupts but they have an respond time form 1-3 milliseconds. The SPI from the STM is max working on 24MHz which is fast enough to handle the data in the 200 usec.
Does anyone know a way in the form of an hardware buffer or something like that between these two devices. I prefer someone which communicates with SPI.
I tried an SD card already but I think it is to slow.
Thanks in advance,