I wrote 3000000 based on quanton, that use mpu6000 on SPI2/SPI3 (APB1 - 42Mhz) so 42000000/3000000=14. Selected prescaler = PIOS_SPI_PRESCALER_16;