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.

TMS320F28069: Need a complete example project using the DCL, Digital Controller Library, PI or PID

Part Number: TMS320F28069
Other Parts Discussed in Thread: CONTROLSUITE

Hi,

I only occasionally program, but I've been very successful on projects with TI example projects as a guide.

I need to use the PI controller from the DCL library in the CLA of the F28069.

I really need a complete example project showing how this is successfully implemented. Almost everything else TI provides is in the form of a complete project.

(How is it called and initialized with CLA tasks? How data is set up and flows from the MAIN C file.)

The DCL library only has the CLA function. (DCL_PI_CLA.asm file)

Has this ever been used in an actual project? Can I get that project?

I really need to see this used in a complete project, similar to the "cla_adc_fir_flash" project, where I could see how everything worked to implement an FIR filter.

(I've never used assembly or the CLA before, but I could build an FIR filter using the sample project and CLA portion of workshops.)

Thanks for any help,

Dave

  • Dave,

    Version 1 of the DCL didn't include any code examples, however I have built and attached a CCS example which shows how to run the PI controller on the CLA. To use it, please un-zip the contents into your c:/ti directory. Then re-name the two files in the /cmd sub-directory to have the ".cmd" file extension. If you have controlSUITE installed, you should then be able to import the CCS project in the /CCS sub-directory directly into CCS, build, load, and run it on an F2806x target. Also in the zip file is a page from the new user's guide which describes this example.

    BTW, we are just a few weeks way from releasing version 2 of the DCL. Version 2 is much more extensive and includes complete examples, one of
    which is exactly what you're looking for.

    Regards,

    Richard

    dcl_example.zip