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.
在28377的cmd文件中关于IQmath等的空间指向如下:
IQmath : > FLASHE, PAGE = 0
IQmathTables : > FLASHE, PAGE = 0
IQmathTablesRam : > FLASHE, PAGE = 0
要是如上述配置的话,注入下列运算会占用较多的CPU资源,比如同样下载程序到FLASH和下载程序到片上RAM运算时间有如下差别:
a1 = EPwm2Regs.TBCTR;
b1 = b2 * b3; // RAMGS6:4 SYSCLK; FLASHE:13 SYSCLK
a2 = EPwm2Regs.TBCTR;
b4 = b5 / b6; // RAMGS6:37 SYSCLK; FLASHE:48 SYSCLK
a3 = EPwm2Regs.TBCTR;
想知道能不能将IQmath等在映射到FLASHE后当程序上电后又能移动到片上RAM区域等的方法实现快速的数据运算,如何实现之,请教了。