RFQ/BOM 0 Se connecter / Registre

Sélectionnez votre emplacement

image de l'utilisateur

NUC505 floating point calculation is too slow.

MCU
septembre 24, 2020 by Neil 1644

My program uses the cos function for calculation. If you simply use math.c to calculate once, it will be about 2ms, and it can be increased to 0.5ms with arm_math.c. At the same time, I use STM32f1 to test, and use math.c for about 0.115ms. May I ask Is there such a big difference, or is it my own mistake...

Tous les commentaires

user image

Bonnie Posté sur September 24, 2020

The key NUC supports DSP instructions and floating-point units.

0
user image

Connie Posté sur September 24, 2020

Have you turned on floating point arithmetic? Does it need to be set?

0
user image

Jaycee Posté sur September 24, 2020

You have to call the library operation of DSP.

0

Écrivez une réponse

Vous devez vous connecter pour répondre. Se connecter | Registre