Page 1 of 1

ESP32 HW SPI : Pins for MOSI, MISO, SCK , ( CS )

Posted: Thu Oct 20, 2016 9:09 am
by BlackGP
Hi,

I need to connect ESP32 Spi whit my microcontroller by the SPI interface.

I want use the VSPI.

But what are the correct pinout of the VSPI? Who is MISO?

Who is MOSI?

Re: ESP32 HW SPI : Pins for MOSI, MISO, SCK , ( CS )

Posted: Thu Oct 20, 2016 7:07 pm
by jumjum123
Interesting question, do you have any software for VSPI ?
I could find some definitions for register etc. but no functions.

Re: ESP32 HW SPI : Pins for MOSI, MISO, SCK , ( CS )

Posted: Fri Oct 21, 2016 3:24 am
by kolban
What is "VSPI"?

Re: ESP32 HW SPI : Pins for MOSI, MISO, SCK , ( CS )

Posted: Fri Oct 21, 2016 5:53 am
by WiFive
kolban wrote:What is "VSPI"?
ESP32 features three SPIs (SPI, HSPI and VSPI) in slave and master modes. Also known as SPI1, SPI2, SPI3?

In master mode
SPID = MOSI = data out
SPIQ = MISO = data in

In slave mode
swapped or same??

Re: ESP32 HW SPI : Pins for MOSI, MISO, SCK , ( CS )

Posted: Fri Oct 21, 2016 6:54 am
by BlackGP
The pin of the HSPI is also used for the Jtag , so I can't use HSPI in my project because I need to debugging my applications via Jtag.

In my project I will be using the VSPI interface as a slave.

Question 1
Will my external CPU able to issue AT commands to the ESP 32 through the VSPI interface?

Question 2
I need to interconnect the VSPI interface with my MCU's SPI interface.

Who is MISO and MOSI among these signals: VSPIHD, VSPIQ, VSPID