Hi,
My C6747 Run @ 300M , CACHE :L1P=32K,L1D=32K,L2=64K.
EMIFA_CS4 Connected to the DPRAM(FPGA Internal), I use EDMA read DPRAM 800 bytes to L2_SRAM with 114 us .
I think this speed is still slow, How to improve the speed?
Setup_EMIFA:
/* Setup CS4 - 8-bit normal async */
AEMIF_A3CR = 0x00a00504; // Setup=0, Strobe=A, Hold=0, TA=1, 8-bit
AEMIF_NANDFCR &= ~4;
EDMA code:
gEdma3ccRegs->PARAMSET[0].OPT = 0x00100008;
gEdma3ccRegs->PARAMSET[0].SRC = ( Uint32 )DPRAM_Addr ;
gEdma3ccRegs->PARAMSET[0].A_B_CNT = 0x00010000 + 800 ;
gEdma3ccRegs->PARAMSET[0].DST = (Uint32)gLineBuf;
gEdma3ccRegs->PARAMSET[0].SRC_DST_BIDX = 0x00000000;
gEdma3ccRegs->PARAMSET[0].LINK_BCNTRLD = 0x0000FFFF;
gEdma3ccRegs->PARAMSET[0].SRC_DST_CIDX = 0x00000000;
gEdma3ccRegs->PARAMSET[0].CCNT = 0x00000001;
gEdma3ccRegs->ICR =0x00000001;
gEdma3ccRegs->ESR =0x00000001; //enable EDMA_EVENT_0(start EDMA)
//wait Edma over...
while ( gEdma3ccRegs->IPR == 0) {};
Thanks !