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.

TCIEVMK2X: CPRI Testing using aif2LteSingleToneK2HTestProject

Part Number: TCIEVMK2X
Other Parts Discussed in Thread: TCI6636K2H, TCI6638K2K

Dear  TI employees 

I have some query related to aif2 LTE Single Tone  test project .  how to test aif2 LTE Single Tone  test project  in loop back mode and aif2LteCpriK2HTestProject using  mistral RTM-BOC. 

 

  • Hi,

    I've notified the factory team. Their feedback will be posted here.

    Best Regards,
    Yordan
  • Most of the AIF2 tests are written for internal loopback mode, requiring no external EVM connections. The code will require modification to use a BOC. Have you studied the AIF2 users guide for details on changing loopback to external?
  • Hello,
    The loopback test, as Dave pointed out can happen at several points in the hardware. The Serdes has both a ENCODER (digital only) and NEAR END Loopback (includes digital and serialization and analog). The 1.0v CML serdes signals are a differential pair of Tx and Rx, for CPRI mode, no special sideband signals are needed. When I look at the Mistral RTM BOC, www.mistralsolutions.com/.../

    This K2H EVM / Mistral BOC does not support the 4 lane AIF2 over the BOC. The Kepler EVM does support the 4 AIF2 lanes. To cross connect these on the BOC, you would connect cables between the SFP+ housing Tx to Rx, for a specific channel set.

    Regards,
    Joe Quintal
  • could you tell me where i need to modify the code. if you share any idea it will more helpful to me to close this issue.
  • Hi Joe,

    i can able to change the link from 4(default) to desire link. by editing the below routine. but i fail to route the date through RTM breakout card. could you tell me how to test the aif2 CPRI loop back mode through RTM BoC


    #ifdef TESTCPRI
    {//1st Test - CPRI 4x for DL LTE 20Mhz - 2 consecutive Links - If EVM_TYPE == 0, only 1 link used
    "CPRI_4X_LTE_20MHZ", // test name
    // link0 link1 link2 link3 link4 link5
    {0, 1, 0, 0, 0, 0 }, // link enable
    {4, 4, 4, 4, 4, 4 }, // link rate
    {DATA_TYPE_DL, DATA_TYPE_DL, DATA_TYPE_DL, DATA_TYPE_DL, DATA_TYPE_DL, DATA_TYPE_DL }, // outboundDataType
    {DATA_WIDTH_15, DATA_WIDTH_15, DATA_WIDTH_15, DATA_WIDTH_15, DATA_WIDTH_15, DATA_WIDTH_15}, // outboundDataWidth
    {DATA_TYPE_DL, DATA_TYPE_DL, DATA_TYPE_DL, DATA_TYPE_DL, DATA_TYPE_DL, DATA_TYPE_DL }, // inboundDataType
    {DATA_WIDTH_15, DATA_WIDTH_15, DATA_WIDTH_15, DATA_WIDTH_15, DATA_WIDTH_15, DATA_WIDTH_15}, // inboundDataWidth
    {DIO_0, DIO_0, DIO_0, DIO_0, DIO_0, DIO_0}, // not applicable for LTE test
    },
  • As Joe pointed out above you need a K2K EVM:

    >This K2H EVM / Mistral BOC does not support the 4 lane AIF2 over the BOC. The Kepler EVM does support the 4 AIF2 lanes. To cross connect these on the BOC, you would connect cables between the SFP+ housing Tx to Rx, for a specific channel set.

    Which device are you using?
  • Hi woodall,

    Thank you for prompt response. we are using TCIEVMk2X evaluation module which has TCI6636k2h chip. here with i attached link about product specification. 

       www2.advantech.com/Support/TI-Evm/EVMK2HX.aspx.  

    could you explain what is the difference between   Kepler  and hawking EVM .

    why TCIEVMk2X does not support LTE CPRI test? 

    which evm have kepler device ? could you share the link to initiate the purchase 

  • I talked with one of the board designers and he said that for either K2K or K2H EVMs, all the signals are routed to the AMC connector.  You will need a card that connects to this AMC connector, such as this:

    http://silicontkx.com/index.php?route=product/product&product_id=52&tag=SMA

    Any card such as this are not manufactured or designed by TI, so we cannot answer questions related to their use.

  • Closing this thread as there is another one on the same topic.
  • Hello,

    The TCI6636K2H (TCI6638K2K) devices, on the  Advantech EVM does support 6 AIF ports.  4 to the RTM connector, and 2 to the AMCC connector.  The 66AK2Hxx device on the EVM does not support the AIF interface.

    Regards,

    Joe Quintal

  • Hello,
    The only suggestion we still have is to convert one of the Lane 5,6 configuration projects, to use Lane 1,2 or 3,4 and to use loopback at the SFP end
    Lane 1 Tx -> Lane 1 Rx, Lane 2 Tx -> Lane 2 Rx. (The same can be tried for Lane 3, 4). aif2LteCheckRfK2HTestProject.txt
    Located at C:\ti\pdk_keystone2_3_01_04_07\packages\ti\drv\aif2\test\cpricheckrf. Dave would have to provide additional information on conversion if you have questions. You need to have AIF2 changes for which lane, you also need to have the proper Serdes configuration for the lane. If the rates are similar the difference serdes would be a different address range. AIF5, AIF6 is a 2 lane serdes. AIF1.2.3.4 is a 4 lane serdes.

    I have not run these tests. The basis is the RFSDK1 coding.

    Regards,
    Joe Quintal
  • Dear Joe,

    Thank you for your guidance. I have tested the above example in TCIEVMk2X EVM (TCI6636k2H) . Here i attached test console result for your reference. But its working only on internal loop back mode ( without mistral break out card). kindly guide me where i need edit
    aif2ltecheckrfk2htest project.txt file and example code to test the CPRI through mistral break out card using fiber optic cable .

    [C66xx_0] Beginning AIF2 LTE CPRI relay Software testing
    Software configuration: LTE_RELAY_20MHZ_RF_SINGLE_TONE
    Number of monolithic packets received in RX queue channel0: 14
    Number of monolithic packets in TX free queue for channel0: 14
    Number of monolithic packets received in RX queue channel1: 14
    Number of monolithic packets in TX free queue for channel1: 14
    Test a) Monolithic Packet Data Recv: on chan: 0 are :14
    Test a) Monolithic Packet Data Recv: on chan: 1 are :14
    Test a) Monolithic Packet Data Send/Recv: PASS on channel: 2
    Test b1) Monolithic Packet Tx Descriptor Counts:0 PASS
    Test b2) Monolithic Packet Tx Complete Descriptor Counts:28 PASS
    Test b3) Monolithic Packet Rx Descriptor Counts:0 PASS
    Test b4) Monolithic Packet Rx Free Descriptor Counts:28 PASS

    Ending LTE_RELAY_20MHZ_RF_SINGLE_TONE test
    Test: ending AIF2 LTE 20Mhz RF test
    All tests have passed


    ///////////////////////////////////////////////////



    aif2ltecheckrfk2htest project.txt file


    //////////////////////////////////////////////////
    -ccs.configurations K2H_LBACK K2H_LBACK_BE EVM6638K2K
    -ccs.setCompilerOptions "-DEVM_TYPE=6 -DDEVICE_K2H -DCPRI_RELAY_CFG=1 -DCPRI_RELAY_RATE=20 -DLTE_RATE=20 -DLOOPBACK " @configurations K2H_LBACK
    -ccs.setCompilerOptions "-DEVM_TYPE=6 -DDEVICE_K2H -DCPRI_RELAY_CFG=1 -DCPRI_RELAY_RATE=20 -DLTE_RATE=20 -DLOOPBACK " @configurations K2H_LBACK_BE
    -ccs.setCompilerOptions "-DEVM_TYPE=7 -DDEVICE_K2H -DCPRI_RELAY_CFG=2 -DCPRI_RELAY_RATE=20 -DLTE_RATE=20 -DUSE_SMA " @configurations EVM6638K2K
    -ccs.setCompilerOptions "-I${CG_TOOL_ROOT}/include "
    -ccs.setCompilerOptions "-I${AIF2_INSTALL_PATH}/ti/drv/aif2/test/utils "
    -ccs.setCompilerOptions "-mv6600 -g --mem_model:data=far_aggregates "
    -ccs.setLinkerOptions "-i${AIF2_INSTALL_PATH}/ti/drv/aif2/test/utils"
    -ccs.setLinkerOptions "--stack_size=0x20000 --heap_size=0x20000 --ram_model"
    -ccs.setLinkerOptions "--define=EVM_TYPE=6 -ldsplib.ae66 " @configurations K2H_LBACK
    -ccs.setLinkerOptions "--define=EVM_TYPE=6 -ldsplib.ae66e " @configurations K2H_LBACK_BE
    -ccs.setLinkerOptions "--define=EVM_TYPE=7 -ldsplib.ae66 " @configurations EVM6638K2K
    -ccs.linkFile AIF2_INSTALL_PATH/ti/drv/aif2/test/utils/cslUtils.c
    -ccs.linkFile AIF2_INSTALL_PATH/ti/drv/aif2/test/utils/mnavUtils.c
    -ccs.linkFile AIF2_INSTALL_PATH/ti/drv/aif2/test/utils/aif2_osal.c
    -ccs.linkFile AIF2_INSTALL_PATH/ti/drv/aif2/test/utils/mathUtils.c
    -ccs.linkFile AIF2_INSTALL_PATH/ti/drv/aif2/test/cpricheckrf/ltecheckrf.c
    -ccs.linkFile AIF2_INSTALL_PATH/ti/drv/aif2/test/utils/appletonScbpSync.c
    -ccs.linkFile AIF2_INSTALL_PATH/ti/drv/aif2/test/utils/ppsGen.c
    -ccs.linkFile AIF2_INSTALL_PATH/ti/drv/aif2/test/utils/scbpfpga_spi.c
    -ccs.linkFile AIF2_INSTALL_PATH/ti/drv/aif2/test/utils/aif2_k2h_test.cfg
    -ccs.linkFile AIF2_INSTALL_PATH/ti/drv/aif2/test/utils/aif2_test.cmd
    -rtsc.enableRtsc