Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hi,
I am trying to run a project which involves generating code using Matlab for a PI controller and then implement that function on the CLA. When implementing the function directly inside an interrupt on the DSP the function works properly. Calling the function using the interrupt is done so that I can define at what rate the controller is being triggered. However, when I try to call the function using the CLA Task, the code does not build suggesting that the function_name does not exist. Can functions be called through the CLA Tasks running at some frequency. I am triggering the CLA Task using the ADC interrupt and have a count running inside the task which proves that the code goes into the task but as soon as I call the control function the code does not even build. Am i missing something fundamental here?
Farhan