This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2634-Q1: UART LSR register exception: RX_FIFO_STS field equals 1 while RX_BI/RX_FE/RX_BE fields all equal 0

Part Number: AM2634-Q1

Hi experts, 

My customer found they can't read data via UART_read API (in polling mode). After investigation, we found it is due to RX_FIFO_STS equals 1 so that UART_statusIsDataReady API will return false. But we see the register LSR's content in Memory Browser, it shows that RX_BI/RX_FE/RX_BE fields all equal 0. According to register manual: 

The RX_FIFO_STS should be 0 if RX_BI/RX_FE/RX_BE fields all equal 0? Or it has other mechanism to set RX_FIFO_STS to 1? 

One possible root cause I guess is the mode transition in UART_readLineStatus API: 

When there are data receiving from RX pin, if this API is called and it switches to configuration mode but not maintaining the operation mode, some error will happen? Please help check this, thanks a lot. 

Best Regards, 

Will