DSPRelated.com
Forums

IQ numbers in watch window-help please

Started by naay...@gmail.com June 26, 2008
Hi all,

Could any of you please send me your linker cmd file which has IQmath sections to run the program in RAM of F2812? I also need IQmathLib.h file.

I need to know whether should we do any modification in the IQmathLib.h file other than changing the IQ value to our desired global IQ?

I also saw the definition for Floatmath is '1' and IQmath is '0' in the IqmathLib.h file, is it correct if we run IQmath functions alone?

May i know the type and radix of IQ numbers which would appear in watch window.?
For my case, for example variable x is defined as global IQ 19, expected value to appear in watch window is 2.02113, But I have got the following

_IQ(x) 1.0356e-06 (wrong value) type is float, radix is float

I expected the type would be IQ and radix is float, can any one correct me? What modification should i do to see the IQ numbers in watch window, all values look very strange to me.

Please respond me, I am having tough time, i couldn't move to further step without this.

regards


OMAP35x EVM jump-starts low-power apps
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture: http://www.DSPRelated.com/omap35x
Hi Naayagi,

I'm not sure if I've understood your problem correctly. But from what you are observing the watch window, i guess the problem is related to your IQ math variable radix definitions in the watch window. In the radix colums, you can select "q value" option and enter the desired "Q" (in your case 19). Then, the value appearing will be as per the justification required for IQ19 numbers.

Thanks,
Vishal

--- On Thu, 6/26/08, n...@gmail.com wrote:

From: n...@gmail.com
Subject: [c28x] IQ numbers in watch window-help please
To: c...
Date: Thursday, June 26, 2008, 8:41 PM

Hi all,

Could any of you please send me your linker cmd file which has IQmath sections to run the program in RAM of F2812? I also need IQmathLib.h file.

I need to know whether should we do any modification in the IQmathLib.h file other than changing the IQ value to our desired global IQ?

I also saw the definition for Floatmath is '1' and IQmath is '0' in the IqmathLib.h file, is it correct if we run IQmath functions alone?

May i know the type and radix of IQ numbers which would appear in watch window.?
For my case, for example variable x is defined as global IQ 19, expected value to appear in watch window is 2.02113, But I have got the following

_IQ(x) 1.0356e-06 (wrong value) type is float, radix is float

I expected the type would be IQ and radix is float, can any one correct me? What modification should i do to see the IQ numbers in watch window, all values look very strange to me.

Please respond me, I am having tough time, i couldn't move to further step without this.

regards


OMAP35x EVM jump-starts low-power apps
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture: http://www.DSPRelated.com/omap35x