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.

[参考译文] TMS320F28377S:更多 C2000ware/controlSUITE 混淆(请参阅 Todd Anderson78572 5/15/2017)

Guru**** 2463330 points
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/638136/tms320f28377s-more-c2000ware-controlsuite-confusion-see-todd-anderson78572-5-15-2017

器件型号:TMS320F28377S
Thread 中讨论的其他器件:controlSUITEC2000WARE

最新版本的 spruhx5e 技术参考手册(2017年9月)、位于第9.1.3.2节。 分辨率、即使用 controlSUITE 中 F2837xS_ADC.c 中的 AdcSetMode()函数。

"应使用 F2837xS_ADC.c 中 controlSUITE 中提供的 AdcSetMode 函数来配置分辨率 此函数可确保将正确的修整加载到 ADC 修整寄存器中。 在器件复位后、必须至少调用一次此函数。 不应通过直接写入 ADCCTL2寄存器来配置分辨率。 "

是否可以使用 C2000ware 中 adc.c 的 adc_setMode()函数(如示例 adc_ex2_soc_ePWM.c 中所示)? 这是否满足"必须被称为"的要求?

谢谢。 Ron。

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

    尊敬的 Ron:

    是的、没关系。 ADC_setMode()也加载适当的调整寄存器。

    我将为 TRM 提交反馈文件,以添加注释:adc_setMode()是与 AdcSetMode()等效的 driverlib。

    惠特尼