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.

F28096M IQMath

Other Parts Discussed in Thread: DRV8312, TMDSCNCD28069ISO

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

  • the problem is probably that the IQMath library is not in ROM - or it isn't all in ROM in the same locations - on the 69M devices.

    you need to add the full IQMath library into the project and probably in the project settings force the IQmath.lib to resolve first (or else the compiler will think it can point to the ROM locations).

    it may be easier for you to just get a non-M controlCARD to use

    TMDSCNCD28069ISO