Hello!
I'm running the sample program of transform_ex1_fft_fixed_q15 and have an issue. It is in the API called "msp_biquad_df1_q15".
There is a line:
LEAPMS1 = MSP_LEA_CONVERT_ADDRESS(leaParams);
When it is run, the program expect an interrupt after command completion but never received it. I turned off LPM0 and it is still the same.
I have changed the program LEA RAM locations to the ones for MSP430FR6043. I have also checked the memory locations for leaParams - they seem to be in the LEA stack (the end of LEA RAM, 0x00005Fxx in 6043).
Earlier in the same file, LEA addresses was checked with these code and no issues was reported:
/* Check that length parameter is a multiple of two. */
if (length & 1) {
return MSP_SIZE_ERROR;
}
/* Check that the data arrays are aligned and in a valid memory segment. */
if (!(MSP_LEA_VALID_ADDRESS(src, 4) &
MSP_LEA_VALID_ADDRESS(dst, 4) &
MSP_LEA_VALID_ADDRESS(params->states, 4) &
MSP_LEA_VALID_ADDRESS(params->coeffs, 4))) {
return MSP_LEA_INVALID_ADDRESS;
}
/* Check that the correct revision is defined. */
if (MSP_LEA_REVISION != msp_lea_getRevision()) {
return MSP_LEA_INCORRECT_REVISION;
}
/* Acquire lock for LEA module. */
if (!msp_lea_acquireLock()) {
return MSP_LEA_BUSY;
}
#endif //MSP_DISABLE_DIAGNOSTICS
Could you please give me some direction on how to debug this issue? Does this have something to do with putting the data into some memory locations that both CPU and LEA can access? Is the address I mentioned above meet the requirements?
Also I've searching for more detailed instructions about LEA on the internet and the best I can find is the FAQ along with the local DSP Lib user guide. So if you could point me to more documentations that would be helpful.
Thanks,
Xiyao