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.

[参考译文] MSP430FR6043:LEA MSP_STATUS MSP_cmplx_mpy_Q15问题

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1408572/msp430fr6043-lea-msp_status-msp_cmplx_mpy_q15-issue

器件型号:MSP430FR6043

工具与软件:

嗨团队、

MSP_STATUS MSP_cmplx_mpy_q15 (const MSP_cmplx_mpy_Q15_params * params、const _Q15 * SRCA、const _Q15 * srcB、_Q15 * dst)  

上述函数是否支持16位输入宽度和32位输出宽度? 如果可以修改、应该如何操作该接口?

是否有任何相关文档需要解释?

谢谢和最好的问候、

Jiahui

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

    尊敬的 Jiahui:

    不支持、它仅支持16位。 修改接口 也不可行、如果器件具有 LEA 模块、它将涉及 LEA 模块。

    我建议您使用 iq31格式的库、参阅下面的链接:MSP DSP 库:实用程序。

    B.R.

    SAL

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

    这些定点例程的全部意义在于丢弃额外的位。

    当然、硬件乘法器会执行此操作。