ESP8266 Developer Zone The Official ESP8266 Forum 2015-01-30T22:58:39+08:00 https://bbs.espressif.com:443/feed.php?f=6&t=77 2015-01-30T22:58:39+08:00 2015-01-30T22:58:39+08:00 https://bbs.espressif.com:443/viewtopic.php?t=77&p=608#p608 <![CDATA[Re: SPI Slave]]> Statistics: Posted by O2addict — Fri Jan 30, 2015 10:58 pm


]]>
2014-12-15T20:58:07+08:00 2014-12-15T20:58:07+08:00 https://bbs.espressif.com:443/viewtopic.php?t=77&p=281#p281 <![CDATA[Re: SPI Slave]]> Thanks for your very helpful reply. So if i'm understanding correctly, I can use HSPI which will not clash with the flash memory on the SD port and which uses the same pins as SPI master (but in a different order).
I'll email about the SPI SDK now.
Thanks,
Ben

Statistics: Posted by bjpirt — Mon Dec 15, 2014 8:58 pm


]]>
2014-12-15T19:47:54+08:00 2014-12-15T19:47:54+08:00 https://bbs.espressif.com:443/viewtopic.php?t=77&p=280#p280 <![CDATA[Re: SPI Slave]]>
Thanks for your interest in our product.

1. ESP8266 can indeed work in SPI-Slave mode.
About the schematic and notes of ESP8266 working in SPI-Slave Mode, you can refer to "1-HDK-ESP8266_Module Application Design Guide(EN).pdf" for details.

2. If you only use SPI interface in the occasion of transmitting commands and the like which no high speed need, we advise you to use HSPI-Slave instead.

The clock rate that HSPI supports can be the same as standard SPI. However, HSPI may be limited by the rate of processing data for there is no link-list and DMA

The communication pins are shown as below.
SPI:
SD_CLK---SPICLK
SD_D0---SPIQ/MISO
SD_D1---SPID/MOSI
SD_D2---SPIHD
SD_D3---SPIWP
SD_CMD---SPICS0

HSPI:
MTMS---HSPICLK
MTDI---HSPIQ/MISO
MTCK---HSPID/MOSI
MTDO---HPSICS

3.The SPI-Mode SDK is still in developing. With regard to the SDK of HSPI-Slave, you can e-mail us to apply for it.

Statistics: Posted by Espressif_Kelly — Mon Dec 15, 2014 7:47 pm


]]>
2014-12-10T17:20:18+08:00 2014-12-10T17:20:18+08:00 https://bbs.espressif.com:443/viewtopic.php?t=77&p=266#p266 <![CDATA[SPI Slave]]> Thanks for making such a great chip! I'm interested in using it as an SPI slave and have a few questions:

- first, is this possible? I think it is but the docs don't go into much detail
- which pins does it use? Is it the same as the SPI master pins or does it clash with the flash communication pins?
- how do I enable it in the firmware?

Any information will be gratefully received!
Thanks,
Ben

Statistics: Posted by bjpirt — Wed Dec 10, 2014 5:20 pm


]]>