Search found 2 matches
- Mon Nov 05, 2018 1:51 pm
- Forum: ESP-IDF
- Topic: Is the current uart driver missing an UART_TX_DONE event?
- Replies: 3
- Views: 4646
Re: Is the current uart driver missing an UART_TX_DONE event?
To followup on the topic: we ended up rolling our own very lean UART driver. The FIFO status is tracked by a dedicated ISR routine, and interrupt register status is managed with uart_enable_intr_mask(), uart_disable_intr_mask() and uart_clear_intr_status(). Which is a shame because we can't rely on ...
- Fri Nov 02, 2018 11:04 pm
- Forum: ESP-IDF
- Topic: Is the current uart driver missing an UART_TX_DONE event?
- Replies: 3
- Views: 4646
Is the current uart driver missing an UART_TX_DONE event?
Hi. I need to send and receive data from UART asynchronously. In order make non-blocking uart_write_bytes() calls, I need to extract an event signaling the starvation of the TX ring buffer (or the TX fifo if 'tx_buffer_size' == 0), and pass it upstream, so that more data can be queued. Among the eve...