configuration requirement for reading data from AMC EBIU of Blackfin processor
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?
Hi Renu,
Apologies for the delay in getting back on this. Were you able to get going?
If not please let us know which Processor you are referring to?
Thanks,
Jithul
This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.
Thank you,
EZ Admin
Please log in to reply.