Electronic Components Datasheet Search
  English  ▼

X  

ESP8266 Datasheet(PDF) 23 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.

Part # ESP8266
Description  General Purpose Input/Output Interface (GPIO)
PDF  117 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ESPRESSIF [ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.]
Direct Link  https://www.espressif.com/
Logo ESPRESSIF - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.

ESP8266 Datasheet(HTML) 23 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.

Back Button ESP8266 Datasheet HTML 19Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 20Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 21Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 22Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 23Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 24Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 25Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 26Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 27Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 117 page
background image
!
3. SPI Compatibility Mode User Guide
SPI_MOSI
->
5
SDIO_CMD
SPI_MISO
->
3
SDIO_DAT0
IRQ
->
2
SDIO_DAT1
The ESP_IOT reference board: change the jumper MTD0 to 1 (short the 2 pins below),
GPIO0, GPIO2 random (1, x, x is the SDIO starting mode), CHIP_PD:ON (flip the switch
downward). Keep jumper J66 connected to the 2 pins on the left, and jumper J67
connected to the 2 pins on the right.
Connect the 5V power adapter to the ESP_IOT reference board and the Red Dragon demo
board. Turn on the demoboard power, download the compiled programs mentioned in
Section 2.2 to STM32 in the IAR environment. Start the STM32 program, and turn on the
ESP_IOT reference board power. the STM32 will write the starting program into the
ESP8266, and after several seconds, it will automatically run the SDIO to return to the
testing program.
3.3. ESP8266 Software Instruction
3.3.1. Protocol Principle: SDIO Line Breakage and SDIO Status Register
In the SDIO SPI compatibility mode, pin SD_DATA1 of the ESP8266 is used as the interrupt
line to send signals to the SPI host, and the signals are active low. When the ESP8266
SDIO status register is upgraded by software, the interrupt line will change from active high
to active low. The host should write in data to resume the active high through SDIO. (to be
specific, the host should write 1 into register with the address 0x30 through CMD53 or
CMD52 command in order to resume the active high of the interrupt line.)
the SDIO status register is 32 bits, it is revised by ESP8266 software, and it can be read by
the host through CMD53 or CMD52 command. The address is 0x20-0x23. The data
structure is shown as below:
struct sdio_slave_status_element
{
u32 wr_busy:1;
u32 rd_empty :1;
u32 comm_cnt :3;
u32 intr_no :3;
u32 rx_length:16;
u32 res:8;
};
To be specific:
•
wr_busy, bit 0: 1, write buffer of the slave is full, and the ESP8266 is processing data
from the host; 0, write buffer is empty, users can write data into the buffer.
Espressif
! /!
15 104
2017.05



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com