Page 1 of 1

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

Posted: Wed Jan 06, 2016 10:13 pm
by rudi ;-)
hi guys

not sure, i puzzle just in time hw pins for SPI and setup procedure.
in first look, i would take

  1. GPIO 19 : MOSI
    GPIO 20 : MISO
    GPIO 22 : SCK
    GPIO 21 : CS




but think i am wrong at this.
have we just in time an example in HW SPI / setup steps / little Docu?

thanks!
best wishes
rudi ;-)

edit:
i think SPI ( Master/Slave )
are on:

  1. GPIO 08 : MOSI ( SD_DATA1, SPID, HS1_DATA1 )
    GPIO 07 : MISO ( SD_DATA0, SPIQ, HS1_DATA0 )
    GPIO 06 : SCK ( SD_CLK, SPICLK, HS1_CLK, U1CTS )
    GPIO 11 : CS ( SD_CMD, SPICS0, HS1_CMD, U1RTS )


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

Posted: Thu Jan 07, 2016 10:38 am
by ESP_Me-no-dev
there are 3 SPI busses available. The first is the SPI bus that takes care of the FLASH chip and is referred to simply by SPI.
Then there are the other 2 SPI busses (HSPI and VSPI) and while those have default pins, you can attach them to any pin you like.