Hello,
We have tried enabling eDMA scatter/gather operation but it doesn’t seem to work properly. We do the following configurations:
However, only the first descriptor setup in eDMA registers is processed and after the first major loop completes, channel descriptor is not reloaded properly from memory (strange garbage values are loaded into registers) and nothing happens afterwards (no interrupts, transfer etc.).
Please help us if there is any solution to this problem.
Thanks,
Rizwan
Hello Rizwan,
have you checked DMAx_ES? is pretty useful indicating what is the probable cause of the error.
Have you tried using OCRAM to store the scatter gatter data instead of SDRAM? just want to make sure you external memory is properly configured and the garbage is not because the data is being read wrongly from the memory controller.
Best Regards,
Ioseph