I am reading a text file that is 80 KB and it is taking about 40-50 seconds to read in on adsp 21469.
Is the timing normal for the board?
Here is snippet of the code that I wrote to read data from the file:
Float* ReadStimulusFromFile(char filename, float *pSrc32)
FILE *fp = fopen(filename, "r");
char dm buffer;
float dm data;
int i = 0;
*pSrc32 = atof(buffer);
Please let me know if there is a way to optimize the above to code to read the file faster.