Page 1 of 1

ESP32 S3 N16R2 (QSPI) How to use SPI3 or SPI3

Posted: Mon Jan 08, 2024 11:34 am
by ACKHAN
Hello,
First time in my life i write somewhere on forums.

So this will be my first post of life.

I want to used two seperate SPI's , I use ESP32 S3 WROOM 1 (16MB with Quad spi for 2MB).


Any one can please tell is it possible to use two SPI's for two different slaves on ESP32-S3- WROOM-1 version N16R2.
If so please tell me the pin numbers for Second SPI because One i am using already is 12 and 13 pins.

In ESP DOC it is written esps3 has 4 spis 0 to 3 so i would like to use the last one no 3.

Thanks

Re: ESP32 S3 N16R2 (QSPI) How to use SPI3 or SPI3

Posted: Mon Jan 08, 2024 12:35 pm
by ESP_Sprite
You can use the GPIO matrix to route the SPI pins to any GPIO. Simply state the pin numbers when initializing the SPI peripheral.

Re: ESP32 S3 N16R2 (QSPI) How to use SPI3 or SPI3

Posted: Mon Jan 08, 2024 6:53 pm
by ACKHAN
Can you please help me little more how i can do it on ESP32-S3-WROOM-1.
I want to use SP3 , SPI/SP0/SP2 are already used.

Re: ESP32 S3 N16R2 (QSPI) How to use SPI3 or SPI3

Posted: Mon Jan 08, 2024 9:34 pm
by ESP_Sprite
What did you try already?

Re: ESP32 S3 N16R2 (QSPI) How to use SPI3 or SPI3

Posted: Tue Jan 09, 2024 5:04 pm
by ACKHAN
Hello,
I found a solution without using IOMUX.

Re: ESP32 S3 N16R2 (QSPI) How to use SPI3 or SPI3

Posted: Tue Jan 09, 2024 5:05 pm
by ACKHAN
Is it possible for you to show me a small example for one port to assign to another port.

I mean including libraries and small code.

Thanks.

Re: ESP32 S3 N16R2 (QSPI) How to use SPI3 or SPI3

Posted: Thu Jan 11, 2024 1:53 am
by ESP_Sprite
Can you be a bit more clearer in your questions? You're effectively asking 'How do I paint a red-ish color?' without giving details: are you painting a picture or a wall, what specific hue of red do you want it, what paint do you have available, ...?

In this case: What SDK are you using? Why specifically do you mean by 'assign to' another port? Why do you want to do this? What 'libraries' are you looking for, and why do you think your answer wouldbe in one?