AnsweredAssumed Answered

configuration requirement for reading data from AMC EBIU of Blackfin processor

Question asked by renu on Oct 24, 2016
Latest reply on Feb 27, 2017 by Jithul_Janardhanan

hello

i want to do memory(FPGA) data transfer via EBIU in AMC mode. For that i have configured AMC register

void EBIU_AMC_Init_Read()
{ *pEBIU_AMBCTL0=B1RAT_11|B1HT_3|B1ST_3|B1RDYEN|B1RDYPOL|B1TT_4|B0RAT_11|B0HT_3|B0ST_3|B0RDYEN|B0RDYPOL|B0TT_4;
    *pEBIU_AMBCTL1=B3RAT_11|B3HT_3|B3ST_3|B3RDYEN|B3RDYPOL|B3TT_4|B2RAT_11|B2HT_3|B2ST_3|B2RDYEN|B2RDYPOL|B2TT_4;
    *pEBIU_AMGCTL=AMBEN_ALL|AMCKEN;    //CDPRIO, DMA has priority over core for for external accesses }

 

After that i want to read data from memory for that

 

Void EBIU_DATA_Read()
{

short *iSrcBufferAddress = (short*)0x20300000;//Async Memory BANK3

int j;
for(j=0; j< 100 ; j++)
destbuff1[j] = iSrcBufferAddress++;

}

But neither data nor control signal (ARE,AOE etc)was present .

whats wrong in the code?

Outcomes