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.

[参考译文] LP-MSPM0G3507:MathACL 配置中这两个示例代码之间的区别是什么?为了使计算时间不同?

Guru**** 2376610 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1533863/lp-mspm0g3507-what-s-the-difference-between-these-2-example-code-in-mathacl-configuration-to-make-the-time-for-calculation-different

器件型号:LP-MSPM0G3507
Thread 中讨论的其他器件:MSPM0G3507

工具/软件:

您好团队

我修改 M0 SDK 中的示例以测试 MATHACL、这里有 2 个使用相同代码的示例用于 div 操作、时间消耗有很大差异。 您能否帮助检查这两个器件之间的配置差异、以及如何确保 MATHACL 已启用且正常工作?

e2e.ti.com/.../iqmath_5F00_mathacl_5F00_ops_5F00_test_5F00_LP_5F00_MSPM0G3507_5F00_nortos_5F00_ticlang.zip

DIV 使用的时间:1.6us

e2e.ti.com/.../iqmath_5F00_rts_5F00_ops_5F00_test_5F00_LP_5F00_MSPM0G3507_5F00_nortos_5F00_ticlang.zip

DIV 使用的时间:22us

非常感谢  

Matthew Chen

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Mathew、看起来 不同的是在运行代码时选择的 IQ 库。 其中一个 选项是 MATHACL、另一个选项是 RTS。  MATHACL 利用硬件加速、通常旨在为支持的数学运算提供更快的执行速度(与基于软件的 RTS 版本相比)。 希望这对您有所帮助!