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.

TMS570LC4357: SCI tx in DMA mode using Polling method

Part Number: TMS570LC4357

Hi Team,

In our application we are using the SCI for the serial communication using DMA. We are using the Polling mode to initiate the next transfer.

For the polling operation, we are monitoring the BTC,HBC, FTC and LFS flags for the complete transmission, but still we are observing the problem while transmitting the data.

We would like to know that, is there any other register also we need to monitor, before intiating the next transfer, in the polling method for SCI when used in DMA.

Regards.

  • Hello,

    For SCI receiving, you can use RXRDY flag to initiate a DMA transfer. The RXRDY flag is set when the SCI transfers newly received data from the SCIRXSHF register to the SCIRD buffer. 

    For transmitting, the TXRDY flag can be used. The TXRDY flag is set when the SCI transfers the contents of SCITD to SCITXSHF.