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.

implementing code in Control law accelarator

Hi All,

 

I am trying to use the CLA for the first time.

Briefly My application is a simple Inverter (DC-AC) application. All my analog A-D channels have been used up and my A-D ISR duration is pretty much near the AD interrupt period. I dont want to overrun my AD interrupt period (50 uSec), hence I thought of moving the AD ISR to the control law accelarator. But I do not know how to go about it.

Can any one please point me to some documentation on how I can implement (step wise implementation) for implementing my code to control law accelarator?

I have the pdf document on the CLA itself - SPRUGE6B, however, that has not been very helpful in providing a sequence per se.

Alternatively, If any one knows what sequence I should follow and could post the same.... I would very much appreciate that.

Thanks in advance

Best regards

Anand

  • Anand said:

    Can any one please point me to some documentation on how I can implement (step wise implementation) for implementing my code to control law accelarator?

    I have the pdf document on the CLA itself - SPRUGE6B, however, that has not been very helpful in providing a sequence per se.

    Alternatively, If any one knows what sequence I should follow and could post the same.... I would very much appreciate that.

    Anand,

    Here is a wiki page with a listing of CLA resources.  I think you will find the basic examples in the header files/peripheral examples and the training videos helpful.  In particular the framework video will show a simple code setup for integrating the CLA.  This is the framework used in the header files.  There is also a link to the Piccolo multi-day workshop on that page.  This workshop material has a section dedicated to the control law accelerator.

    http://processors.wiki.ti.com/index.php/Category:Control_Law_Accelerator_for_C2000

    Cheers

    Lori