Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

RE: Unexpected UART_EVENT_RX_CHAR and UART_EVENT_ERR_OVERFLOW

$
0
0

Hi Karol,

Actually, I have tried different combinations like framework or driver, DTC or not.  However, I can't figure out a single way to do it.  No matter I use DTC or not, my callback function is still invoked with event UART_EVENT_RX_CHAR.  As I mentioned before, without DTC, g_uart1.p_api->read is dummy code.  With DTC, the g_uart1.p_api->read waits for new input and cannot pop out bytes received previously through p_args->data.  In both cases, UART_EVENT_ERR_OVERFLOW cannot be avoided.


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>