My project sometimes couldn't run correctly,either going to illegal interrupt ISR or unenable interrupt ISR. Under this case,the RPC vlaue always point to the return address of the cfft_unpack function. The VCU II library version is V2_00_00_00. Is there something wrong? The code is as follow,
CFFT_Obj CFFT;
CFFT_Handle handleCFFT;
// Step 1: Initialize CFFT object
CFFT.pInBuffer = iTIFFTinputbuffer;
CFFT.pOutBuffer = iTIFFTResultbuffer;
CFFT.init = (void (*)(void *))CFFT_init64Pt;
CFFT.run = (void (*)(void *))CFFT_run64Pt;
// Step 2: Initialize the handle
handleCFFT = &CFFT;
// Step 3: Calling the init() will setup the twiddle factor table
// and run the Forward FFT followed by an unpacking routine
CFFT.init(handleCFFT);
CFFT.run(handleCFFT);
CFFT_unpack(handleCFFT);
Look foward to your reply. Thank you.