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

RTEMS trac trac at rtems.org
Tue Feb 15 13:39:53 UTC 2022


#4610: 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:  6
 Severity:  normal              |  Resolution:  fixed
 Keywords:                      |  Blocked By:
 Blocking:                      |
--------------------------------+---------------------------------
Changes (by Christian Mauderer <christian.mauderer@…>):

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


Comment:

 In [changeset:"cff16379c9650324e1a320d0931892e220f8f55a/rtems"
 cff16379/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="cff16379c9650324e1a320d0931892e220f8f55a"
 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 #4610
 }}}

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


More information about the bugs mailing list