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.

TMS320F280025: Receive unknow length data with SCI

Part Number: TMS320F280025

Hi Expert,

My customer have a requirement that receive unknow length data with SCI from PC, data length may be over 16 bytes and SCI fifo level is not enough,

any suggestion for this?

customer can use LIN as SCI function and use DMA to transfer data, but do not know when all the received data is done as the data length is unkonw.

  • Hi Strong,

    Thanks for question. If the total data length is unknown, then it may be best to use a FIFO depth of 1 and DMA to transfer the data.

    By doing that, the DMA will trigger for EVERY byte that comes in. So if the data is 17 bytes for example, it will trigger 17 times and fill up the memory.

    Regards,

    Vince