IQmath
Traditional “Q” Math Approach
Traditional 16
Traditional 16
-
-
bit “Q” Math Approach
bit “Q” Math Approach
y =
y =
mx
mx
+ b
+ b
s Q15
ss Q30
sssssssssssss Q15
s Q15
s Q15
s Q15
ss Q30
sI Q30
ssssssssssssI Q15
M
X
B
Y
<< 15
Align Binary
Point For Add
Y = ((i32) M * (i32) X + (i32) B << Q) >> Q;
in C:
>> 15
Align Binary
Point For Store
Traditional 32
Traditional 32
-
-
bit “Q” Math Approach
bit “Q” Math Approach
y =
y =
mx
mx
+ b
+ b
Y = ((i64) M * (i64) X + (i64) B << Q) >> Q;
in C:
Note: Requires support for 64-bit integer data type in compiler
<< 24
Align Decimal
Point for Add
I8 Q24
M
X
B
Y
I8 Q24
I8 Q24
I16 Q48
ssssssssssssssssssI8 Q24
ssssI8 Q48
I16 Q48
sssssssssssssssssI16 Q24
I8 Q24
>> 24
Align Decimal
Point for Store
C28x - Numerical Concepts & IQmath
8 - 17
Summary of Contents for C28 Series
Page 64: ...Summary 3 16 C28x Peripheral Registers Header Files ...
Page 78: ...Interrupt Sources 4 14 C28x Reset and Interrupts ...
Page 218: ...Lab 9 DSP BIOS 9 22 C28x Using DSP BIOS ...
Page 244: ...Lab 10 Programming the Flash 10 26 C28x System Design ...
Page 273: ...Appendix A eZdsp F2812 C28x Appendix A eZdsp F2812 A 1 ...
Page 276: ...Appendix P2 Expansion Interface A 4 C28x Appendix A eZdsp F2812 ...
Page 277: ...Appendix P4 P8 P7 I O Interface C28x Appendix A eZdsp F2812 A 5 ...
Page 278: ...Appendix A 6 C28x Appendix A eZdsp F2812 ...
Page 279: ...Appendix P5 P9 Analog Interface C28x Appendix A eZdsp F2812 A 7 ...
Page 282: ...Appendix A 10 C28x Appendix A eZdsp F2812 TP1 TP2 Test Points ...