AnsweredAssumed Answered

How to use DSP instructions on Kinetis K66 MCU?

Question asked by Giulio Giovannetti on Feb 21, 2017
Latest reply on Feb 27, 2017 by Hui_Ma

Hi everybody,

I have written a program on the K65 MCU which performs some controls and a few calculations. Looking at execution times I found out that the calculations performed were the instructions that took the most time.

These calculations are simple multiplications between float variables and I think that some micro-seconds for each multiplication is really too high, considering I have a 120 MHz clock! probably there is something missing in my code or there are some compiler options which I have not set properly so I am asking you:

  • is there any compiling options I can enable in order to use the math co-processro provided with the ARM -M4?
  • is there any libraryI can laod to use the "DSP Instructions" described in the ARM -M4 reference guide?

Cheers,

Giulio

Outcomes