Hey I am trying to store Tan lookup tables in the iq format for implementation in F2812.
I assigned memory to the variable like this
#pragma DATA_SECTION(Tan,"Tant");
_iq Tan[256] = {_IQ(0.2) , _IQ(0.4) ......}
with the linker declaration as such:
Tant : > FLASHB PAGE = 1
I can compile with no errors but when I look at the memory I see only 0 being stored. I tried with an int and integer values but still I could not store anything and then see it after loading to the DSP.I tried looking through watch windows (I only saw 0XxFFFFFFF even with q value set) and from the memory window( everything was 0xFFFFFFFFF) I tried calling the function values like this also
int index=10;
_iq T
T = Tan(index);
I get the error expression must have (pointer-to- function) type
Yours Sincerely
Tausif