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

Possible issue with PSUART driver and receiver buffer #22

@mpv89

Description

@mpv89

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions