Other Parts Discussed in Thread: C2000WARE
Tool/software:
The fixed-point, C28x-compatible version of DCL_runPI_L1()
for use with TMS320F28023 (non-CLA, non-FPU) that existed in early DCL releases. ?
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.
Tool/software:
The fixed-point, C28x-compatible version of DCL_runPI_L1()
for use with TMS320F28023 (non-CLA, non-FPU) that existed in early DCL releases. ?
Hello,
My apologies about the delay.
DCL has existing support for a few 32bit fixpoint function in DCLC28.h, DCL_runPI_A1 would be the fixpoint equivalent of series PI controller. Note the implementation is in assembly so please include the .asm file as well (C2000Ware_Path\libraries\control\DCL\c28\source\DCL_PI_A1.asm).
DCL_PI_A1.asm is written in pure C28x ISAs with no FPU/TMU extensions so it should work with the untested older devices. But please double check. If you have any compilation/linkage issue I would suggest you to use EABI instead of COFF for the ABI.
Best,
Sen Wang