How can I know that if peripherals are requesting to the DMA channel or not ?
Hi @Julián_AragónM ,
I am getting the interrupt but the data not present in the RxBuff array.
can you help me with this I am attaching the code below.
Hi @vignesh3,
If DMA is reporting data transfer, but you cannot see it, it may be an issue with the cache. Try adding "__attribute__((section(".mcal_bss_no_cacheable")))" to your Tx and Rx buffers. Also, MPU_ENABLE needs to be added if not included already:
Best regards,
Julián
Hi @vignesh3,
I assume you are trying to check if a DMA transfer has happened? You can configure an interrupt for the following events:
You can check with the first two if any major loop has been completed after requesting a transfer. You can also check the CHn_CSR field for the ACTIVE & DONE fields.
Please refer to chapter 15.5.6 Monitoring transfer descriptor status from the S32K3XX's Reference Manual as it describes how to monitor the eDMA status.
Best regards,
Julián