Part Number: MSPM0G3507
In our project, we are implementing three mathematical functions using MathACL and IQMathLib:
Mean power calculation of signals
Cross-correlation between two signals
Compensation of phase error
Each of these functions has different data ranges and resolution requirements, therefore using a single global IQ format is not sufficient. When we choose a higher IQ format, overflow occurs for some values; however, when we reduce the IQ format, the loss of precision causes incorrect results, especially for small values. What would you recommend for managing this situation within the MathACL/IQMathLib structure? Is there a suggested approach or any example application for this?
I can share the mentioned functions and the related test data sets with you if want.