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.

TMS320F28069的CLA系列问题

CLA的MMEMCFG寄存器的RMA1CPUE位和MSTF寄存器的MEALLOW位为什么写不进去(已经用了EALLOW和EDIS了)

另:能在CLA的任务中用math.h的函数吗,比如开根号和sin等。因为在任务里用加减乘除都没问题但用了sqrt等函数后数据就回不到CPU中但是还是能触发CLA中断。(是用Cla1ForceTask1andWait()函数来触发CLA,但用了sqrt函数后就一直停在这里,头文件包了math.h了)

希望大神能帮忙解答,急

  • 您可以看一下用户指南中对该寄存器RMA1CPUE位的描述

    Allows/disallows CPU data accesses to CLA-Data-RAM 1, when the RAM1E bit is set.
    This bit is used to enable access of the CLA-Data-RAM to the CPU, when the CLA-DataRAM is mapped to the CLA (RAM1E=1).

    请问您现在RAM1E=1吗?
  • 是等于1的,三个都置为1了