AnsweredAssumed Answered

SPI fastest receive method

Question asked by Martin on Sep 27, 2013
Latest reply on Sep 29, 2013 by waclawek.jan
Hello,

I'm trying to receive data on an STM32F205 SPI1 as fast as possible.
The sender is a STM32F4, and it sends commands in different lengths up to 2048 Bytes per command. There is no OS on the receiver, just the main loop.

Polling for SPI_I2S_IT_RXNE seems too slow. Receiving via Interrupt also. Currently i'm using a 64 Byte Circular DMA buffer and read the data via SPI SPI_I2S_IT_RXNE Interrupt into an 32KByte Buffer. The Mainloop reads from the 32KByte Buffer. This method seems to be the fastest that i have found yet. Are there any other suggestions?

Thank you
Martin

Outcomes