How to change default size of UART FIFO?

jgries
Posts: 2
Joined: Sun Feb 23, 2020 3:24 pm

How to change default size of UART FIFO?

Postby jgries » Wed Feb 26, 2020 10:47 am

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?

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: How to change default size of UART FIFO?

Postby WiFive » Wed Feb 26, 2020 3:01 pm

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

Who is online

Users browsing this forum: No registered users and 119 guests