Page 1 of 1

How to change default size of UART FIFO?

Posted: Wed Feb 26, 2020 10:47 am
by jgries
Hi all,

from ESP32 technical reference manual I've learned that UART controllers share a total of 1024 bytes RAM and default size per Rx/Tx FIFO is a block of 128 byte. Furthermore it says "Rx_FIFO of UARTn can be extended by setting UARTn_RX_SIZE".

However it is not clear to me, where this UARTn_RX_SIZE parameter is actually found to be adapted? Is it somewhere in IDF source? Can anyone help on this?

Re: How to change default size of UART FIFO?

Posted: Wed Feb 26, 2020 3:01 pm
by WiFive
https://github.com/espressif/esp-idf/bl ... #L315-L316

It's not supported by the driver so you will have to modify it or use your own