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
The uart1SendData() and uart2SendData() functions uses a spin loop to determine when the next byte can be pushed to the UART. Sending too much data continuously using these functions will block the task and is likely to cause starvation problems in the system.
Note: uart1Putchar() and uart2Putchar() are calling the send data functions and have the same problem
The suggested solution is to replace the spin loop with an interrupt and semaphore.
The text was updated successfully, but these errors were encountered:
The
uart1SendData()
anduart2SendData()
functions uses a spin loop to determine when the next byte can be pushed to the UART. Sending too much data continuously using these functions will block the task and is likely to cause starvation problems in the system.Note:
uart1Putchar()
anduart2Putchar()
are calling the send data functions and have the same problemThe suggested solution is to replace the spin loop with an interrupt and semaphore.
The text was updated successfully, but these errors were encountered: