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.

[参考译文] AM62P:VTM 无法正确测量 40°C 上的温度

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1630696/am62p-vtm-could-not-measure-the-temperature-over-40-c-correctly

部件号: AM62P

您好、

我尝试通过 VTM 监测 SOC 温度、可以成功从寄存器获取值。 但我发现、即使 SoC 在 80°C 处发热、输出值也始终围绕 40°C。 我想知道为什么会出现此问题?

下面附加了用于读取 VTM 寄存器的嗅探代码。

int32_t SoC_VTM_TEMPSEN_GPU(void *args)
{
    uint32_t* pVTM_CFG1_TMPSENS_STAT_0 = (uint32_t*) (0x00B00308 + 0*0x20); 
    uint32_t TEMP_DATAOUT = *pVTM_CFG1_TMPSENS_STAT_0 & 0x000003FF;
    int32_t TEMP_calc = (-0.0000000000092627*TEMP_DATAOUT*TEMP_DATAOUT*TEMP_DATAOUT*TEMP_DATAOUT + 0.000000060373*TEMP_DATAOUT*TEMP_DATAOUT*TEMP_DATAOUT
                    - 0.00017058*TEMP_DATAOUT*TEMP_DATAOUT + 0.32512*TEMP_DATAOUT - 49.002);
    DebugP_log("[VTM] GPU temperature is %d\r\n", TEMP_calc);

    return TEMP_calc;
}

此致、

Bomiao