Hello,
I am trying to port into M35 processor an example code provided for 2837x processor, FFT using VCU.
I have the "latest" CCS 6.0.1.00040 and ControlSuite, and a standard Concerto M35 ControlCard from TI
I started with standard M35' blinky_C28 example from:
C:\ti\controlSUITE\device_support\f28m35x\v204\F28M35x_examples_Control\blinky\c28
and, following instructions in the "C28v-VCU-LIB-UG.pdf", added there code from the example:
C:\ti\controlSUITE\libs\dsp\VCU\v2_00_00_00\examples_ccsv5\fft\2837x_vcu2_rfft_256
With few tweaks of cmd file I managed to compile an example, it runs up to the line 228 in assembler file "vcu2_cfft_128.asm".
228: VCFFT8 VR3, VR2, #1 ;[VR2H:VR2L] := [R2 - R3:R2 + R3] := [VR2L - VR3L:VR2L + VR3L]
;[VR3H:VR3L] := [I2 - I3:I2 + I3] := [VR2H - VR3H:VR2H + VR3H]
When executing this line, C28 processor jumps to the ILLEGAL_ISR(void), line 98 in "F28M35x_SysCtrl.c", it looks like it cannot execute this instruction.
What is wrong? Why C28 coprocessor in M35 cannot execute VCFFT8 instruction?
I tried to put program into RAM or FLASH, it does not help. One POSSIBLE difference between F2837xD and M35 processor: the twiddle factors are in the ROM in the F2837xD processor, I am not sure if they are exist in M35' C28 ROM, so I put them in the RAM.
I exported project to the zip file, here it is:
Regards,
Igor