Page 1 of 1

Use of UART_RX_IDLE_THRHD

Posted: Wed Jun 19, 2019 8:22 pm
by brunohpg
Hi,

there is a configuration "UART_RX_IDLE_THRHD" on UART, but I don't found any use for it.
Can someone explain the use of "UART_RX_IDLE_THRHD"?

From Reference Manual (p.361):
UART_RX_IDLE_THRHD When the receiver takes more time to receive Byte data than what this
register indicates, it will produce a frame-end signal. (R/W)


PS: It's not TIMEOUT interrupt!

Re: Use of UART_RX_IDLE_THRHD

Posted: Thu Jun 20, 2019 4:58 am
by WiFive
UART_RX_IDLE_THRHD When the receiver takes more time to receive Byte data than what this register indicates, it will produce a frame-end signal. (R/W)
I don't know what is a "frame-end signal". Is it UART_BRK_DET_INT?

Re: Use of UART_RX_IDLE_THRHD

Posted: Fri Jun 21, 2019 11:58 am
by brunohpg
I do not think so. I activated all interrupts and set multiple values for this property, but I could not find what it would be.

UART_BRK_DET_INT: Triggered when the receiver detects at 0 level after the STOP bit.
UART_TX_BRK_IDLE_DONE_INT: Triggered when the transmitter's idle state has been kept to a minimum after sending the last date.

It may be that I need to enable some other function.

There are other interesting properties poorly documented, such as:
UART_RS485_RX_DLY_NUM
UART_RS485_TX_DLY_NUM