drivers: serial: nrf uarte: The application receives one more byte that was received over UART #33280
Labels
area: UART
Universal Asynchronous Receiver-Transmitter
bug
The issue is a bug, or the PR is fixing a bug
platform: nRF
Nordic nRFx
priority: low
Low impact/importance bug
Milestone
Describe the bug
The application receives one more byte that was received, due to RX counter alignment upon ENDRX event.
In case of the following sequence of UART events:
The application receives one more byte that was received, due to RX counter alignment upon ENDRX event.
Expected behavior
The application should receive the exact amount of bytes that was received by the UART peripheral.
Impact
This issue may break data transfers, that require at least two UART transmissions, with the delay between them.
Environment:
Additional context
The issue was found during Zigbee NCP serial transport development. It was mitigated by switching from
UART_ASYNC_API
to theUART_INTERRUPT_DRIVEN
mode (nrfconnect/sdk-nrf#2835).After switching, a new way of reproducing the issue was not developed.
The text was updated successfully, but these errors were encountered: