Hi,
I am using Piccolo control stick TMS320F28027 and trying to develop time critical code for my application, using sample programs/examples provided in control suits for a given control stick (project-ContrinuouADC). I have included and added IQmath.lib and 2802x_IQmath_BootROMSymbols.lib and done all settings recommended in the 'C28x IQmath Library' pdf document. I have also included following line of statements in code
---------------
// Select the global Q value to use:
#define GLOBAL_Q 24 long GlobalQ = GLOBAL_Q; . #include <stdio.h> #include <stdlib.h> #include "IQmathLib.h"
_iq x, y, z; //global variable declaration
---------------
When i am doing IQmath calculation e.g. _IQmpy(x,y) the code is working fine and getting expected results, but when i am trying to do trigonometric functions e.g. _IQsin(x) the code is not working. I have also tried the same by uncommenting the code segment in "F28027_FLASH_ContinuousADC.CMD" file which were reserved ROM for the inverse trigonometric iq function.
Is there any other adjustment I need to do, to incorporate iq math functions? Is there any need to do changes in the .cmd file? Do we need to include any other file.
Please help me to resolve this issue or atleast refer me some documents/material/literature to make it work.
-Rupesh

