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.

TMS320F28388D: 16-Point FFT for CLA

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Hello 

I plan to run a 16-Point FFT implementation for the CLA on TMS320F28388D.  Has anyone implemented a 16-Point FFT for CLA?

Thanks,

Best regards,

-Mohamed

  • Hi Mohamed,

    We have lookup tables and examples for 256, 512, and 1024-point FFT's for CLA. These are located in [C2000ware install]\libraries\math\CLAmath\c28\examples. I would suggest using these as a starting point.

    Best Regards,

    Delaney

  • Hi Delaney,

    Thanks for your prompt reply.  In my application I can only afford to acquire 16 data points within the time allotted for acquisition and FFT magnitude and phase calculation before updating the control loop. The signals I am acquiring are sinusoidal. I don't think I can use any of the 8, 9 or 10 stage FFT's. Do you have other suggestions for me?

    Best regards,

    -Mohamed

  • Hi Mohamed,

    I will get back to you with a response to this query tomorrow.

    Best Regards,

    Delaney

  • Hi Mohamed,

    Sorry for the delay. My suggestion would be to take a look at the pictured asm files in the [C2000ware install]\libraries\math\CLAmath\c28\source folder to see how the example FFT's use the ROM lookup table (contained in cla_fft_tables.asm in the same folder) for the different 8, 9 and 10 stage FFT's. These files have detailed comments explaining the algorithm used. You can potentially modify these files to be used for the 4-stage FFT case. You should be able to change the calculated values of the defines in the "FFT Routine defines". I would recommend looking through the whole asm file though to see if any other modifications need to be made.

    Best Regards,

    Delaney

  • Hi Delaney,

    Thanks for your suggestion.  I will study the asm files.

    Best regards,

    -Mohamed