AnsweredAssumed Answered

Avoiding "Ring buffer overrun!" or "Hardware buffer overrun!"while using FreeRTOS uart example

Question asked by Niyanth Krishna Polisetty on Jul 27, 2017
Latest reply on Aug 1, 2017 by Daniel Chen



I am trying to use the freertos_uart.c on my frdm-k22 board to read data from my GPS module (GPS module has tx and rx lines that keeps sending out information every second). 


Everytime I run the uart example I get four bytes (specified by recv_buffer[4]) of information after which I get "Ring buffer overrun!" Increasing the size of the recv_buffer doesn't seem to help. 


My question:

-How do I read the information from the ring buffer every time recv_buffer gets full? 

-Will reading the ring buffer solve the "ring buffer overrun" problem?