questions about the SPI communication of STM32F103xD
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-09-29 8:58 AM
Posted on September 29, 2012 at 17:58
Hello,
I am doing my project with STM32F103xD, I have a question about the SPI communication of STM32F103xD. When there are data in the receive buffer, but there are't any operation with these data, what will happen if there comes the new data on the SPI bus? (Will the receive buffer be rewrite or the new data will be throw away? ) Thank you. #spi #stm32f103xd
Labels:
- Labels:
-
SPI
-
STM32F1 Series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-09-29 10:33 AM
Posted on September 29, 2012 at 19:33
It's in the reference manual.
The previous data are lost. At least you have the OVR flag in the status register, so you know that one (or more) characters are lost. Some other vendor's devices often use FIFOs for serial peripherals, but that does not help in every situation.