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.
工具/软件:Code Composer Studio
大家好
我正在使用 DSP TMS320F28335和 CCS v3.3。 我想使用 ADC 读取数据并将其用于我的控制算法。 我在 MATLAB/Simulink 2012a 中使用 ADC 块读取数据。 使用 RTDX 块、我可以访问 MATLAB 中的数据。 问题是我想对其进行校准和转换。 为了校准数据、我使用了一个简单的公式(V=ax+b)、但它不起作用。
我不确定、但我认为问题来自使用浮点数据。
是否有任何转换读取值的建议?
此致、
Abolfazl
尊敬的 Tommy:
感谢您的回复。
幸运的是,我的问题已经得到解决。 问题与 MATLAB/Simulink 中的数据类型转换有关。 现在、我通过连接 MATLAB/Simulink 和 DSP F28335来正确读取数据。
此致、
Abolfazl。