However, in 26.6 Register Summary, the access type of UART_FIFO_REG is read-only. Does this contradicts with the previous quote? I tried reading UART_FIFO_REG and it works as expected. However, when writing bytes into UART_FIFO_REG, nothing is sent. I haven't touched any configuration ...
UARTn can access FIFO via register UART_FIFO_REG. You can put data into TX FIFO by writing UART_RXFIFO_RD_BYTE, and get data in RX FIFO by reading UART_RXFIFO_RD_BYTE. If I get it right, it means that reading the lower 8 bits of UART_FIFO_REG will read one byte from RX FIFO...
However, in 26.6 Register Summary, the access type of UART_FIFO_REG is read-only. Does this contradicts with the previous quote? I tried reading UART_FIFO_REG and it works as expected. However, when writing bytes into UART_FIFO_REG, nothing is sent. I haven't touched any configuration ...
Re: esp32c3: Access type of UART_FIFO_REG, and how to write into UART TX FIFO Postbyzzy228»Thu Jan 09, 2025 10:47 pm I have figured it out later. UARTx_FIFO_REG has to be written into using sw instruction instead of sb ...
esp32c3: Access type of UART_FIFO_REG, and how to write into UART TX FIFO 1 post • Page1of1 zzy228 Posts:1 Joined:Tue Dec 10, 2024 11:27 am Postbyzzy228»Tue Dec 10, 2024 11:49 am In esp32c3 technical reference 26.4.2, there is: ...