I am finding difficuilty in programming AIF2 in one of aspects.
As we know, there are C&M data and AXC data(IQ samples Data) to be sent over CPRI Interface.
Approach I am following to configure AIF2, is to use different C&M Data generator SW and AXC data Generator SW. Since C&M data is demand based,so it would not be sent regularly. AXC Data would be sent regularly. I would use MCN(PKTDMA) functionality to transfer both types of Data to AIF2 FIFO . Now both type of data are in buffer (FIFO).
How would I make sure that which portion of data in FIFO is AXC data or C&M data ? We need to differentiate both type of data as both are put into different positions of CPRI Basic frame. If we cannot differentiate type of data , then how would both these data go into correct positions of CPRI frame ?
Please provide rsolution to this problem.