SPI non-DMA max speed ?
I am communicating with a TFT LCD and trying to speed things a little bit. At the moment I dont have DMA library written, so I am using standard SPI mode.
I configured the SPI clock as 5Mhz on STM32F407 mcu.
My main clock is PLL on 96Mhz. With APB2 = 2 and APB1 = 4.
Not sure if relevant, but Flash latency is 6 CPU cycles.
Gpio port output speed on CLK,MISO,MOSI is set to Highspeed. (no difference with low speed).
What I am seeing on the logic analyzer is the gaps between each SPI clock. Measuring one byte transmission speed, I am getting average of 300ish Khz instead of 5Mhz.
I only have one interrupt running in the code and that is Systick with 100us tick.

EDIT: One thing was definitely wrong in my setup. CPU WS latency. As my PLL clock is set to 96mhz and mcu works on 3.3v, I had to set 4CPU cycles WS instead of 6 that I originally had. Problem still persists.
