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.

[参考译文] TMS320F28P550SJ:SetVREF 功能不能在 VDDA 电压下正常工作

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1368532/tms320f28p550sj-setvref-function-does-not-work-properly-for-vdda-voltages

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

工具与软件:

您好!

f28p55x (C:\ti\c2000\C2000Ware_5_02_00_00\device_support\f28p55x\common\source\f28p55x_adc.c)的器件支持文件夹中的 SetVREF ()函数

由于 ADC_INTERNAL 和 ADC_VDDA 的值均为3、因此存在误差。 因此、如果我要针对 VDDA 进行配置、使用上述 API 将无法正常工作。

请参阅以下 文件: C:\ti\c2000\C2000Ware_5_02_00_00\device_support\f28p55x\common\include\f28p55x_adc_defines.h

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

    您好、Mukul:

    感谢您报告此错误。 我 已将其转发给我们的软件团队、以便在下一个 SDK 版本中修复。

    同时、您应该执行以下操作来解决此问题:

    -调用 SetVREF()来配置 ADC 偏移修整
    -直接写至 AnalogSubsysRegs。 ANAREFPCTL 和 AnalogSubsysRegs。 ANAEFNCTL 来配置您所需的基准选项。 TRM (模拟子系统章节)中介绍了这些寄存器。

    此致、
    伊袋