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.

6670 BCP config QMSS CPPI

       Hello, when I use BCP on 6670 in a example project, I get a descripto pCppiDesc. What's the purpose of following code: pCppiDesc = (Cppi_Desc *) (QMSS_DESC_PTR (pCppiDesc));? Thank you.

 

        if ((pCppiDesc = (Cppi_Desc*) Qmss_queuePop (hTxFDQ)) == NULL)
        {
      goto cleanup_and_return;
        }
        pCppiDesc = (Cppi_Desc *) (QMSS_DESC_PTR (pCppiDesc));
        Cppi_getData (Cppi_DescType_HOST, pCppiDesc, &pDataBuffer, &dataBufferLen);

  • Hi,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com).

    We will get back to you on the above shortly. Thank you for your patience.

  • Hi kaiyang,

    Thanks for your post.

    To know more on API references, there is a docs folder under pdk_C6670_1_1_2_6 of MCSDK 2.0 in which, you will find a html doc. on api_ref.html from the below location:

    ~\ti\mcsdk_2_01_02_06\pdk_C6670_1_1_2_6\packages\ti\drv\cppi\docs\api_ref

    To know the function description of "Cppi_getData",

    file:///C:/ti/Keystone_MCSDK/pdk_C6670_1_1_2_6/packages/ti/drv/cppi/docs/doxygen/html/group___c_p_p_i___l_l_d___f_u_n_c_t_i_o_n.html#gaedae71f47a89e85825ee6f8b6898e4c1

    To know about Cppi_Desc Union Reference

    ~\ti\Keystone_MCSDK\pdk_C6670_1_1_2_6\packages\ti\drv\cppi\docs\doxygen\html\union_cppi___desc.html

    Likewise, you could refer all modules, datastructures, files  on CPPI low level driver documentation from api_ref html doc.

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question

    -------------------------------------------------------------------------------------------------------