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

User avatar
rudi ;-)
Posts: 1698
Joined: Fri Nov 13, 2015 3:25 pm

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

Postby rudi ;-) » Wed Jan 06, 2016 10:13 pm

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 )

-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
ESP_Me-no-dev
Posts: 77
Joined: Mon Jan 04, 2016 6:30 pm

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

Postby ESP_Me-no-dev » Thu Jan 07, 2016 10:38 am

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.

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 111 guests