This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

aif2LteTestProject

Hello,

I am using  the C6670 Simulator under CCS 5.2 and going through the example projects. When I run the "aif2LteTestProject" it goes into the "AIF_startHw(&aifObj)" function and stays there. Nothing happens. Before that, the following text is printed out at the console:

[TMS320C66x_0] Beginning AIF2 LTE CPRI:
[TMS320C66x_0] test: CPRI_4X_LTE_20MHZ_2LINK
[TMS320C66x_0] AIF CPRI mode
[TMS320C66x_0] link 0 runs at 4x rate
[TMS320C66x_0]         outbound data type: DL
[TMS320C66x_0]         outbound data width: 15 bit
[TMS320C66x_0]         inbound data type: DL
[TMS320C66x_0]         inbound data width: 15 bit
[TMS320C66x_0] link 1 runs at 4x rate
[TMS320C66x_0]         outbound data type: DL
[TMS320C66x_0]         outbound data width: 15 bit
[TMS320C66x_0]         inbound data type: DL
[TMS320C66x_0]         inbound data width: 15 bit
[TMS320C66x_0] link 2 is disabled
[TMS320C66x_0] link 3 is disabled
[TMS320C66x_0] link 4 is disabled
[TMS320C66x_0] link 5 is disabled

So, my guess is that this project needs two DSPs connected or why does the programm get stuck in the starting process of the AIF2???

Best Regards

Burak

  • Hi Burak,

    This problem comes from our CSL because it checks SERDES PLL lock status before running timers but simulator doesn't have that SERDES mechanism. the only workaround you can do is updating your CSL in PDK package.

    First, add this file into your project as a link. C:\ti\pdk_C6670_1_0_0_21\packages\ti\csl\src\ip\aif2\csl_aif2HwSetup.c

    and modify C:\ti\pdk_C6670_1_0_0_21\packages\ti\csl\csl_aif2HwSetupAux.h  file line  1001 ~ 1003, just comment those lines and you will see the compiler will make your own csl_aif2HwSetup.obj and it will be linked together.

    you can do the same job for B4 SERDES if you want to run link4 and 5

    Regards,

    Albert

  • Hello Albert,

    thanks for your answer but the EVM has arrived so the problem was solved by itself.

    Regards

    Burak

    P.S: Sorry for my late feedback!