Electronic Components Datasheet Search
  English  ▼

X  

ESP8266 Datasheet(PDF) 27 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) 27 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.

Back Button 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. ESP8266 Datasheet HTML 28Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 29Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 30Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 31Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. Next Button
Zoom Inzoom in Zoom Outzoom out
 27 / 117 page
background image
!
3. SPI Compatibility Mode User Guide
be discarded by the ESP8266 SDIO module. Therefore, when sending packets, addr is
related to the actual length of the effective data.
4. int sif_spi_read_bytes(u32 addr,u8* dst,u16 count,u8 func)
Function:
The SDIO byte mode reads the API; encapsulate the read function of the CMD53 byte
mode. It can process the register or the packets. According to the SDIO protocol, the
maximum data length is 512 Bytes.
Location:
port_spi.c. Called by SdioRW in egl_thread.c.
Parameters:
dst: starting address of the receiving buffer
count: length of the packet to be received (unit: Byte)
func: function number. It is 0 for communication of block_size in the block mode used to
read the SDIO CMD53, and 1 for all other communications.
addr: starting address of the data to be read. If you want to operate the register, input the
corresponding address. For example, 0x20, the SDIO status register. If you want to operate
the packets, input a value that equals 0x1f800 - tx_length, and 0x1f800 - tx_length
equals count. If count > tx_length, the SPI host will send packets of count length. But
data between tx_length + 1 and count will be discarded by the ESP8266 SDIO
module. Therefore, when sending packets, addr is related to the actual length of the
effective data.
5. int sif_spi_write_blocks(u32 addr, u8 * src, u16 count,u16
block_size)
Function:
Write the SDIO block mode into the API; encapsulate the write-in function of the CMD53
byte mode. It can only transport the packets, According to the SDIO protocol, the
maximum data length is 512 blocks.
Location:
port_spi.c. Called by dioRW in egl_thread.c and sif_io_sync used by the
program downloader in
esp_main_sim.c.
Parameters:
src: starting address of the packet to be sent.
count: length of the packet to be sent (unit: block)
block_size: the number of bytes in 1 block. It should be equal to the 16 bit value whose
func=0, and whose addr=0x110-111. In general, when initialising the SDIO, block_size of
the ESP8266 SDIO should be configured. The starting value of DEMO is 512. During the
operation, it is configured to be 1024. block_size should be an integer multiple of 4.
Espressif
! /!
19 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