SPI map question

ouki-wang
Posts: 1
Joined: Thu Mar 09, 2017 3:28 am

SPI map question

Postby ouki-wang » Thu Mar 09, 2017 3:38 am

#define PIN_NUM_MISO 25
#define PIN_NUM_MOSI 23
#define PIN_NUM_CLK 19
#define PIN_NUM_CS 22

In the spi maspter demo, espressif uses these pins. But I can not find the spi map of 25 23 19 22 in the spec. Spec IO12 IO13 IO14 IO15 mapped to HSPI.
Can any IO be mapped to SPI?

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: SPI map question

Postby kolban » Thu Mar 09, 2017 6:01 am

Yes sir. Almost any pin can be mapped to almost any function.... whether it be SPI, I2C, UART, RMT or other function.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: ccrause and 222 guests