According to FFT Implementation on the TMS320VC5505, TMS320C5505, and TMS320C5515 DSP there is some code provided by TI to use the hardware FFT coprocessor on the C5515. The link in that document is broken, but I was able to find it at http://www.ti.com/lit/an/sprabb6b/sprabb6b.zip . This archive contains two assembly files, one for use with code in the C5515's ROM and one for more generic use.
Unfortunately the code as provided doesn't compile in Code Composer 7. I get more than a thousand errors like:
"../fft/src/hwafft_rom.asm", ERROR! at line 1199: [E9999] Invalid mnemonic
specified
AC1 = copr(#HWAFFT_COMPUTE, AC0, dbl(*AR0-)), dbl(*(AR3-T1))=AC1
I also notice it has a couple of includes at the top ("lpva200.inc" and "macros_hwa_remap.inc") that aren't provided.
The FFT coprocessor is pretty much the reason we selected this chip, and I had hoped that the code provided by TI would work. Is there a way to get this to compile under CCS7? Or is there working code available for using the FFT coprocessor?