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