Hi Ti Folks,
I am trying Fast C&M, Vendor Specific information transmission through AIF2 interface. In this regard, i have few questions.
1. I took the LTERelayTestProject, I have c6670 evm board and i am trying loopback within
i set EVM_TYPE =1
CPRI_RELAY_CONFIG = 2 and
//Enable control words
#define CPRI_FAST_CM 1
volatile unsigned int intLoopback = 1;
volatile unsigned int swSync = 1;
The example works fine for data, but the code flow DOES NOT touch the FAST_CM code at all, i put a break point in the below part of the code, the breakpoint doesn not hit at all. let me know is there any config/setting i need to take care still.[ofcourse, i did tweak the IF loop and make it work, and i did so, though push to Txq is happening, but reception at Rxq is not happening, so i understood that i have disturbed the natural flow,kindly help so that the example will work on its own without any tweaking].
if (CPRI_FAST_CM)
{
//printf("frame %d,aifFsyncEventCount %d \r\n",frameCount,aifFsyncEventCount[1]);
gie = _disable_interrupts();
if (frameCount < aifFsyncEventCount[1])
{
frameCount = aifFsyncEventCount[1];
// pop from control stream free queue
ptrMonoDesc = (Cppi_MonolithicDesc *)QMSS_DESC_PTR(Qmss_queuePop(aifObj.pktDmaConfig.txFqCtrl[0]));
// push control data on tx queue
if (ptrMonoDesc != NULL) Qmss_queuePushDesc(aifObj.pktDmaConfig.txQCtrl[0], (Uint32*)ptrMonoDesc);
// check if new packet available on the receive side
entries = Qmss_getQueueEntryCount(aifObj.pktDmaConfig.rxQCtrl[0]);
if (entries > 0)
{
ptrMonoDesc = (Cppi_MonolithicDesc *)QMSS_DESC_PTR(Qmss_queuePop(aifObj.pktDmaConfig.rxQCtrl[0]));
// recycle control packet on rx free queue
Qmss_queuePushDesc(aifObj.pktDmaConfig.rxFqCtrl[0], (Uint32*)ptrMonoDesc);
ctrlPktCount++;
}
}
_restore_interrupts(gie);
}
Thanks
RC Reddy