SAMD51, FPU enabled by default in Atmel studio 7?

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all,

 

Just checking, is the FPU enabled by default in the SAMD51 when using Atmel Studio 7?  Nothing special I need to enable it?

 

-troy

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am looking for any way to speed up precision sin() calculations.

 

-troy

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I read online that your FPU intensive routines should not be inside of ISR routines.  That actually seems to help a lot when I move my sin() calculations out of the ISR.

 

-troy

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Be sure to use 32bit floats and fsin() and etc. otherwise you get no speed up from the fp hardware.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

See here for benchmarks of accelerated and un-accelerated trig functions on a similar ARM micro from ST: http://www.ganssle.com/tem/tem37...

Any 120 MHz Cortex-M4F core including the ATSAMD51 should have the same performance.

Josh @ CIHOLAS Inc - We fill the gaps from chips to apps