SPI1(STM32F0x) in Slave mode is not sampling input stream at 1Mbps fifo full overflow is happening
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-06 4: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.
- Labels:
-
STM32Cube MCU Packages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-06 6: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-06 7:38 AM
