Hi,
I need a help on the UART module. We are using am3352BZC series processor in our customized Hardware, with uart ports configured as below:
UAART0--> console
UART1,3,4 and 5 used for functionality test with following lines.
Tx,Rx and GND (Half duplex mode connction).
We are trying to detect UART line error events such as port removal (manual removal of uart tx/rx connection), invalid signal, etc, from user space. We are trying to get the error info from the registers like LSR, , but we are enot able to get anything respect to the port connection failure. Right now we are only detecting the "read" failure from the driver when there is a port disconnection, but not sure how to detect if this failure is due to port disconnection.
Can anyone help how to identify the exact error event from user space when there is a Tx/Rx failure happen?
Regrads,
Venkatesh