Hi,
I would like to configure the DMA to transfer FIFO data into a custom buffer I created. I want the DMA to transfer the data every time the FIFO is full and store the FIFO data in a destination array of the size 5 times the FIFO size (watermark value defines this size). After 5 FIFO data transfers are completed, an interrupt should be hit.
The BCTU FIFO full trigger (Trigger Source) should be routed to the DMA via the DMAMUX.
We do not want to use the Bctu_FifoSetupDma configuration that comes with the default BCTU DMA transfer configuration as that does not suit our needs as the interrupt will be triggered too often.
I have attached my project where I am trying to implement this design, but it the DMA transfer completion callback (Fifo1DmaComplete) is not triggered. Could you help me identify the reason for this issue?
Hi,
with below modifications and attached main.c it gives results into buffer as per needs
Hope it helps.
BR, Petr
Hi,
if you want to have custom setting for reading result FIFO, you will need to remove Result FIFOs config from BCTU module and do necessary setting on BCTU and DMA by own.
Let me check your project.
BR, Petr