Hello Champs,
The VLFFT example calls transporse_1 function to convert N*8 array to 8*N via EDMA. Why does it not use the global address to access L2SRAM?
In the original example, the pWorkBuf0Internal data are 0, after changing it to global address, the data are correct.
The original code:
transpose_1( &pInBufInternal[(stepOutSrc*(blkIdx&0x1))>>2],
&pWorkBuf0Internal[0],
VLFFTparams->N1,
SAMPLES_PER_TRANSFER_BLOCK );
After modifying
transpose_1( &pInBufInternal[(Uint32)((stepOutSrc)*(blkIdx&0x1)>>2)+((DMAparams->globalAddrOffset)>>2)],
&pWorkBuf0Internal[(DMAparams->globalAddrOffset)>>2],
VLFFTparams->N1,
SAMPLES_PER_TRANSFER_BLOCK );
Is it a bug in VLFFT example?
Thanks.
Rgds
Shine