IQ math library usage
Afficher commentaires plus anciens
Hi all,
I am having some trouble with the IQmath library for enhancing code speed. I have a double PI controller inside an ISR triggered by an ADC interrupt. The SOC for the ADC happens every 12us.
If I have the controller self made with normal floating point multiply operations and data types it works fine. However, when I try to exchange the controller or its operations with blocks from the library IQmath, my code becomes slower and can no longer reach these 12us.
Is there something I am missing out here? I have no fixed point license, could that be causing any inconvenience?
Here a small extraction of the code. From here I am guessing the installation of the IQmath lib went OK.

Thanks for the help
Réponses (0)
Catégories
En savoir plus sur Texas Instruments C2000 Processors dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!