Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

TMDXEVM5515: dsplib data types not understood properly

$
0
0

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


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>