HSPI and VSPI, meaning thereof?

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

Re: HSPI and VSPI, meaning thereof?

Postby ESP_Sprite » Mon Aug 19, 2019 2:38 am

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.

peterbaldock
Posts: 1
Joined: Wed Apr 08, 2020 11:15 am

Re: HSPI and VSPI, meaning thereof?

Postby peterbaldock » Tue May 26, 2020 9:48 am

How about H_orizontal and V_ertical, for LCD interface?

Boring, I know.

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

Re: HSPI and VSPI, meaning thereof?

Postby ESP_Sprite » Tue May 26, 2020 12:42 pm

peterbaldock wrote:
Tue May 26, 2020 9:48 am
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.

ssbayanov
Posts: 1
Joined: Mon Sep 07, 2020 5:02 am

Re: HSPI and VSPI, meaning thereof?

Postby ssbayanov » Mon Sep 07, 2020 5:06 am

permal wrote:
Tue May 23, 2017 7:30 pm
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

rickqin
Posts: 1
Joined: Fri Oct 09, 2020 6:07 pm

Re: HSPI and VSPI, meaning thereof?

Postby rickqin » Fri Oct 09, 2020 6:51 pm

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!

mabartibin
Posts: 1
Joined: Mon Feb 21, 2022 8:03 am

Re: HSPI and VSPI, meaning thereof?

Postby mabartibin » Mon Feb 21, 2022 8:07 am

There must have been a Scandinavian on the team. E.g. in Norwegian, right and left are «høyre» and «venstre», similarly in Swedish and Danish. 🇩🇰🇳🇴🇸🇪

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

Re: HSPI and VSPI, meaning thereof?

Postby ESP_Sprite » Tue Feb 22, 2022 1:53 am

mabartibin wrote:
Mon Feb 21, 2022 8:07 am
There must have been a Scandinavian on the team. E.g. in Norwegian, right and left are «høyre» and «venstre», similarly in Swedish and Danish. 🇩🇰🇳🇴🇸🇪
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 :)

s-light
Posts: 13
Joined: Mon Oct 29, 2018 6:50 pm

Re: HSPI and VSPI, meaning thereof?

Postby s-light » Tue Jan 31, 2023 4:24 pm

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

Code: Select all

SPIn
names..

Behold
Posts: 1
Joined: Mon May 27, 2024 8:40 am

Re: HSPI and VSPI, meaning thereof?

Postby Behold » Mon May 27, 2024 8:44 am

HSPI=High SPI
VSPI=Very High SPI

bruekc
Posts: 1
Joined: Fri Sep 29, 2023 1:25 am

Re: HSPI and VSPI, meaning thereof?

Postby bruekc » Fri May 31, 2024 9:02 am

HSPI maybe "Horizontal SPI"
VSPI maybe "Vertical SPI"
:D

Who is online

Users browsing this forum: Bing [Bot] and 83 guests