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?
SPICLK pin setting in the esp-wrover-kit board
SPICLK pin setting in the esp-wrover-kit board
- Attachments
-
- esp32_io18_clk.PNG (14.02 KiB) Viewed 1032 times
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: SPICLK pin setting in the esp-wrover-kit board
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: No registered users and 79 guests