Part Number: TMS320F28377S
Tool/software:
Can i use the implementation of DCL PI Control
copying only the struct type and the CDL_PI_C2 function into my project without using the TI DCL lib
are there any prerequisites for using this function 
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.
Part Number: TMS320F28377S
Tool/software:
Can i use the implementation of DCL PI Control
copying only the struct type and the CDL_PI_C2 function into my project without using the TI DCL lib
are there any prerequisites for using this function 
Hi Elhusseini,
Yes, please make sure the internal parameters are correctly initalized to its default value.See DCL_resetPI for what the inital value should be. Other than that, long as you aren't using the update parameter, convert zpk function or test point/error debugs, both sps and css pointers can be left uninitalized.
Best,
Sen Wang