Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hi experts,
My customer wants to use DMA to transmit odd number of Bytes data (for example 9 Bytes) from UART FIFO.
I found that the DMA must transfer data in multiples of 2 Bytes. For UART, the FIFO trigger level is 2, 4, 8, 12, 14 Bytes.
I refer to this link and find that there is a method to workaround this issue.
The method is that users can start a timer counting when DMA is triggered to generate a delay. The delay should be the time of DMA transmitting and the remaining 1 Byte of data transmitting. After delay, the user can get the last 1 Byte data. But it need CPU.
Are there any other method to transmit odd number of Bytes from UART FIFO by DMA?
Thanks,
Leo