STM32F429中FFT库函数

2019-07-20 17:36发布

以下代码:arm_cfft_radix4_f32(&scfft,fft_inputbuf);        //FFT计算(基4)

HALL版本资料介绍FFT算法中N的长度有64/256/1024/4096,我现在想扩展为N=16384,
调试程序执行到此处
arm_cfft_radix4_f32(&scfft,fft_inputbuf);       
就进入

void HardFault_Handler(void)
{
  /* Go to infinite loop when Hard Fault exception occurs */
  while (1)
  {
  }
}


是不是以上基4函数不支持N=16384?还是其它有什么问题,我也刚开始使用SDRAM,担心有些步骤没有配置好。

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
6条回答
augustedward
1楼-- · 2019-07-20 18:50
 精彩回答 2  元偷偷看……
augustedward
2楼-- · 2019-07-20 19:48
 精彩回答 2  元偷偷看……
hebeixistm32
3楼-- · 2019-07-20 22:19
8字节对齐是什么意思呢?
augustedward
4楼-- · 2019-07-20 23:52
hebeixistm32 发表于 2017-1-4 16:40
8字节对齐是什么意思呢?

这个函数不推荐使用。
/**   
* @details   
* @brief Processing function for the floating-point Radix-4 CFFT/CIFFT.   
* @deprecated Do not use this function.  It has been superseded by ef arm_cfft_f32 and will be removed
* in the future.
* @param[in]      *S    points to an instance of the floating-point Radix-4 CFFT/CIFFT structure.   
* @param[in, out] *pSrc points to the complex data buffer of size <code>2*fftLen</code>. Processing occurs in-place.   
* @return none.   
*/
hebeixistm32
5楼-- · 2019-07-21 05:02
明白了,我也找到你说的这一部分了,确实不支持,那如果我仍然想在此平台上用16384点,是不是只能自己在库函数上修改了,就是说自己写算法了?
augustedward
6楼-- · 2019-07-21 09:46
 精彩回答 2  元偷偷看……

一周热门 更多>