SPI Slave
SPI Slave
Postby bjpirt » Wed Dec 10, 2014 5:20 pm
Hello,
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
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
-
- Posts: 140
- Joined: Mon Oct 27, 2014 10:40 am
Re: SPI Slave
Postby Espressif_Kelly » Mon Dec 15, 2014 7:47 pm
Dear Sir,
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.
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.
Re: SPI Slave
Postby bjpirt » Mon Dec 15, 2014 8:58 pm
Kelly,
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
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
Re: SPI Slave
Postby O2addict » Fri Jan 30, 2015 10:58 pm
I would like to use the SPI interface to enable this to connect to a CanBus, and trasnmit the PGNs from a server over Wifi. Who can I discuss this with, and see what we can do with the development of the firmware?
Who is online
Users browsing this forum: No registered users and 12 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.