DMA transfers are not working as expected.
The UART driver we implemented calls the TI-PDK DMA driver.
Please answer the following questions.
* PDMA initialization parameters : elemCnt=4, fifoCnt=1
* UART receive data size : 16byte
It seems DMA has finished correctly, as the data is written to the destination address of the memory. ( see Sequence No.15 and 16)
Does anyone have an idea what the possible causes are?
Interrupt is set to Enable.
* PDMA initialization parameters : elemCnt=64, fifoCnt=64
* UART receive data size : 16byte
Since the transfer size is not constant, I want to set elemCnt and fifoCnt as large as possible (i.e. UART FIFO size), and use the UART FIFO threshold exceeded interrupt to trigger DMA to transfer the data in the UART FIFO.
Is there any constraint on elemCnt and fifoCnt?
elemSize = UDMA_PDMA_ES_8BITS (= 0)
elemCnt = FIFO size / elemSize = 64byte / 8bit (= 1byte) = 64 (Size to read when PDMA receives a request)
fifoCnt = FIFO size / elemSize = 64byte / 8bit (= 1byte) = 64 (PDMA FIFO count)
Regards,
Erika Arakawa