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.

[参考译文] TMS320C6678:SRIO 芯片支持库文档

Guru**** 2358920 points
Other Parts Discussed in Thread: TMS320C6678
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1508951/tms320c6678-srio-chip-support-library-document

部件号:TMS320C6678

工具/软件:

你(们)好

我在 TMS320C6000芯片支持库 API 参考指南中找不到有关 SRIO 的章节。 在哪里可以找到 TMS320C6678的 SRIO CSL API 参考指南?

谢谢!

郭伟

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Unknown 说:
    我在 TMS320C6000芯片支持库 API 参考指南中找不到有关 SRIO 的章节。

    您在此处参考的是什么参考指南? 您能给我们指向链接吗?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    检查此--> www.ti.com/.../sprugw1c.pdf

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Praveen

    感谢您的答复。  www.ti.com/.../sprugw1c.pdf 没有  SRIO 的芯片支持库 API 参考。 我正在寻找一些 SRIO 芯片支持库 API 函数的 API 参考、如 CSL_SRIO_IsLSUfull、CSL_SRIO_GetLSUCompletionCode 、...

    谢谢

    郭伟

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您能告诉我们您目前所指的 TI SDK 吗?

    谢谢。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    TI-PROCESSOR-SDK-RTOS-c667x-EVM-06.01.00.8-Windows-x86-Install

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    最新的 PROCESSOR-SDK-RTOS 位于以下位置:https://www.ti.com/tool/download/SDK-C667X/06.03.00.106。 您能检查一下吗?

    它必须位于路径中: /pdk_c667x_2_0_16/packages/ti/csl/csl_srioAux.h  

    CSL_SRIO_GetLSUCompletionCode -->行号5774
    CSL_SRIO_IsLSUFull -->行号5011

    谢谢。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我可以访问头文件、但没有足够详细的输出参数。  

    例如、以下函数标头不指定中的每个位 CompCode 和  上下文 表示。

    /** ============================================================================
     *   @n@b CSL_SRIO_GetLSUCompletionCode
     *
     *   @b Description
     *   @n The function gets the completion code for a previous executed transfer.
     *
     *   @b Arguments
         @verbatim
              hSrio             Handle of the SRIO device
              lsu               LSU Number which is to checked
              transId           Transaction ID for which the completion code is
                                required.
              compCode          Completion Code populated by this API
              contextBit        Context Bit populated by this API
         @endverbatim
     *
     *   <b> Return Value </b>
     *   @n None
     *
     *   <b> Pre Condition </b>
     *   @n None
     *
     *   <b> Post Condition </b>
     *   @n None
     *
     *   @b Reads
     *   @n  SRIO_LSU_STAT_REG
     
     *   @b Example
     *   @verbatim
            CSL_SrioHandle     hSrio;
            Uint8              context;
            Uint8              transID;
            SRIO_LSU_TRANSFER  lsuTransfer;
            Uint8              compCode;
            Uint8              contextBit;
    
            // Open the CSL SRIO Module 0
            hSrio = CSL_SRIO_Open (0);
            ...
            // Get the LSU Context and Transaction Information.
            CSL_SRIO_GetLSUContextTransaction (hSrio, &context, &transID);
            ...
            // Send the transfer on LSU 1 
            CSL_SRIO_SetLSUTransfer (hSrio, 1, &lsuTransfer);
    
            // Wait around till the transfer is completed.
            while (1)
            {
                if (CSL_SRIO_IsLSUBusy (hSrio, 1) == FALSE)
                    break;
            }
            // Get the completion code.
            CSL_SRIO_GetLSUCompletionCode (hSrio, 1, transID, &compCode, &contextBit);
            ...
         @endverbatim
     * =============================================================================
     */

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我确实可以访问头文件、但它没有关于输出参数的足够详细信息。  [/报价]

    请注意、这是一个 内联 测量输出。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我  在 SDK 文件夹中找到 Doxygen 格式的芯片支持库(CSL)文档。 例如:C:/ti/pdk_c667x_2_0_16/packages/ti/csl/docs/doxygen/html/index.html

    与读取头文件中的函数头相比、导航不同函数要容易得多。