Page 1 of 1

SPICLK pin setting in the esp-wrover-kit board

Posted: Wed Nov 30, 2022 9:00 am
by pabian
As shown in the figure below, the VSPICLK of esp32-wrover-e is marked as GPIO18.
[img]C:\Users\JJS\Downloads\esp32_io18_clk.PNG[/img]
However, on the LCD pinmap of the esp-wrover-kit board, GPIO18 was used as RESET and GPIO19 was used as SPICLK.
[img]C:\Users\JJS\Downloads\esp-wrover-kit-lcd-pinmap.PNG[/img]
I wonder why the esp-wrover-kit board set GPIO18 as RESET instead of using it as SPICLK.
And if any pin can be set up like this, why is it specified as SPICLK pin in the pinmap of the datasheet?

Re: SPICLK pin setting in the esp-wrover-kit board

Posted: Wed Nov 30, 2022 2:54 pm
by ESP_Sprite
Those pins are the 'default' pins for this signal (technically, the signals can be routed there using the IOMUX rather than the GPIO matrix). Routing SPI over those pins has some advantages in some situations (see here) but those are not applicable on this specific board, so the designers were free to pick any GPIO they wanted.