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.

[参考译文] MSPM0G1505:SDK 示例:温度传感器:Vtrim 的公式不正确?

Guru**** 2392395 points
Other Parts Discussed in Thread: MSPM0G3507, SYSCONFIG

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1277846/mspm0g1505-sdk-example-temp-sensor-the-formula-for-vtrim-is-not-correct

器件型号:MSPM0G1505
主题中讨论的其他器件:MSPM0G3507SysConfig

您好

 

Vtrim 的公式是否正确?

 

代码的位置:  C:\ti\mspm0_sdk_1_10_01_05\examples\nortos\lp_MSPM0G3507\driverlib\adc12_internal_temp_sensor_mathacl\adc12_internal_temp_sensor_mathacl.c

代码中 Vtrim 的公式:

    

TRM 中 Vtrim 的公式:

   

   :

   

  

代码中的 VREF 似乎是3.45V、但在 TRM 中却是1.4V。

代码中的值是否正确?

 

谢谢、此致、

鹤本市。

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

    这取决于使用的是哪个 Vref。 该示例使用1.4V。 如果您使用 SysConfig 将 Vref 更改为1.4、则可以更改常量。