Hello,
i am new to the C2000 series and got some Problems.
I have the F28096M and the DRV8312 Kit. I would like to control a BLDC with FOC. I started with the pmsmfoc example out of the target support package.
Out of the box it did not work. So i always read in this post http://e2e.ti.com/support/microcontrollers/c2000/f/902/t/333202.aspx that there is a difference between F28096 and F28096M.
It looks like my Problem is the IQMath.lib. This would fit with the older post.
Where do i have to locate the IQmath.lib in Matlab?
This is what i actually do:
Configuration Parameters:
IDE/Tool Chain: TI CCSv5 (makefile only)
Board: TI F28096
Libraries: $(SUPPORT_PACKAGE_ROOT)\rtlib\IQmath_fpu32.lib
After building i looks like it would work but the IQ-operations are buggy.
<Linking>
warning: build attribute vendor section TI missing in "../../../../Matlab/.....
compability cannot be determined
So.. i have no idea where i could include the IQmath file. In my opinion matlab knows where to look for.
Ive tried to replace the IQmath operations but this works just partly.
Furthermore ive got problems with my workflow. Actually i build the makefile with Matlab and control the ports and registers with ccs. I think i have to do this because the model is asynchronous scheduled. I this right?
It isnt the nicest way to locate the problem. It is possible observe the data within Matlab?
I hope anyone can tell me how to get the F28096M work with the FOC model.
Regards,
Kevin