Hi, I have a question on the consistency of cache as follows:
the process of EDMA, I Introduced the PingPong mechanism。just so :
in L2SRAM, I have a buffer named A, which is used to be the dest of EDMA, the size is m.
the source buffer of EDMA is B ,which is in DDR, the size is n.
the size of One transmission is m/2, so the total number of times are (2*n)/m;
the Pseudo code is below:
now , I have a question:
I want to remove a word which is "Cache_wb(B, m/2*sizeof(short) , Cache_Type_ALL, TRUE);",because I think B is not seen by CPU, The B address is onely seen by EDMA.
After I do the above behavior , the result is not the same with the before when the EDMA is not introduced;
who can help me ? Thanks!
If you don't understand the question above, please question me !