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库的table

Other Parts Discussed in Thread: CONTROLSUITE

使用28035的CLA时,库里面的sin/cos/Exp等各种table都放在了 CLAmathTables    : > RAML2,     PAGE = 1 可是   RAML2 只有1K*16,肯定是放不下的呀!困惑中!

  • 不知道你看的是哪个cmd文件,请确认从controlSUITE里下载最新版本的,不过至少我现在看到的所有CLA的cmd文件都没有这样的放置关系。

    IQmathTables     : > IQTABLES,  PAGE = 0, TYPE = NOLOAD

    如果是你说的L2,那肯定是不对的,因为:1、你提到的大小;2、那是CLA的数据区,不会存放表格。

  • 不是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上。