AnsweredAssumed Answered

Hard Fault Using FFT in TWR-KM34Z50M

Question asked by Martin Zhang on Jun 29, 2016
Latest reply on Jun 30, 2016 by Martin Zhang

Hi,

I am trying to use the FFT library (meterlibFFT_cm0p_mmau_iar.a, version 4.0.0.2) in TWR-KM34Z50M, I have do following initialization before I call function METERLIBFFT1PH_Interpolation.

 

METERLIBFFT1PH_InitParam

METERLIBFFT1PH_SetCalibCoeff

METERLIBFFT_SetEnergy

METERLIBFFT1PH_InitAuxBuff

Also I noted the sampling values have been put in the buffer using following function:

METERLIBFFT1PH_InitMainBuff

 

But there is a hard fault error come out when the program running in METERLIBFFT1PH_Interpolation. Could someone tell me what happen and how I can solve this problem?

 

Thanks!

 

Martin

Outcomes