hw fifo overflow max set / reset
Posted: Sun Nov 20, 2016 11:38 pm
hi guys
how much we can set fifo for uart in extrem example and how much you suggest for max?
can we read, reset overflow bit by user?
reset Fifo after read by user ?
best wishes
rudi
btw, we have rxfifo and txfifo,
hw fifo respekt UART_FIFO_OVF means allways rxfifo ?
btw: CAN Register works just in time pefekt ( 1000 msg )
only uart hw fifo ovf - have not insert fifo reset after INTR.
Code: Select all
#define UART_FIFO_LEN (128) /*!< Length of the hardware FIFO buffers */
can we read, reset overflow bit by user?
reset Fifo after read by user ?
Code: Select all
uart_reg->int_clr.txfifo_empty = 1;
uart_reg->int_ena.txfifo_empty = 1;
rudi
Code: Select all
//Event of HW FIFO overflow detected
case UART_FIFO_OVF:
ESP_LOGI(TAG, "hw fifo overflow\n");
break;
hw fifo respekt UART_FIFO_OVF means allways rxfifo ?
btw: CAN Register works just in time pefekt ( 1000 msg )
only uart hw fifo ovf - have not insert fifo reset after INTR.