Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport v3.7.99-ncs1-branch] [nrf fromlist] drivers: serial: nrfx_uarte: Fix RX path without low p… #2232

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

NordicBuilder
Copy link
Contributor

Backport b27ed6f from #2230.

…ower modes

RX FIFO flushing on RXTO event should only be performed when
UARTE peripheral might be disable during inactivity and that
happens when low power modes is enabled or when device runtime
PM is used. Flushing was incrementing flush_cnt which was not
used (flushed data is not copied to the next buffer) which
was causing data loss and invalid RX data length reporting.

Upstream PR #: 80968

Signed-off-by: Krzysztof Chruściński <[email protected]>
(cherry picked from commit b27ed6f)
@rlubos rlubos merged commit ec360ef into v3.7.99-ncs1-branch Nov 6, 2024
22 checks passed
@rlubos rlubos deleted the backport-2230-to-v3.7.99-ncs1-branch branch November 6, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants