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.

LAUNCHXL-F28P55X: IQmath library not functioning

Part Number: LAUNCHXL-F28P55X
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi Experts,

We'd like to ask guidance on the ff. queries using IQ math library in CCS:

I have an issue with using the IQ math library on code composer studio. I am currently using a TI launchpad F28P55x C2000 real-time MCU. I am able to multiple, add, etc with the IQ math library; however, I am not sure how I am supposed to do trig functions. When I use the IQ math trig functions it send me to interrupt.c and I’m not sure what I’m doing wrong. I’ve been looking for data sheets everywhere regarding this issue and I can’t find anything.

Thank you.

Regards,
Archie A.

(+) [FAQ] IQMath - C2000 microcontrollers forum - C2000Tm︎ microcontrollers - TI E2E support forums

  • Hi ,

    Have you tried looking at the examples in c2000ware ? This example showcases how trig func like sin waveforms are generated and how to use them.

    C2000Ware\libraries\math\IQmath\c28\examples\C\28p55x

    For the interrupts, the vectID can help determine which interrupt is being trigger eg some illegal instructions etc.  Check CPU Interrupt Vectors in TRM.

    Regards.