Data Sheet
Table Of Contents
- Overview
- Wi-Fi Key Features
- Specifications
- Applications
- CPU, Memory, and Flash
- Clock
- Radio
- Wi-Fi
- Power Management
- General Purpose Input/Output Interface (GPIO)
- Secure Digital Input/Output Interface (SDIO)
- Serial Peripheral Interface (SPI/HSPI)
- I2C Interface
- I2S Interface
- Universal Asynchronous Receiver Transmitter (UART)
- Pulse-Width Modulation (PWM)
- IR Remote Control
- ADC (Analog-to-Digital Converter)
- Electrical Characteristics
- RF Power Consumption
- Wi-Fi Radio Characteristics
- Must-Read Documents
- Must-Have Resources
$
4. Peripheral Interface
4.3. Serial Peripheral Interface (SPI/HSPI)
ESP8266EX has two SPIs.
• One general Slave/Master SPI
•
One general Slave/Master HSPI
Functions of all these pins can be implemented via hardware.
4.3.1. General SPI (Master/Slave)
4.3.2. HSPI (Master/Slave)
Table 4-2. Pin Definitions of SPIs
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
U0TXD
26
IO1
SPICS1
GPIO0
15
IO0
SPICS2
SDIO_CMD
20
IO11
SPICS0
📖 Note:
SPI mode can be implemented via software programming. The clock frequency is 80 MHz at maximum
when working as a master, 20 MHz at maximum when working as a slave.
Table 4-3. Pin Definitions of HSPI
Pin Name
Pin Num
IO
Function Name
MTMS
9
IO14
HSPICLK
MTDI
10
IO12
HSPIQ/MISO
MTCK
12
IO13
HSPID/MOSI
MTDO
13
IO15
HPSICS
📖 Note:
SPI mode can be implemented via software programming. The clock frequency is 20 MHz at maximum.
Espressif
$ /$ 14 26
Submit Documentation Feedback
2020.10