Timeline for FIFO-related data transmission problems between microcontroller and PC
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:32 | history | edited | CommunityBot |
replaced http://electronics.stackexchange.com/ with https://electronics.stackexchange.com/
|
|
Nov 1, 2015 at 21:41 | vote | accept | pvh1987 | ||
Oct 28, 2015 at 16:38 | answer | added | pvh1987 | timeline score: 0 | |
Oct 27, 2015 at 22:44 | comment | added | pvh1987 | (1) The FIFO will not overflow since measurements will be paused if there is not space for a new package in the buffer. The measurement timer will then start again once the queue is empty. This works fine as long as the FIFO still contain packages when an ACK is received. If not, I run into the problem described in my question. (2) The device will likely need to be reset in order to function again. I think I will implement a "communication reset" function that clears all TX and RX buffers after one second of no activity on the UART. This should be easy to implement as I have done that before. | |
Oct 27, 2015 at 22:04 | answer | added | Wouter van Ooijen | timeline score: 2 | |
Oct 27, 2015 at 22:03 | comment | added | Jon | A few questions: (1) what happens if the PC doesn't poll your device and the fifo overflows? (2) If the PC doesn't send an ACK (maybe the transmission gets lost) what does your device do? | |
Oct 27, 2015 at 20:13 | history | asked | pvh1987 | CC BY-SA 3.0 |