Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ESP32-S3-DevKitC-1-N8R8 and SPI #7153

carlberg74 started this conversation in General
Aug 18, 2022 · 2 comments · 1 reply
Discussion options

Hi,

Trying to get a SPI to work on my new dev board, but I cant figure out what pins I should use for SPI on this board.

Have a MCP23S08 and used it with Arduino on other boards and are now trying to get it to work on this board.

I have read that SPI0 and SPI1 is used by flash etc.. and that SPI2 and SPI3 is available for other stuff and they are called HSPI (SPI2) and VSPI (SPI3)?

But looking on this layout, I dont really understand what pins to use..
https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/_images/ESP32-S3_DevKitC-1_pinlayout_v1.1.jpg
It has FSPICLK (11) and FSPICS0 (9) but no MISO or MOSI.. and is this SPI2 or SPI3?

Looked also at this.
https://github.com/espressif/esp-idf/blob/master/components/soc/esp32s3/include/soc/spi_pins.h

SPI2_CS 10
SPI2_MOSI 11
SPI2_CLK 12
SPI2_MISO 13
But that dont seem to work..

Any suggestions would be appreciated.

Cheers
-Anders

You must be logged in to vote

Replies: 2 comments · 1 reply

Comment options

Just found this:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_technical_reference_manual_en.pdf

FSPID = MISO
FSPIQ = MOSI
And those are the pins I have been using...
Do I need to configure the dev board first using espressif tools to get SPI to work?

You must be logged in to vote
1 reply
@sukhdarshan-sukhe
Comment options

image
As per this image FSPID = MOSI and FSPIQ = MISO.

Comment options

Change resistor for SPI ?

and so ok ?
SPI2_CS 10
SPI2_MOSI 13 FSPIQ = MOSI
SPI2_CLK 12
SPI2_MISO 11 FSPID = MISO

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.