Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).
Hi!
I have very strange problem. In routine I want to make condition
if (p->Ia<0xFB84)
where Ia is type int16. But for value Ia=0x0000 condition is true, as if it's unsigned Q15
numbers!! It drives me nuts :-((
I've tried also
if (p->Ia<0xFFFFFB84)
as it is 32-bit numbers, but result of test is the same. What am I doing wrong? Please help!
Thanks in advance
AC
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
_____________________________________