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.

[参考译文] TMS320F28379D:仅 ADC 读取整数格式的传感器数据、如何获取小数或浮点格式的数据?

Guru**** 2589280 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1204021/tms320f28379d-adc-only-reading-sensors-data-in-integer-format-how-can-i-get-data-in-decimals-or-float-format

器件型号:TMS320F28379D

我将通过 SCI-B 从 F28379D 向 MATLAB GUI 发送传感器数据 DSP 仅发送整数。 为了确保准确性、我需要使用 ADC 以浮点格式记录值、以便我也可以看到以十进制表示的值。

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

    您好、Kamran:

    ADC 仅将值记录 为整数(C2000器件上的所有 ADC 就是这种情况);如果您希望它将值记录为浮点、则必须在您自己的程序代码中执行此操作。

    此致、

    Omer Amir