i am working working on ESP8266-12E from few days, and communicating with arduino using serial communication, but there are SPI pins also available on ESP.so i am wondering is there any way i can communicate with ESP using SPI pins?
my aim is to put arduino in sleep mode and whenever there is data from ESP to arduino, ESP will generate interrupt to arduino, so that i can save power by putting arduino into sleep mode.
here is the pin mapping of SPI pins on ESP12E
Pin Name Pin Num IO Function Name
SDIO_CLK 21 IO6 SPICLK
SDIO_DATA0 22 IO7 SPIQ/MISO
SDIO_DATA1 23 IO8 SPID/MOSI
SDIO_DATA_2 18 IO9 SPIHD
SDIO_DATA_3 19 IO10 SPIWP
SDIO_CMD 20 IO11 SPICS0
U0TXD 26 IO1 SPICS1
GPIO0 15 IO0 SPICS2