I am using DMA to transfer data from FIFO1 and FIFO2 into a buffer. I am utilizing fixed DMA configurations for this data transfer. when completion of the transfer, the following functions will be called:
- Bctu_Ip_Bctu0Fifo1DmaComplete
- Bctu_Ip_Bctu0Fifo2DmaComplete
Skærmbillede 2025-01-29 171541.png
Skærmbillede 2025-01-29 171455.png
Skærmbillede 2025-01-29 171501.png
Skærmbillede 2025-01-29 171150.png
Skærmbillede 2025-01-29 171416.png
Skærmbillede 2025-01-29 171443.png
The system functions correctly when I use an interrupt from RTD (IntCtrl_Ip_Init).
Skærmbillede 2025-01-29 170758.pngHowever, for my project, I am using a different file to configure the interrupt handler, set priority, and enable the handler.
For DMA0_CH1 &DMA0_CH16,i am using IRQ :
DMATCD1_IRQn / Dma0_Ch1_IRQHandler / Priority
DMATCD16_IRQn / Dma0_Ch16_IRQHandler / Priority
It works for BCTU_IRQn and PIT0_IRQn. It also works with DMA when it is triggered by PIT using the following configurations:
Skærmbillede 2025-01-29 172845.png
However, it does not show any indication if the transfer has begun or not, and it is not raising an interrupt when the transfer is completed for DMA while reading data from FIFO using the fixed RTD configuration setup for DMA transfer (Bctu_FifoSetupDma).
Skærmbillede 2025-01-29 171150.png
Skærmbillede 2025-01-29 171416.png
Skærmbillede 2025-01-29 171443.png
What additional configurations are needed to get the system working?