This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDXEVM5515: dsplib data types not understood properly

Part Number: TMDXEVM5515

Hello,

I am new to embedded programming and currently working on digital signal processing project. I am using dsplib v3.00.00 for my project. I am not clear about the data types that the lib uses like DATA and LDATA for computing fir or corr.

In order to make sure calculations are correcting i am trying to print the data of the output of fir using printf command. But i am always getting output as 0 . I tried using %f, %0.15 and %d in printf. printf("r3(8) = %f",r3[8]); 

In the supporting document of dsplib it is said that DATA is Q.15 data type where input should be between (-1,1) but my input data values are >1.  Even in the examples provided by them the input data is not between (-1,1) then how are the calculations taking place.

Any help would be appreciated about the above data type and how to print them in ccs console.

Thanks

Yashwant