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.

TMS320F28069M: IQMath sample project issue

Part Number: TMS320F28069M
Other Parts Discussed in Thread: MOTORWARE, C2000WARE

Tool/software:

I'm having problems when trying to build the example project from Resource explorer "IQsampleSmall.c"

This is my error

Another forum said replacing "2806xRevB_IQmath_BootROMSymbols_fpu32.lib" (from motorware) for  "2806x_IQmath_BootROMSymbols_fpu32.lib" worked, but I still get errors

(I also changed the link order when I replaced the library)
Ive also tried adding in the IQmath library from motarware instead of C2000.

It built, but when I went to debug it, this happened:

Please let me know if any additional information is needed, thank you!

  • The unfound symbols indicate the library has not been linked in the project. Check the project, compiler, link options to make sure the IQmath library (plus the ROM symbol library - that is, you wlll have two libraries linked). Also make sure your .c file has #include of the IQMath.h file.

    Regards,

    Lori

  • Thank you for responding! Sadly, that was not it.


    Everything seems to be linked, and IQMath.h is included.


    Here is the project:

  • I think I missed the project built without errors - is that correct?  The issue is the waveform?

    It looks like this is related to the buffer size - the buffer is a circular buffer and it starts over at the beginning so there may be a glitch in the display of this buffer in the graph window.

  • The main issue is that the project which I imported from resource explorer (straight from TI) would not build (It gave me errors), and I was wondering how I could correct that. 

    The photos starting from "Thank you for responding! Sadly, that was not it." are from the project that would not build and have errors.

    I now am realizing that the code that somewhat ran is not a viable option because I cross included different files from different supports (I crossed C200Ware with motarware, which is no longer being updated) 

  • Could this be an issue? (no file path)

  • Thank you for the details. I understand.

    I imported the example from C2000Ware V5.02 and modified the build -> link order to (1) add the IQsmapleSmall.c and (2) updated the order as shown below:

    This resolved the link errors. I will submit this as a bug to our team. 

  • On a smaller note, in the ReadMe_SampleC.txt,  I'm pretty sure this should be &Dlog.Ywaveform





    also, is the program supposed to go to this (when I suspend the program) ?



    Thank you for all of your help!

  • I will add the readme to the bug report.  Yes, if the program runs through main() without a halt at the end or an infinite loop then it will exit into that function.