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

avoid getting stuck in serial IRQ if ORE is set without RXNE #1608

Merged
merged 1 commit into from
Mar 14, 2016

Conversation

mfiore02
Copy link
Contributor

Fixes #1605
Applications may encounter situations where UARTx->SR & ORE is true but UARTx->SR & RXNE is not true. If this occurs when a RX interrupt handler is attached, the device will get stuck in a loop executing the serial irq handler. This is because the ORE flag can trigger the RXNE interrupt as well as the RXNE flag.

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 11, 2016

cc @bcostm @adustm

@bcostm
Copy link
Contributor

bcostm commented Mar 14, 2016

LGTM

0xc0170 added a commit that referenced this pull request Mar 14, 2016
avoid getting stuck in serial IRQ if ORE is set without RXNE
@0xc0170 0xc0170 merged commit 2144dad into ARMmbed:master Mar 14, 2016
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.

3 participants