Skip to content

ESP32-S3 SPI spiAttach... spiDetach... function use wrong pins #8508

Closed
@UlliBien

Description

@UlliBien

Board

ESP32-S3

Device Description

any

Hardware Configuration

doesn't matter

Version

v2.0.11

IDE Name

Arduino-IDE

Operating System

Windows 11

Flash frequency

doesn't matter

PSRAM enabled

yes

Upload speed

doesn't matter

Description

spiAttachMOSI attaches pin 35 instead of pin 11.
#if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
is wrong. Later is a separate statement for the ESP32-S3 with the correct pin assignment:
#elif CONFIG_IDF_TARGET_ESP32S3

spiDetachSCK, spiDetachMISO, spiDetachMOSI the same.

Sketch

doesn't matter

Debug Message

doesn't matter

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions