2024-03-06 04:08 AM
Hi,
We are using STM32F072RBT6 in our project.
We have configured the SPI1 in Slave mode(8bit/16bit) in-order to receive the input stream @1Mbps with 64bytes frames.
we have observed that the FIFO full and overflow is happening @Spi slave while receiving the data stream @1Mbps.
Pl provide inputs in this regard.
2024-03-06 06:06 AM
> we have observed that the FIFO full and overflow is happening @Spi slave while receiving the data stream @1Mbps.
Use DMA to retrieve data before the FIFO fills up. You can also use interrupts, but code needs to be fast enough to keep up.
Using circular DMA which is always enabled and polling for new data occasionally (or using the half- and full-complete interrupts to do so) is a common and viable strategy.
2024-03-06 07:38 AM