Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Possible issue with PSUART driver and receiver buffer #22

Open
mpv89 opened this issue Dec 5, 2018 · 0 comments
Open

Possible issue with PSUART driver and receiver buffer #22

mpv89 opened this issue Dec 5, 2018 · 0 comments
Assignees
Labels

Comments

@mpv89
Copy link

mpv89 commented Dec 5, 2018

There might be a possible problem in the PSUART driver interrupt.
When receiving data the buffer can be full and this won't empty the RX FIFO
Also, in the recv() function the DMA range request might be too small and not all bytes will be read from the RX FIFO. There is no code to take this into account and request another buffer if there is a rollover. I believe this is fine if the IRQ gets triggered immediately after but it needs verification.

@mpv89 mpv89 added the bug label Dec 5, 2018
@mpv89 mpv89 self-assigned this Dec 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant