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.

CSL c672x document is not enough.

I'm tried to use dMAX function with CSL 672x(ver03.00.09) but there is some problem.

for example, CSL_dmaxOpen() function has  CSL_DmaxObj structure argument, but not described detail in the csl document .

SHOULD MAKE ANALYZE CSL SOURCE ?

ha.....

 

  • hiro-san,

    TI does generate a lot of documentation, but it seems that often you must know the answer before you can find the answer. This forum is a good way to help you with this type of difficulty.

    In the C672x_CSL_APIREFERENCE.pdf document, section 3.2.2 describes the CSL_dmaxOpen() function call and lists its parameters. If you click on the highlighted CSL_DmaxObj parameter type in that section, it will take you to the description of that parameter type, but for me this is not the most useful answer to your query.

    There are code snippets for each API call within the API reference guide, but these are very limited snippets. My prefered method to understand how the calls work is to run one or more examples from the dsp\examples folder for the DSP you will be using. I have looked at the C6727 and found dsp\examples\c6727\dmax\src\dmax_example.c which has all of the header files included and has the correct sequence of function calls to use the dmax module.

    You will not need to analyze the CSL source, but it will be very helpful in my opinion to analyze the example source. The API Ref Guide snippets may come from these examples, so the complete examples are more useful for your query.

    Thank you for choosing the TI family of Floating Point DSPs. Your success is our goal.

  • thank you, randy.

    but, sample program is not enough too for me. There is a lot of MAGIC NUMBER like 'CSL_DMAX_LOPRIORITY_EVENT1_UID'  descrived in header file, but not descripted about them in any document.

    If I want to change the mode from the example-prg, how can I do it ??

    it seem to me that I need to understand all of MAGICNUMBER in header file, how it work with dMAX function in the CSL lib. code...

    So, I'm always write own peripheral handling code after analyze and understand CSL lib.  I think the CSL has some redundancy.

    (I've many experience with 67x, but it's first time c672x dMAX etc )

    Yes, I know a lot of effort to develop CSL, and I thanks to that. and I hope that more enrich the content of documents.