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.

TMS320F28388D: TMS320F28388D Bringing out velocity term in the PID CLA assembly code

Part Number: TMS320F28388D

Hi, 

I am using the DCL_runPID_L2 function in the CLA for a PID loop. My application requires that I have access to the velocity term (v4). I can see in the code where v4 is calculated. I have programmed in assembly before but not for this processor. What is the best way to bring v4 out of the assembly module so I can use it outside of the function? I was thinking of adding it to the data structure but wanted to make sure. 

Thank you,

Jennifer