-
Notifications
You must be signed in to change notification settings - Fork 579
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
os/arch/arm/src/amebasmart: Fix UART data loss when wakeup from PG
+ Required: This commit has cherry picked #6482 and is required to work + Issue is encountered where bytes are lost on UART wakeup source during resume from sleep + Analysis: UART FIFO is started but not drained during resume. When the peripheral is initialized again, it causes the FIFO to also be cleared and cause data loss + Similarly if more than 64 bytes is passed in together, since there is no mechanism to drain the FIFO into RAM it will cause LSR overrun error + This fix drains the FIFO first at KM4, then again at CA32 until it fully wake, then normal Tizen ISR handler resume operation + The drained buffer is also passed to application layer
- Loading branch information
1 parent
1171976
commit 5998015
Showing
4 changed files
with
143 additions
and
7 deletions.
There are no files selected for viewing
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
build/tools/amebasmart/gnu_utility/km0_km4_app_RELEASE_NOTE.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters