Skip to content

fix(esp32-c3): use FSPI port number for proper SPI pins initialization on esp32-c3 - #3213

Open
glutesha wants to merge 1 commit into
meshcore-dev:devfrom
glutesha:spi-initialization-fix
Open

fix(esp32-c3): use FSPI port number for proper SPI pins initialization on esp32-c3#3213
glutesha wants to merge 1 commit into
meshcore-dev:devfrom
glutesha:spi-initialization-fix

Conversation

@glutesha

Copy link
Copy Markdown

My fix proposal for #3212.
On ESP32-C3, SPIClass defaults to HSPI, but the Arduino-ESP32 core uses FSPI for the default SPI instance. The SPI bus needs to be explicitly set to FSPI when creating a custom SPIClass instance.
Tested on the Tenstar C3 Super Mini and Seeed XIAO ESP32-C3. This fix may also be useful for other ESP32 targets.

@glutesha glutesha changed the title fix: use FSPI port number for proper SPI pins initialization on esp32-c3 fix(esp32-c3): use FSPI port number for proper SPI pins initialization on esp32-c3 Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant