Tool/software:
Hi
I cannot find a chapter about SRIO in TMS320C6000 Chip Support Library API Reference Guide. Where can I find the SRIO CSL API reference Guide for TMS320C6678?
Thanks!
Wai Kwok
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.
Tool/software:
Hi
I cannot find a chapter about SRIO in TMS320C6000 Chip Support Library API Reference Guide. Where can I find the SRIO CSL API reference Guide for TMS320C6678?
Thanks!
Wai Kwok
I cannot find a chapter about SRIO in TMS320C6000 Chip Support Library API Reference Guide.
What Reference Guide are you referring to here? Can you point us to the link?
Hi Praveen
Thanks for your reply. www.ti.com/.../sprugw1c.pdf doesn't have Chip Support Library API Reference for SRIO. I am looking for the API reference of some srio chip support library API functions like CSL_SRIO_IsLSUFull, CSL_SRIO_GetLSUCompletionCode, ...
Thanks
Wai Kwok
The latest SDK is here https://www.ti.com/tool/download/PROCESSOR-SDK-RTOS-C667X/06.03.00.106. Can you check?
It must be in the path: <SDK_PATH>/pdk_c667x_2_0_16/packages/ti/csl/csl_srioAux.h
CSL_SRIO_GetLSUCompletionCode --> Line no 5774
CSL_SRIO_IsLSUFull --> Line no 5011
Thanks.
i do have the access of header files but it doesn't have enough detail about the output arguments.
For example, the following function header doesn't specify what each bit in compCode and contextBit represents.
/** ============================================================================ * @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 * ============================================================================= */
i do have the access of header files but it doesn't have enough detail about the output arguments.
Please note that this is an inline function.
I find Chip Support Library (CSL) document in doxygen format in the sdk folder. E.g.C:/ti/pdk_c667x_2_0_16/packages/ti/csl/docs/doxygen/html/index.html
It is much easier to navigate different functions than reading the function headers in header files.