Use of UART_RX_IDLE_THRHD

brunohpg
Posts: 6
Joined: Tue May 28, 2019 5:37 pm

Use of UART_RX_IDLE_THRHD

Postby brunohpg » Wed Jun 19, 2019 8:22 pm

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!

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

Re: Use of UART_RX_IDLE_THRHD

Postby WiFive » Thu Jun 20, 2019 4:58 am

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?

brunohpg
Posts: 6
Joined: Tue May 28, 2019 5:37 pm

Re: Use of UART_RX_IDLE_THRHD

Postby brunohpg » Fri Jun 21, 2019 11:58 am

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

Who is online

Users browsing this forum: MicroController and 85 guests