Speed: spi_clk_freq = system_clock_freq / 2 * (speed + 1)
spi_clk_freq = system_clock_freq / 2 * (speed + 1)