Part Number: TMS320F280025
Other Parts Discussed in Thread: SFRA
我最近在调试BOOST
按照 C2000 Software Frequency Response Analyzer (SFRA) Library and Compensation Designer in SDK Framework 文档配置了SFRA
但是使用中,SFRA GUI 出现了下面问题,这是什么原因导致的?我该怎么解决?


This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS320F280025
Other Parts Discussed in Thread: SFRA
我最近在调试BOOST
按照 C2000 Software Frequency Response Analyzer (SFRA) Library and Compensation Designer in SDK Framework 文档配置了SFRA
但是使用中,SFRA GUI 出现了下面问题,这是什么原因导致的?我该怎么解决?


float32_t plantMagVect[SFRA_FREQ_LENGTH]={0.0f};
float32_t plantPhaseVect[SFRA_FREQ_LENGTH]={0.0f};
下面是配置
SFRA_F32_config(&sfra1,
SFRA_ISR_FREQ,
SFRA_AMPLITUDE,
SFRA_FREQ_LENGTH,
SFRA_FREQ_START,
SFRA_FREQ_STEP_MULTIPLY,
plantMagVect,
plantPhaseVect,
NULL,
NULL,
NULL,
NULL,
freqVect,
1);
下面是实际运行数据截图
为什么幅值记录的数据全是+Inf?可能是这个原因导致SFRA GUI 无法显示正确图形

下方链接和您遇到一样的报错,您可以参考。
这篇我看过了,确实出现这种问题和SFRA GUI没有关系,主要是由于计算的plantMagVect为+inf
但是为什么会计算得到inf?
我引用了sfra_f32_tmu_eabi.lib,但是没有在CMD做任何配置。
我按照文档描述增加了rts2800_fpu32_fast_supplement_eabi.lib(之前工程是没有添加这个库),并且配置280025 specify TMU support 为tmu1(之前为tum0),现在plantMagVect的计算不在是+inf了,我不确定是否是这个原因导致上面的SFRA GUI的显示问题。