[RTEMS Project] #4611: BSP/atsam: UART driver sends data with a small gap

RTEMS trac trac at rtems.org
Tue Feb 15 13:38:26 UTC 2022


#4611: BSP/atsam: UART driver sends data with a small gap
--------------------------------+---------------------------------
 Reporter:  Christian Mauderer  |       Owner:  Christian Mauderer
     Type:  defect              |      Status:  closed
 Priority:  normal              |   Milestone:
Component:  bsps                |     Version:  5
 Severity:  normal              |  Resolution:  fixed
 Keywords:                      |  Blocked By:
 Blocking:                      |
--------------------------------+---------------------------------
Changes (by Christian Mauderer <christian.mauderer@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"fc21b923ba8cf092c227f082d80b889bbf8c1bb9/rtems"
 fc21b923/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="fc21b923ba8cf092c227f082d80b889bbf8c1bb9"
 bsp/atsam: Improve UART / USART tx performance

 Put the next character into the send buffer if the buffer is empty and
 not when the last character has been sent out to the line. This improves
 the performance slightly.

 Before that patch, the receive path was faster than the transmit path.
 Therefore a simple echo could drop characters on a busy connection.
 With this patch sending and receiving has about the same performance so
 that no characters are lost.

 Fixes #4611
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4611#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list