Skip to content

Use ESP GPIO_0 for UART flow control for data sent from ESP to AVR #5

@RoganDawes

Description

@RoganDawes

Rather than requiring the AVR to explicitly ack receipt of a packet over the UART, indicating space available in the AVR's buffer for more data, make use of GPIO_0 to signal the ESP whether it can transmit data. This will allow the AVR to trigger flow control in UART receive interrupt context, rather than having to wait until the main thread can send the ack.
This should help to keep the AVR's receive buffer from stalling, and improve overall throughput.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions