SPRUJ79 November 2024 F29H850TU , F29H859TU-Q1
When using the RTDMA with the TX FIFO, the RTDMA Burst Size (DMA_BURST_SIZE) must be no greater than 16 - TXFFIL, to prevent the RTDMA from writing to an already full FIFO. This leads to data loss and is not recommended.
For complete data transmission, follow these steps:
To transfer 128 words to SPI using the RTDMA:
NUM_WORDS: 128
TXFFIL: 8
DMA_TRANSFER_SIZE: (NUM_WORDS /(16 - TXFFIL)) - 1 = (128/8) - 1 = 15 (16 transfers)
DMA_BURST_SIZE: 2(16 - TXFFIL) - 1 = 2(16 - 8) - 1 = 15 (16 words per burst)