Page 2 of 3
Re: HSPI and VSPI, meaning thereof?
Posted: Mon Aug 19, 2019 2:38 am
by Sprite
Yes, both are hardware peripherals, and (apart from some details wrt what pins to use if you need to go *really* fast) they are fully interchangable.
Re: HSPI and VSPI, meaning thereof?
Posted: Tue May 26, 2020 9:48 am
by peterbaldock
How about H_orizontal and V_ertical, for LCD interface?
Boring, I know.
Re: HSPI and VSPI, meaning thereof?
Posted: Tue May 26, 2020 12:42 pm
by Sprite
How about H_orizontal and V_ertical, for LCD interface?
...That makes no sense from a technological point of view, but if it makes you happy to think of them like that, I won't stop you.
Re: HSPI and VSPI, meaning thereof?
Posted: Mon Sep 07, 2020 5:06 am
by ssbayanov
Hi,
HSPI and VSPI are referenced throughout the documents and this forum, but I've seen no explanation as to what the H and V actually stands for - could someone please enlighten me?
H is Host
V is slaVe
Re: HSPI and VSPI, meaning thereof?
Posted: Fri Oct 09, 2020 6:51 pm
by rickqin
ESP32 has 4 SPI controllers. They are SPI0、SPI1、SPI2、SPI3.
SPI0 can be used to access to the external storage unit as a fast cache.
SPI1 can be used as the Master host.
SPI2, SPI3 can be used as both Master and Slave.
SPI0 and SPI1 share one BUS prefixed with "SPI", they consist of signals "D, Q, CS0 ~ CS2, CLK, WP, HD",
while SPI2 and SPI3 use BUS prefixed "HSPI" and "VSPI" respectively.
Shortly, they are the SAME!
Re: HSPI and VSPI, meaning thereof?
Posted: Mon Feb 21, 2022 8:07 am
by mabartibin
Re: HSPI and VSPI, meaning thereof?
Posted: Tue Feb 22, 2022 1:53 am
by Sprite
As a matter of fact, I can confirm that that was not it. At the time that the ESP32 was developed, I'm decently sure I was the only non-Asian in Espressif, and if my Dutch influenced it, it would be 'lspi' and 'rspi'. Keep guessing, though, I like what you guys come up with

Re: HSPI and VSPI, meaning thereof?
Posted: Tue Jan 31, 2023 4:24 pm
by s-light
just some -non-guessing- hart facts:
with ESP32-S2 and newer things got a bit more complicated -
there was a rename:
https://github.com/espressif/esp-idf/bl ... ypes.h#L78
Code: Select all
//alias for different chips, deprecated for the chips after esp32s2
#ifdef CONFIG_IDF_TARGET_ESP32
#define SPI_HOST SPI1_HOST
#define HSPI_HOST SPI2_HOST
#define VSPI_HOST SPI3_HOST
#elif CONFIG_IDF_TARGET_ESP32S2
// SPI_HOST (SPI1_HOST) is not supported by the SPI Master and SPI Slave driver on ESP32-S2 and later
#define SPI_HOST SPI1_HOST
#define FSPI_HOST SPI2_HOST
#define HSPI_HOST SPI3_HOST
#endif
some random other points in the sources with these / similar names:
https://github.com/espressif/esp-idf/bl ... pins.h#L49
https://github.com/espressif/esp-idf/bl ... ypes.h#L19
iam not sure about the now recommend way -
i think best bet is to use the
names..
Re: HSPI and VSPI, meaning thereof?
Posted: Mon May 27, 2024 8:44 am
by Behold
HSPI=High SPI
VSPI=Very High SPI
Re: HSPI and VSPI, meaning thereof?
Posted: Fri May 31, 2024 9:02 am
by bruekc
HSPI maybe "Horizontal SPI"
VSPI maybe "Vertical SPI"
