Search found 2 matches

by zzy228
Thu Jan 09, 2025 10:47 pm
Forum: Documentation
Topic: esp32c3: Access type of UART_FIFO_REG, and how to write into UART TX FIFO
Replies: 1
Views: 2418

Re: esp32c3: Access type of UART_FIFO_REG, and how to write into UART TX FIFO

I have figured it out later. UARTx_FIFO_REG has to be written into using sw instruction instead of sb
by zzy228
Tue Dec 10, 2024 11:49 am
Forum: Documentation
Topic: esp32c3: Access type of UART_FIFO_REG, and how to write into UART TX FIFO
Replies: 1
Views: 2418

esp32c3: Access type of UART_FIFO_REG, and how to write into UART TX FIFO

In esp32c3 technical reference 26.4.2, there is: 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 rea...