Hi Jelle
i.MX28 does not support natively RS485, so in hardware it is not
possible to know when last bit was transmitted. In general, you can do
this in software checking bit TXFE register HW_UARTAPP_STAT
(Transmit FIFO empty), then wait for confidence time equal one symbol.
After that one can be sure that all bits are transmitted.
Probably you can try to realize this algorithm in mxs-auart.c,
currently there are no specific functions for this purpose.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------