Other Parts Discussed in Thread: TMS320F28335
Hi all!
I'm getting a problem in a basic program:
#include "IQmathLib.h"
#include "math.h"
float asd[512];
int i;
#pragma DATA_SECTION(sine_table,"IQmathTables");
_iq30 sine_table[512];
void main()
{
test=(float) sine_table[260]/16777216;
for (i=0;i<512;i++)
{
asd[i]=(float) sine_table[i]/16777216;
}
}
I'm trying to store the values in sine table to an array 'asd'. But it is happening only till 250th element in array 'asd'. After that some junk values are getting stored in that array.
But the variable test is getting the 260th value only.
What could be the problem?
I'm using TMS320F28335 and CCS4.
Pls help me to solve this.
regards
Mahesh