Skip to content

UART: Add RX Overflow Detection and LSR Overrun Flag - #45

Open
Anubhav-30 wants to merge 4 commits into
riscv-mcu:masterfrom
Anubhav-30:uart-rx-overflow-fix-v2
Open

Anubhav-30 wants to merge 4 commits into
riscv-mcu:masterfrom
Anubhav-30:uart-rx-overflow-fix-v2

Conversation

@Anubhav-30

Copy link
Copy Markdown

This PR adds RX overflow detection to the APB UART.
Detects overflow when rx_valid && !rx_ready
Updates LSR[1] to indicate overrun error
Clears overflow flag on LSR read
Minor fix to TX overflow handling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant