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.

MSPM0L1306: Recognition of end of transmission with UART

Part Number: MSPM0L1306

Tool/software:

Dear Experts,

I want to setup a half duplex connection using a UART on a MSPM0L1306. The TX- and RX-pin should be connected. And transmission and reception of data should be possible.

I have configured the UART in standard mode with a baud rate of 9600 8-N-1. I have the DMA configured to transmit and reveive data via the UART. To be able to connect the TX- and RX-pin of the UART, the TX-path needs to be disabled after the end of the transmission to receive data on the RX-path. The pull-up resistor on the RX-pin should be enabled.

To recognize the end of the transmission I have enabled the EOT_DONE interrupt. When the EOT_DONE fires, the TX-path can be disabled and the RX-path can be activated.

However, it seems also from other posts that the EOT_DONE only fires when the TX-path and RX-path of the UART are both enabled. Is that true?

Is there another way to recogize the end of a transmission of a UART on the MSP0L1306?

Using the DMA_DONE_TX interrupt, some of the data to transmit is lost, because the UART is probably not ready transmitting when the DMA_DONE_TX interrupt fires.

Thanks.