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.

[参考译文] RM44L520:ADC 转换结果公式问题

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/615595/rm44l520-adc-conversion-result-equation-question

器件型号:RM44L520

你好、冠军

客户对方程式有疑问:

为什么需要减去0.5?  

谢谢。

Eric

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

    ADC 的分辨率为12位。 等于 ADrefhi 的模拟输入电压的 ADC 输出代码为0xFFF (4095)。 根据公式、数字结果=整数(0x1000-0.5)& 0xFFF =(0xFFF)& 0xFFF = 0xFFF。 如果我们从公式中删除0.5、则数字结果=整数(0x1000)& 0xFFF = 0x0、这是不正确的。 这是我的理解。 下周我将咨询我们的 ADC 专家、以获得正确答案。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    谢谢您、Qingjun。
    Eric