You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jira 842 UART improvement, PR 266, broke BLE interface.
Root causes:
1. The uart_fifo_fill doesn't check the FIFO's length
and failed to send out all data.
2. Check the FIFO status register before write data
in FIFO.
3. Ring buffer pointer variables are not volatile and
polling mechanism failed to examine the actual
pointer value being update by foreground task.
File changes:
1. RingBuffer.h: Make pointer as volatile.
2. UARTClass.cpp: Added checking of FIFO size for
data Tx.
3. ns16550.c: Added routines to h/w status register
checking.
0 commit comments