SPICLK pin setting in the esp-wrover-kit board

pabian
Posts: 3
Joined: Wed Nov 30, 2022 8:51 am

SPICLK pin setting in the esp-wrover-kit board

Postby pabian » Wed Nov 30, 2022 9:00 am

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?
Attachments
esp32_io18_clk.PNG
esp32_io18_clk.PNG (14.02 KiB) Viewed 723 times

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Wed Nov 30, 2022 2:54 pm

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.

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 105 guests