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.

can i use IQMATH.lib in a project for TMS570

When I put  IQMATH.LIB  into the TMS570 project.   Some mistakes happen like this:

 I use the lib same as the project in TMS320 28035.  plus: I Know 570 use float data ,but i don't wanna use it because it may take much time to change all my project  for float mode.

please help  me out of the trouble .THANK YOU!

  • Hi Arvin,

     There is no official IQMATH library ported to Hercules family for public use. Today the Hercules family offers a CMSIS compatible Math and DSP Library.  While this is not the same as the IQMath library, it may be useful to you.

     The TMS320 uses different processor than TMS570 which is based on ARM Cortex-R architecture. I don't think you can use the the iQMATH library as is from TMS320. 

  • Someone from our software team was working on porting IQ math but it's not finished.

    In any case your error about COFF means that you've got an old library built with a different object format.

    I think you just need to rebuild the IQMATH library but select EABI as the object format.  Try that first you may be very close

  • I think rebuild  the lib maybe a good idea.

    But first, how can i bulid the lib ,and seems the IQMAHT.lib is locked .

    Can you tell me the setting for rebuliding. thanks.

  • If your software team was working for it ,when TI will publish it? It's really important for me .
  • Unfortunately, that person left and someone else needs to pick up his work.

    I haven't really looked at this library before except superficially - but I thought it'd been ported to many TI MCUs.
    Where did you download it from ? 

    -Anthony

  • There seems to be a way to get sources for CortexM4 (Tiva) here:
    www.ti.com/.../sw-tm4c-iqmath

    The R4F can run Thumb2 code so for something like a math library this should be pretty close to being useful as-is even w. assembly functions embedded.

    Keep us posted on whether you try this or not.

    Note: It seems the sources are in a 'template' form and there is a perl script to generate them from the template.

    If you get stuck I'm sure my colleague can give some pointers ..