使用28035的CLA时,库里面的sin/cos/Exp等各种table都放在了 CLAmathTables : > RAML2, PAGE = 1 可是 RAML2 只有1K*16,肯定是放不下的呀!困惑中!
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.
使用28035的CLA时,库里面的sin/cos/Exp等各种table都放在了 CLAmathTables : > RAML2, PAGE = 1 可是 RAML2 只有1K*16,肯定是放不下的呀!困惑中!
不是IQmathTables,是用CLA时的Table就是在CLA数据区里面!
我看的例子是\controlSUITE\libs\math\CLAmath\v300\目录里的例子!
有点激动哈。。
请参考controlSUITE路径下的文档(C:\TI\controlSUITE\libs\math\CLAmath\v300\docs)第10页有如下说明:
CLAmathTables – This table is used by the sin, cos and sincos macros. The contents of this section should be placed in the CLA data memory at runtime. The examples load this code directly into CLA data memory for debug. Later you will want to load this section into flash and copy it to CLA data SARAM just as you would any time critical data table.
你的说法是正确的,这个是CLA的数据区不应该直接用来存放表格,但这只是例子,为了简单,所以将这个table映射到CLA的数据区了。实际情况下应该将它映射到flash上,然后运行时copy到RAM上。