for the ESP32C6 the SPI2 peripheral can be used with any GPIO pins by routing them through the GPIO-MUX. But when using specific pins, the SPI2 signals of the ESP32C6 can be routed through the IO-MUX directly.
Some sources say that routing the signals directly via IO-MUX is faster (allows faster SPI CLK speeds) and reduces delay, however the IDF documentation for the SPI driver says: (https://docs.espressif.com/projects/esp ... and-io-mux)
So how big is the difference really? Im using SPI2 in Master mode with a clock frequency of 10MHz (reading from a very high sampling IMU).When an SPI Host is set to 80 MHz or lower frequencies, routing SPI pins via the GPIO matrix will behave the same compared to routing them via IOMUX.
Best regards,
Johannes
