Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
409 views

How does the ARM Compiler (Version 5) handle double-precision floats in devices whose floating-point unit hardware only supports single precision?

After reading ARM Compiler version 5's manual, it says that for devices without a floating point unit, floats are dealt with through software implementations, which is likely going to be slower than ...
a2xia's user avatar
  • 135
3 votes
1 answer
11k views

How many cycles does an ARM Cortex M0 use to multiply floats?

On an ARM cortex m0+: How many cycles does it take to perform multiplication of single precision floats and store them into a float? i.e. x = a*b; Where x, a, and b are single precision IEEE 754 ...
hassan789's user avatar
  • 2,116
1 vote
0 answers
315 views

Float calculations hangs on Kinetis K20 (arm-m4-no-fpu) when PWM interrupt is on

I will use this ARM to control Induction Motor with three-phase inverter. When the program encounters any float operations, like simple plus operation, the system hangs but the pause of debug works ...
user avatar