Hey, im trying to port the BLDC Sensorless FOC project from the 037 kit from psoc 4 to psoc6.
I've already modified the rest of the project but im having problems with the motor_ctrl.c
There are these functions:
Protector_Init(u16SampleFreq);
MotorCtrl_InitPar(u16SampleFreq);
FieldWeaken_Init(u16SampleFreq);
MotorStart_Init(&MotorCtrl_stcStartup);
CV_LimitInit(&CV_LimitPars);
I've been cheking the header files and they look correct.
I could attach the project if needed.
Solved! Go to Solution.
Hello Perez,
I had to modify your project to finally reach at the error you are facing. The error you are seeing is due to the absence of LibFOC.a file in your source files. You have to add the same in build settings too(Without lib prefix and .a suffix).
Best Regards,
Vasanth
Hello Perez,
Could you please attach the project so that we can have a look?
Best Regards,
Vasanth
Hello Perez,
I am having difficulties opening the project. Could you please an archive of your project from creator and attach it ? Please open the project in creator and in File -> Create workspace bundle and attach the project.
Best Regards,
Vasanth
Hello Perez,
This time I ended up with routing errors in the design. Could you please confirm you have attached the right project. If you given the right project could you please let me know the PSoC Creator version you are using ?
Best Regards,
Vasanth
PSoC Creator 4.2.
We could make a hangouts / skype call if needed.
Hello Perez,
Let me know the build number too. Mine is 641.
I guess you have given the project after doing some modification. Did you check opening the version you have sent to us ?
Best Regards,
Vasanth
Yes, 641
These are the dependencies:
And the component versions:
Hello Perez,
I had to modify your project to finally reach at the error you are facing. The error you are seeing is due to the absence of LibFOC.a file in your source files. You have to add the same in build settings too(Without lib prefix and .a suffix).
Best Regards,
Vasanth