TI中文支持网
TI专业的中文技术问题搜集分享网站

FFT库(ControlSuite包中的)

我是用新的ControlSuite中的FFT浮点库和定点库。浮点库的毛病是matlab和ccs3.3计算结果不一致。https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/471010/1694197#1694197

定点库是软仿和硬仿时间不一致,结果也不一样。软仿都是对的,时间也勉强,但硬仿怎么都不对。

请指点,谢!

yanfeng zhang:

我用的是CCS3.3

我是用新的ControlSuite中的FFT浮点库和定点库。浮点库的毛病是matlab和ccs3.3计算结果不一致。https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/471010/1694197#1694197

定点库是软仿和硬仿时间不一致,结果也不一样。软仿都是对的,时间也勉强,但硬仿怎么都不对。

请指点,谢!

Victor Zheng:

回复 yanfeng zhang:

您好

你跑过我们库提供的FFT的例程吗?你可以先跑一下例程,跑一个4点的试试。另外有一些函数要求输出数组要4N word边界对齐。

src Pointer to in-order data samples stored in alternate locations.dst Pointer to destination array, to store bit revered complex output, the destination arraybuffer must be aligned to 4N word boundary (16-bit word length) or 2N long words,where N is the size of the complex FFT (a power of 2).size Number of real-data samples (N) to be bit reversed in complex form; it should be powerof 2.

赞(0)
未经允许不得转载:TI中文支持网 » FFT库(ControlSuite包中的)
分享到: 更多 (0)