Hello,
We are working on TCI6670 evm
In our software, Aif2 has been configured for 20 MHz LTE CPRI 4x,2 AxC(Two DSPs in Chain Topology),that is -
<<DSP0-->DSP1-->"Serdes Loopback Enabled at DSP1">>
Now, we need to send control word(Fast C&M) from both dsps- DSP0 and DSP1.
Referring to section 9.1.4 of Aif2 user guide,following is configured to enable sending of control word data from both DSP0 and DSP1, connected in chain topology-
1.For both DSP0 and DSP1 -
PeLinkSetup.PePackDmaCh[0] = 124;
PeLinkSetup.bEnablePack[0] = TRUE;
2.Being specified in UG, cpri cw lut setup could be differently setup for DSP0 and DSP1 to split control word BW,
So, for both PE and PD module,
On DSP1 -
for(i = 0; i < 256; i++) /*cpri cw lut setup*/
{
if (((i >= 20) && (i < 64)) || ((i >= 84) && (i < 128)) )
{
PeLinkSetup.CpriCwChannel[i] = 0;
PeLinkSetup.bEnableCpriCw[i] = TRUE;
}
}
On DSP0 -
for(i = 0; i < 256; i++) /*cpri cw lut setup*/
{
if (((i>= 148) && (i < 192)) || ((i >= 212) && (i < 256))) {
PeLinkSetup.CpriCwChannel[i] = 0;
PeLinkSetup.bEnableCpriCw[i] = TRUE;
}
}
3.Similarly PdLinkSetup is configured as in point 1. and 2.
3. With SERDES loopback enabled at DSP1, I observe that I am able to receive DSP1 control word. But I am unable to receive DSP0 control word.
Please advise if we missed out something else in Aif2 configuration to enable Control Word on both dsps together - DSP0 as well as DSP1
Regards,
Jeanne