In our application, we are using EDMA to transfer SPI write to external chips.
Our code works fine when source address is in the DDR region (0x8xxxxxxx).
Whenever we are using L2RAM addresses (0x1080xxxx), the data send out by EDMA are all 0. (note that we config 128K cache, 128K L2 RAM)
Based this observation, we guess maybe EDMA don’t have the permission to read from internal RAM. So we did below investigation on this:
1. We tried to change L2MPPAn.
2. We played with OPT in the EDMA to set supervisor mode.
But neither work, please advise.
regards
--Zhigang