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.

[参考译文] TMS320F28379D:C2000ware 3.04中 SDFM driverlib 示例中可能存在错误

Guru**** 2577385 points
Other Parts Discussed in Thread: C2000WARE

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1011200/tms320f28379d-possible-bug-in-sdfm-driverlib-sample-from-c2000ware-3-04

器件型号:TMS320F28379D
主题中讨论的其他器件:C2000WARE

在我看来 、C2000Ware_3_04_00_00\driverlib\f2837xs\examples\cpu1\sdfm\sdfm_ex1_files.c 中存在一个错误

SDFM_CONFIGComparator 的调用 如所示

SDFM_CONFIG比较 器(SDFM1_BASE、
                     (SDFM_FILTER_1 | SDFM_FILTER_SINC_3 | SDFM_SET_OSR (32))、
                     (SDFM_GET_LOW_THRESHOLD (llt)| SDFM_GET_HIGH_THRESHOLD (HLT)));

但是 、在这个调用后、SDCMPHx 寄存器为零。 我认为最后一行应替换为'SFM_THRESHOLD (HLT、llt)' :

 SDFM_CONFIG比较 器(SDFM1_BASE、
                     (SDFM_FILTER_1 | SDFM_FILTER_SINC_3 | SDFM_SET_OSR (32))、
                     SDFM_THRESHOLD (HLT、llt));

此致、
Alex  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Alex:

    我明白你的观点。 非常感谢您提出这个问题。 我们将在下一个版本中对其进行更新。

    Aditya