This wiki documents Piksi v2.3.1 which was discontinued April 1st, 2017.
Visit support.swiftnav.com for newer products including Piksi Multi.

STM32F2xx speed notes

From Swift Navigation Wiki
Jump to navigation Jump to search

STM32F205 floating point performance benchmarks

All measurements made at 16MHz from the HSI RC oscillator with standard GCC settings, optimisation -Os.

Operation Float Double s32
+ 134K 175K 2273K
- 133K 170K 2273K
* 129K 158K 2273K
\ 24K 25K 1064K
atan 5050 5130

Test results for STM32f407 (on the Discovery board):

The clock was initialized to 168MHz.

Here is the result of the timing program, using 'soft' floating point ABI and software operations (two runs):

Completed 280020652 empty loops in 10 seconds.                                                                                                                 
Completed 25076475 additions in 10 seconds.                                                                                                                    
Completed 40350006 multiplications in 10 seconds.                                                                                                              
Completed 2283612 divisions in 10 seconds.                                                                                                                     
                                                                                                                                                              
Completed 280020652 empty loops in 10 seconds.                                                                                                                 
Completed 25076475 additions in 10 seconds.                                                                                                                    
Completed 40350006 multiplications in 10 seconds.                                                                                                              
Completed 2283612 divisions in 10 seconds.