Hi Titus
usually several circle buffers are used: one is filled with sensor data, others are
processed in chain by application. Two buffers are min. number: one is filling with sensor data,
other is processed by application, after that they are changed in places. Two buffers may require
more overheads and underrun may happens, when sensor data was not ready when other
buffer was already emptied by application. Three or more buffers allows more flexible
timings and do not require strict synchronization as in case two buffers.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------