We are developing an application on a custom board running an AM3358. We're using sys/bios 6.75.2, am335x PDK 1.0.16 and CCS8.
We are sending 150 bytes via a UART using the sys/bios UART driver. The UART is opened in callback mode. However, we get the write callback when the last chunk of data is written to the FIFO, not when the TX is complete. I need to know when the TX is complete. Is there a way to configure the UART to notify the app when all the data has been sent? If not, is there a way to poll the FIFO to determine when it's empty?