Hello,
I have used in the past the G.726 library in a QuickStart project.
Basically the steps I did were:
* I added the library I needed to my project from ".....\CodeWarrior for DSC56800E v8.3\ProcessorExpert\Drivers\56800\SDK
* You need mainly to replace PE dependent types by QS types defined in QS header files. Fortunately they are in most cases compatible.
* It requires modification of a standard linker command file (SDM_pFlash.cmd) in QS project
For example:
.ApplicationData :
{
# save space for the pROM data copy
. = __xRAM_data_start + __data_size;
# .bss sections
* (rtlib.bss.lo)
* (rtlib.bss)
......
# ****** SDK beans begin ******
# G726 Internal Memory starts here
#---------------------------------
* (G726_INTERNAL_ROM.data)
# G726 Internal Memory ends here
#-------------------------------
# ****** SDK beans end ******
....
But perhaps is easier to use the motor control library (GFLIB) that includes PI routines.
Frac16
GFLIB_ControllerPIp(Frac16 f16InputErrorK,
GFLIB_CONTROLLER_PI_P_PARAMS_T *pudtPiParams, const Int16 *pi16SatFlag)
I hope this helps.
Best Regards,