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
F2.8035万的CPU将一些长数据传输到CLA。 CLA将这些数据从long转换为float,然后使用CLAdive(),CLAcosPU()和CLAsinPU()执行一些计算。 CLA会将计算结果从浮点转换为长点,并将这些数据传输到CPU。 在相应的CLA PIE中断ISR中,CPU将读取这些数据并控制PWM占空比。 当我们使用XDS100仿真器将程序调试到F2.8035万时,单击“继续”按钮运行程序,一切都是正确的,即使是拉出仿真器。关闭电源后,打开F2.8035万,运行时没有仿真器,来自CLA的long数据不正确。 但是来自CLA的其他无符号短数据都是正确的。 这些未签名短数据来自同一CLA任务(Task1),并在同一CLA PIE中断ISR(CLA1_INT1_ISR)处读取。 原因是什么?CCS编译器版本是6.4 .2。