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.

TMS320F28335: 矩阵运算

Part Number: TMS320F28335
Other Parts Discussed in Thread: CONTROLSUITE

我需要在28335进行离散的状态空间方程的在线计算,需要用到矩阵乘法,28335支持矩阵的乘法吗?

CCS里面是可以定义二维矩阵的,但是我将两个二维矩阵做运算我在CCS里面看了结果是不对的。

  • 只有一维数组相乘的封装方法
    The following functions are included in this release of the FPU Library. The source code for these functions can be found in the source/C28x_FPU_LIB folder.

    Matrix and Vector部分已包含在浮点库中,文档C28x Floating Point Unit DSP Library USER’S GUIDE中有描述:C:\ti\controlSUITE\libs\dsp\FPU\v131\doc,代码在C:\ti\controlSUITE\libs\dsp\FPU\v131\source\C28x_FPU_LIB。

    目前C2000系列都没有直接的矩阵运算库,但可以参考下面帖子内Richard Poley的确认答案:

    e2e.ti.com/.../compiler-tms320f28069-slow-matrix-calculations