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.

[参考译文] TMDSCNCD28335:IQ 数学描述

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/846828/tmdscncd28335-iq-mathematics-descirtion

器件型号:TMDSCNCD28335

同时尝试了解 IQ 数学。 我在 C28x%20IQmath%20Library.pdf 中看到了 TI 的示例

以 IQ26格式计算 Y = 5*X。

_iq26 Y、X;

长 M;

M=5;// M=5

x =_IQ26 (5.1);//X=5.1、IQ29格式

y =_IQ26mpyI32 (X、M);// Y=25.5、IQ29格式

如果我正确理解、IQ29中的 Y 值在(-4、4)范围内。  

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

    穆罕默德

    遗憾的是、"//X=5.1 in IQ29 format"和"// Y=25.5 in IQ29 format"这两个注释是错误的。

    它应该是 IQ26。 IQ29在图片中没有位置。

    谢谢、

    Sira