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.

[参考译文] CCS/TMS320F28377S:在 CLA 任务中读取 ADC 结果

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/916638/ccs-tms320f28377s-read-adc-results-in-cla-task

器件型号:TMS320F28377S

工具/软件:Code Composer Studio

尊敬的所有,

当我读取 ADC 结果时、CLA 任务,为什么所有返回的变量始终 为0?

如下所示、AdcaResultRegs.ADCRESULT13 = 4095,、但 f32AdcResultA3S = 0。

#pragma DATA_SECTION (f32AdcResultA3S、"CLAData");
#pragma DATA_SECTION (f32AdcResultA4S、"CLAData");
#pragma DATA_SECTION (f32AdcResultA5S、"CLAData");
float32 f32AdcResultA3S=0;
float32 f32AdcResultA4S = 0;
float32 f32AdcResultA5S = 0;

 Cla1Share      :origin = 0x00A000、length = 0x000A00

 CLA 数据      :> Cla1Share,page=1