Hi, all
I use DSP TMS320C6678 with Blackhawk XDS560V2 Mezzanine Emulator.
I take example from pdk_C6678_1_1_2_5/packages/ti/drv/pa/example/simpleExample/
On run time I have error:
/* wait for return buffer */
for (j = 0; j < 100; j++) {
CycleDelay (1000);
if (Qmss_getQueueEntryCount (gvPaTxRecycleQ) > 0) {
hd = (Cppi_HostDesc *)(((UInt32)Qmss_queuePop (gvPaTxRecycleQ)) & ~0xf);
/* Reset the buffer lenght and put the descriptor back on the free queue */
hd->buffLen = hd->origBufferLen;
Qmss_queuePush (gvRxBufQ, hd, hd->buffLen, CONFIG_SIZE_DESC, Qmss_Location_TAIL);
break;
}
}
if (j == 100) {
System_printf ("function setMacs: Timeout waiting for return buffer from complete queue to Pa_addMac command\n");
return (-1);
}
What is my faults?
Thank for your replay
Oleg