Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 22625

Re: FFT in BF506

$
0
0

Hello Prashant,

I modified your original code with the info you gave to enable the 2D mode.

 

I modified the function Init_Sport() with the following:

 

*pDMA4_CONFIG = FLOW_SMALL | NDSIZE_4 | SYNC | DMA2D | WDSIZE_16 | WNR;

*pDMA4_X_COUNT = 0x0002;

*pDMA4_Y_COUNT = BUFF_SIZE/2;

*pDMA4_X_MODIFY = (BUFF_SIZE/2)*2;

*pDMA4_Y_MODIFY = -((BUFF_SIZE)/2)*2+2;


and enabled the sport secondary channel, but I can't read any data anymore from the Rx_Data_BUFFx.

I guess I am doing something wrong.

I can't wrap my head around the method used for the interleaving.



Viewing all articles
Browse latest Browse all 22625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>