Just checking, is the FPU enabled by default in the SAMD51 when using Atmel Studio 7? Nothing special I need to enable it?
I am looking for any way to speed up precision sin() calculations.
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.
Be sure to use 32bit floats and fsin() and etc. otherwise you get no speed up from the fp hardware.
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
© 2021 Microchip Technology Inc.