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.

[参考译文] MSP430FR5989:使用集成温度传感器读取负温度时出现问题。

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1070179/msp430fr5989-problem-reading-negative-temperatures-using-the-integrated-temperature-sensor

部件号:MSP430FR5989

我正在检查以下示例: dev.ti.com/.../node

它运行良好,但在负温度下 却无法工作。 这种公式似乎不适合负温度。 有人可以检查一下吗?

/* Temperature Sensor Calibration-30 C */

#define CALADC12_12V_30C *((unsigned int *)0x1A1A)

/* See device datasheet for TLV table memory mapping */

/* Temperature Sensor Calibration-85 C */

#define CALADC12_12V_85C *((unsigned int *)0x1A1C)

temperatureDegC = (float)(((long)temp - CALADC12_12V_30C) * (85 - 30)) / (CALADC12_12V_85C - CALADC12_12V_30C) + 30.0f;

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

    温度的问题值是多少?

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

    我很抱歉 Keith,我刚刚意识到读这些值是我的错。

    您可以删除此 标签。

    非常感谢。

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

    你(们)好  

    我将关闭此标签