Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPI] Add SPI support for all available SPI busses on all ESP32-xx platforms #4968

Open
TD-er opened this issue Feb 7, 2024 · 0 comments
Open
Labels
Type: Enhancement Improve something already present

Comments

@TD-er
Copy link
Member

TD-er commented Feb 7, 2024

See: espressif/arduino-esp32#9216 (comment)

While you're at it, can you perhaps also add (or link to) some info about how the naming schema for all FSPI/VSPI/HSPI is intended? I didn't yet find any logic to it.
If FSPI is always connected to the flash, then it would make sense to me. And if VSPI vs HSPI is about max speed (or bus width), then it also makes sense.
However it seems to be a bit random how it is used among ESP32-variants.

ESP32 has introduced the SPI names FSPI/VSPI/HSPI in the Technical Reference Manual at chapter 7 (page 125) about SPI.

ESP32-S2 doesn't use these names. Just uses SPI0, SPI1, SPI2 and SPI3. ESP32-S2 TRM - Chapter 24 Is uses the prefix GP (General Purpose) for GP-SPI2 and GP-SPI3

ESP32-S3 does the same as ESP32-S2 with SPI0, SPI1, GP-SPI2 and GP-SPI3.

ESP32-H2, ESP32-C3 and ESP32-C6 have 3 SPI peripherals, but only GP-SPI2 is available for the users.

Therefore the use of FSPI/VSPI/HSPI names is ESP32 legacy.

@TD-er TD-er added the Type: Enhancement Improve something already present label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improve something already present
Projects
None yet
Development

No branches or pull requests

1 participant