I've got a question about coding an algorithm for a Texas Instruments TMS320C64xx DSP in MATLAB:
I've got a working sloppy implementation of my filter in MATLAB. My goal is to use MATLAB Embedded Coder to convert this algorithm to C which I can then import to Code Composer Studio and load onto the DSP.
To do this, I know there are certain things I need to do to my MATLAB code. For example, I need to pre-allocate space for matrices so it knows what size to make them (unless I want to fuss around with variable sized data). All that massaging of MATLAB code into C'ish code so that MATLAB coder can convert it I more or less understand. However, I have no idea how to make sure that my data types (for example the coefficients of my filter) are fixed point rather than floating point so that MATLAB Embedded Coder will convert my code to C which only involves fixed point data types.
So I guess my overall questions are:
1) If the C64xx is specified as a 32-bit Fixed Point DSP, that means a compiler for it will throw an error if I try to use the float data type?
2) Is there a way to ensure that MATLAB Embedded Coder does not create float data types?
3) Do I need to use the MATLAB Fixed Point Toolbox?
Thank you all, let me know if there is anymore information necessary to answer my question.