This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6678: transporse_1 global address

Genius 13655 points
Part Number: TMS320C6678

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