Sign in

username:

password:



Not a member?

Search c28x



Search tips

Subscribe to c28x



Ads

Discussion Groups

Discussion Groups | TMS320C28x | IQ numbers in watch window-help please

Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).

  

Post a new Thread

IQ numbers in watch window-help please - naay...@gmail.com - Jun 26 13:28:01 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
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

Re: IQ numbers in watch window-help please - gopalakrishnan vishal anand - Jun 27 6:58:47 2008

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 <n...@gmail.com> wrote:

From: n...@gmail.com <n...@gmail.com>
Subject: [c28x] IQ numbers in watch window-help please
To: c...@yahoogroups.com
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
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )